-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install OpenZeppelin #532
Comments
Hi, { After replacing,run :- npm install zeppelin-solidity |
Hey @eduinvestor
cd ~/Desktop
mkdir openZeppelinSetup && cd openZeppelinSetup
npm init
npm install --save zeppelin-solidity truffle
Cheers! |
Still no luck with both suggestion, could it be related with Truffles new version, I am on: Truffle v4.0.1 (core: 4.0.1) And my errors: npm WARN kenoleon@1.0.0 No description Do I need to init Nom if so what are the correct fields ? Thanks |
So after playing around I found the package in my local node_modules which I think is the expected behavior,( still have to include them in a test) although the docs state "After that, you’ll get all the library’s contracts in the contracts/zeppelin folder" which I think is a bit misleading since it could refer to the initialized truffle dir. |
New errors not finding contracts now... about to chew my arm in desperation ! Just kidding, in the end this is what worked, still not sure this is the intended behavior, and the docs seems to need a bit of updating or maybe even rewriting cause they were not very clear (to me at least) , anyways: Following this issue worked or me: #409 So to install:
This creates a node_modules inside poneteLasPilasProject with contracts, to access them within Truffle, ( the path in the docs is I believe incorrect):
Cheers. |
@KenoLeon you can access them with just In general, it sounds like your node environment is a little wonky. It might be worth looking into nvm or some other node environment manager to isolate project environments (and you generally want to avoid The warnings about "no repository field" and "no description" aren't important; those are commenting on the fact that your @eduinvestor did the following comments solve your issue? |
❤️ Closing as this seems to be solved. |
I have installed Truffle, but I cannot install the OpenZeppelin library.
I run "npm install zeppelin-solidity" in the console but I get this:
After that I created the folder C:Users/Pablo/package.json but now I get this
What can I do?
The text was updated successfully, but these errors were encountered: