![npm install from github not compiling npm install from github not compiling](https://appcircle.io/wp-content/uploads/2020/06/React-Native-Build-Workflow-Appcircle.png)
In this case you install without the '-g' flag and call: `$. In the case all this does not work it is also possible to install truffle locally in your project. Example: Let the local-dir is the local directory and project-dir is the project directory and localmodule is the local module package you want to install, first go to the local-dir and type npm. You will be asked for your Apple Developer Login during the install process.Įnsure that all node dependencies have been updated: Go to the project directory where you want to install the local module and enter this command. To install on macOS you should have a working C/C++ compiler installed and usually the global installation needs root rights, so use sudo.ĭepending on your current OS version (the best is to install newest version). Should i manually try and find the truffle executable file or sthing? Truffle also seems to be installed in my hard drive (as you can see at the screenshot bellow), even though when i check at the terminal if its installed, or try to call a command, i get that " command not found: truffle":ĮDIT#2342 (excuse me for this btw) i checked and truffle is NOT in my path (screenshot bellow). I googled it and tried a few instructions that put that directory in my path, but nothing changed.
NPM INSTALL FROM GITHUB NOT COMPILING HOW TO
Save my life please.Įdit: someone told me to check if /Users/aris/.npm-global/bin is in my path, but i have no idea how to do it.
![npm install from github not compiling npm install from github not compiling](https://forum.stacks.org/uploads/default/original/2X/9/9dc2c2ea9ee4941760ae8c5406759be4b7ca6d55.png)
I have been looking for an answer for HOURS, and nothing works. The latest npm and node installations were done from their website (pkg files), not brew, because i do not know how to NOT install the latest versions with brew. I read online that truffle does not support node v13, so i uninstalled the one i had (v15 or sthing) and switched to version 12.21.1.