Reinstallation


#1

Hello everyone.
I had a problem with my computer and I lost it.
I have backup of the projects I had developed.
I want to reassemble the environment to use ionic 1 exactly as it was.
npm, corgova ionic etc … in the exact same version.
How can I do this? Any idea?
Thanks in advance.


#2

Hi @regissteigleder

You can install latest ionic cordova and NPM. It will not harm your code or your project. While running the ionic project you just not need to updated the CLI version of ionic existing project.


#3

Thank’s for your response addwebsolution.
I really apreciate that, but I install the latest version and I had this error:
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)
For more information on which environments are supported please see:
https:// github.com/sass/node-sass/releases/tag/v4.5.2
at module.exports (/Users/schreipa/.dev/espn-fivethirtyeight/node_modules/node-sass/lib/binding.js:13:13)
at Object. (/Users/schreipa/.dev/espn-fivethirtyeight/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:569:30)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at [eval]:1:100:

I think the problem is node.js.
Have you idea how I solve this?


#4

the problem is sass the compiler that compiles sass into plain css.
and make sure you use the LTS node version.


#5

try below command

npm rebuild node-sass

thanks


#6

Thank you all.
It’s all right now.
I reinstalled node, cordova and ionic as follow:
install node.js
install cordova: npm install -g cordova
install ionic: npm install -g ionic cordova
and as magic everything worked fine.
:slight_smile: