-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Module not found: Can't resolve '@project/contracts' #116
Comments
Hey @kkagill, the issue is that you changed the name of your By default, the name is You can read about how yarn workspaces work here. |
@PaulRBerg Thanks for the reply. FYI, it was the fresh copy and nothing was changed. I guess it's windows related problem :( |
Oh, shoot! Reopening now. Can you share the following information?
Also:
|
Hi @PaulRBerg Windows 10 Pro
|
Thanks for the info! Will investigate further. |
Was able to fix this, a bunch of different steps, and you kind of have to keep solving bugs as you go down. Mine might not solve @kkagill 's issue, but it might help. Also, try and run I am using the vue template, and yarn 2. The vue-cli is not completely compatible with yarn 2 so there are some issues that have to be resolved. I added the following to
You will still run into npm issues from vue-cli, so you'll have to go into the |
Is there a solution for this? Just installed the react default template and it throws the same errors on |
@refex does it work if you |
Thank you for awesome repo!
ran
yarn react-app:start
and it gave meSeems like import statement
import { addresses, abis } from "@project/contracts";
inApp.js
doesn't not recognize files incontracts
folder.Researched a bit, and says there's import restriction outside of src directory.
Not sure if it works for others :(
I'm using windows 10
vs code
node.js version 12
The text was updated successfully, but these errors were encountered: