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
aurelia cli does not run after installing dependency from npm #826
Comments
I am experiencing the exact same thing with the Contact Manager tutorial application. Everything was working fine until I ran |
Update 1I flipped the installation order and installed jquery before bootstrap. I also just installed jquery instead of specifying jquery@^2.2.4. This got the subsequent However, errors in the browser console suggest Aurelia cannot load the bootstrap CSS file from the require statement in app.html. I eventually commented it out, and later replaced it with |
so, any update on this other than doing tweaks? |
See what I explored here: https://twitter.com/chaluwa/status/966611908274130950 |
But the point is tutorial itself is breaking if following official docs (I mean it does not work until if we tweak and trick things out). Btw I have not came across other tutorials for aurelia other than what is mentioned in docs, if anyone here plz do share. |
@monis01 I think this will be helpful https://www.youtube.com/channel/UCtWxbsaQzLIHR3Jl-Q0ZlmA |
for some reason it seems to uninstall aurelia-cli from your node_modules after installing bootstrap, but we'd have to debug it further. I wonder if this has anything to do with the package-lock.json file that NPM creates |
There is a lot of bad rep for recent versions of npm. Like kining the production servers and such. |
@monis01 @JeroenVinke This is a npm 5.6.0 problem and it should be fixed with the recent 5.7.1. Maybe update the docs to explicitly mention this because lots of people will probably still be running 5.6.0 for a while.. |
CLI has been updated |
I'd think so, because this is an issue with the NPM version installed on your machine, not the version that the CLI uses internally i've added this to the docs PR here: #747 |
I'm submitting a bug report
0.32.0
Please tell us about your environment:
Operating System:
Linux (Ubuntu 16.04)
Node Version:
8.6.0
NPM Version:
5.6.0
Language:
ESNext
Current behavior:
(I am following the contact manager example from the contact-manager )
All working good til the point I got
plugin.load
error, after little debugging found out bootstrap is not present innode_modules
. So I stopped the application andnpm install bootstrap
worked fine but when I am doingau run --watch
it does not run the server instead it shows me the screen when we normally do justau
After installing any dependency it should run the application
PS: I am new to Aurelia and coming from AngularJS background
Thanks
The text was updated successfully, but these errors were encountered: