Created
July 29, 2021 15:56
-
-
Save felipekm/784d4fbdf950b5882b96086ff233e9d5 to your computer and use it in GitHub Desktop.
Fixes sharp npm package installation
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
# inside your project folder creates the node_modules with sudo and give it permission | |
sudo mkdir node_modules/ | |
sudo chmod 777 node_modules/ | |
# now you can install the dependencies with no need of '--unsafe-perm' or '--allow-root' | |
sudo npm i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment