I had a project that I started using
aurelia-cli 1.3.1 (I don’t know what that means in terms of the framework version). I think I was using
node 10.3.0 and
npm 6.1.0 at the time. Everything compiled and worked just fine.
Recently, I started a new project. Prior to this project, I decided to upgrade the aurelia-cli as well as node/npm. So, I’ve now got
node 16.5.0 and
npm 7.20.3. The new project works great.
However, I now need to go back and make some changes to my older project.
au build gives me the following error message:
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
Checking my versions in the project directory yields:
au -v : Local aurelia-cli v.1.3.1
node -v : v16.5.0
npm -v : v7.23.3
If I use Node Version Manager to switch back to node 10.3.0 and try
au build, I then get a message:
You are running Node.js v10.3.0
aurelia-cli requires Node.js v10.12.0 or above
Please upgrade to latest Node.js https://nodejs.org
So, I installed
node 12.0.0 and ran
au -v only to get
‘au’ is not recognized as an internal or external command.
If I change my node version to
node 16.5.0 or
node 10.3.0 then
au -v works – but I still cannot build my old project.
What do I do now?