-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 (Not Found) (http://localhost:3000/node_modules/ng2-bootstrap/ng2-bootstrap) #1035
Comments
Ok I got it. Adding the
to the packages list in systemjs.config got rid of that error. With the new release candidates systemjs.config changes a lot which has caused me headaches in the past. Now I am getting a 404 with moment which I will try and figure out |
I would use @types/moment: #1020 |
@Martin-Wegner Can you please elaborate a little more? Where do I make that change if I am using a systemjs configuration. Currently I have this in my systemjs.config file...
and adding moment to the packages list like
is not fixing the issue either. |
@types/moment is a packages.json dependency and you don't need to use the typings command anymore to install the moments typings and also no need for the typings.json anymore if you move all typings from this file to the related @types dependencies... I don't know systemjs, sorry :( |
@quiringk does it work for you? Can I close this issue? |
Yeah, to get the 404 moment error to go away with the current systemjs configuration I changed the line from
to
You can close the issue |
I am upgrading from RC4 to 2.0.0 final. After fixing all the errors in my application, the only left is with ng2-bootstrap and these two lines.
Here is my app.module.ts file:
I initially changed all my ng2-bootstrap import statements in my components from Component -> Module. But with Ng2BootstrapModule imported in app.module.ts, do I even need import statements in child components where I use ng2-bootstrap components? I feel like I am reading conflicting statements and am unsure how get rid of this error.
The text was updated successfully, but these errors were encountered: