How to fix ReferenceError: primordials is not defined in node code example
Example 1: ReferenceError: primordials is not defined
npm install -g n
sudo n 11.15.0
npm install gulp@^3.9.1
npm install
npm rebuild node-sass
Example 2: ReferenceError: primordials is not defined
{
"dependencies": {
"graceful-fs": {
"version": "4.2.2"
}
}
}
Example 3: npm shrinkwrap primordials
{
"dependencies": {
"graceful-fs": {
"version": "4.2.2"
}
}
}