angularjs-realworld-example-app
angularjs-realworld-example-app copied to clipboard
ReferenceError: primordials is not defined
when use gulp I got the below error
ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (C:\Users\Sávio Oliveira\Downloads\Compressed\angularjs-realworld-example-app-master\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\Sávio Oliveira\Downloads\Compressed\angularjs-realworld-example-app-master\node_modules\natives\index.js:55:10)
at Object.
gulp -v CLI version: 2.2.0 Local version: 3.9.0
how can i fix the error
Hi, I encountered the same error today. Googling pointed me to this SO thread: https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node
Downgrading Node to version 8 made it work for me. (Version 8 was a hunch, I'm not sure which highest version works, maybe 10 might work as well, I'd stay with even versions, since those are stable Node versions)