Giter VIP home page Giter VIP logo

Comments (7)

jongunter avatar jongunter commented on July 19, 2024

Apparently downgrading to 0.1.16 (I was at 0.1.17) fixed the issue for me.

from in-memory-web-api.

wardbell avatar wardbell commented on July 19, 2024

There is no repro and no one else has reported this. Your solution is not something others should follow. Closing for lack of anything concrete to do.

from in-memory-web-api.

jongunter avatar jongunter commented on July 19, 2024

The most recent release (last night) fixed it for me. Thank you.

My problem occurred on using the Angular CLI (webpack) on Windows 8. I started with a fresh project, added in the exact sample code shown on the home page of the repo.

from in-memory-web-api.

nikoTM avatar nikoTM commented on July 19, 2024

Happens to at least 2 other people using [email protected] on windows and osx. Works fine on Linux for me.

from in-memory-web-api.

mmathys avatar mmathys commented on July 19, 2024

can confirm

from in-memory-web-api.

primaproxima avatar primaproxima commented on July 19, 2024

I also have this error using 1.1.17 of ng2-bootstrap.
angular 2.1.2

from in-memory-web-api.

azanebrain avatar azanebrain commented on July 19, 2024

I've found that this issue is caused by any number of packages expecting the version of Angular Core to be different than what is actually installed.

I was able to figure out the cause of this issue by looking at the error report from ng build:

npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.

This helped me realize that one of my packages expected Angular to be at v2.4.4, but I'm using v2.0.1. I updated my package.json to have both packages set to my core version like this:

"dependencies": {
    "@angular/core": "2.0.1",
    "@angular/platform-server": "2.0.1",
}

Your issue might not be with @angular/platform-server, but I hope this helps debug it

from in-memory-web-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.