Remove NodeJS and reinstall it again by downloading or setting up the version you want to download / downgrade to. There's a other downloads link on the website.
May 7, 2016
2
Level 4
Downgrading NodeJS
Hey guys,
I'm using browserify in order to use the elixir vueify module with VueJS , and for some reason earlier I decided to upgrade node.js to the latest version. Needless to say I've broken gulp as it seems a few modules haven't caught up yet.
Can someone please explain the best way to downgrade node.js, and to what stable version.
For info this is the error I am now getting:
Error: Cannot find module '../modules/web.dom.iterable'
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/path/node_modules/laravel-elixir/node_modules/babelify/node_modules/babel-core/node_modules/babel-runtime/node_modules/core-js/library/fn/get-iterator.js:1:63)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
Much appreciated. :)
Level 26
i had this the other day updated to v6,then I used nvm (node version manager) to install the prior version back to 5.11.1
workde like a charm simple. https://github.com/creationix/nvm
nvm install 5.11.1
nvm use 5.11.1
1 like
Please or to participate in this conversation.