Created
August 4, 2020 12:11
-
-
Save sarvar/186699fa5238bd640a1e750ce98be43c to your computer and use it in GitHub Desktop.
How to fix "ReferenceError: primordials is not defined" error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the same directory where you have package.json create an npm-shrinkwrap.json file with the following contents: | |
{ | |
"dependencies": { | |
"graceful-fs": { | |
"version": "4.2.2" | |
} | |
} | |
} | |
Run npm install, and don't worry, it'll update npm-shrinkwrap.json with a bunch of content. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment