-
Notifications
You must be signed in to change notification settings - Fork 67
Failed to Compile #85
Comments
I have been looking around and realized that:
Do I need to go reviewing all these errors? Are they going to end... is there a bigger hack that I`m missing here? |
I remembered that when I was installing [email protected], [email protected], @openzeppelin/[email protected] the command "ls" to two react directories was not accomplished (executed) (Running Windows...). |
This was the error I had in the very beginning: |
Hi @dimitrileite, Sorry to hear that you are having issues. You may want to look at using Windows Subsystem for Linux (WSL) https://docs.microsoft.com/en-us/windows/wsl/about I recommend for support questions to ask in the Community Forum: https://forum.openzeppelin.com/ so that the entire community can answer. Which starter kit were you using? At what point did you get the error: "ln -s ./lib/react ./react 'ln' is not recognized as an internal or external command". |
Hey @dimitrileite. Sorry to hear about your poor experience.
at Let me know how it goes! |
I'm sorry @yly-io for the late response back. I was on another project. I'll try what you said and get back to you soon. |
OpenZeppelin Network.js uses An alternative to using Windows Subsystem for Linux is to try installing with Git Bash terminal: OpenZeppelin/openzeppelin-network.js#26 (comment) I have created an Issue for OpenZeppelin Network.js to support Windows installation: OpenZeppelin/openzeppelin-network.js#27 |
Hi @ylv-io , I just encountered the same error while tracking Dapp's setup with GSN (https://docs.openzeppelin.com/learn/sending-gasless-transactions).
Output : Can you help me with this problem? |
Hm. Strange. Have you run |
Hi @hydris-bessa, @ylv-io I haven't had it myself, but community members occasionally report issues with the creation of the soft link (not just on Windows). |
Thank you @abcoathup and @ylv-io for your answer. I had to reinstall all the packages. |
After following these initial comands:
ganache-cli --deterministic (other terminal)
openzeppelin init
cd client npm run start
I got this: ( Using: Windows 10 OS / NodeJs Command Prompt / Node.js v12.10.0. / [email protected] / [email protected] / @openzeppelin/[email protected]).
Failed to compile.
./node_modules/@openzeppelin/network/react/useWeb3Hook.js
Module not found: Can't resolve '../context/Web3Context' in 'C:\Users\dimit\Projects\OpenZeppelinSDK\Starter\client\node_modules@openzeppelin\network\react'
Please help!
The text was updated successfully, but these errors were encountered: