I’m using the latest nodejs 8.9.0, npm 5.5.1 and aurelia-cli 0.32.0.
I have a number of questions:
Where can you see the version numbers of the core aurelia apps (aurelia-framework, aurelia-router etc)? I looked through
package.jsonand there are no references to these packages. Neither can I find any references in
npm ls aurelia-bindingI can see the version number which is
1.2.2(the app was created some months ago). However, I know that the latest version is
1.5.4, so I ran
npm install, and the version remained at
I deleted the node-modules folder and then ran
npm installagain, expecting it to pull in the latest versions, but they remain as previously -
I then created a brand new project using
au new --hereand the correct latest versions were installed.
This is all very confusing. Obviously there is some kind of “hidden” `package.json" somewhere.
… some time later …
After a bit more research, I see that the problem is that
package-json.lock is what is causing the problem. So what is the best practice for updating aurelia using npm?
I would appreciate any help.