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.json
and there are no references to these packages. Neither can I find any references inaurelia-json
-
On running
npm ls aurelia-binding
I can see the version number which is1.2.2
(the app was created some months ago). However, I know that the latest version is1.5.4
, so I rannpm install
, and the version remained at1.2.2
. -
I deleted the node-modules folder and then ran
npm install
again, expecting it to pull in the latest versions, but they remain as previously -1.2.2
. -
I then created a brand new project using
au new --here
and 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.
Many thanks