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
npm install
fails after cloning a repo
#780
Comments
Running the contents of the Using the globally installed The problem seems to be that lerna seems to try to run |
After some more investigation, this is a bug in When npm tries to symlink the Interestingly, the problem is a bit deeper than that. I can change the This would suggest that npm is still broken because it tries to run the I wasn't able to make a clean reproduction of this in a new repo to report to the npm team though. I might try again later on. The simplest workaround for all of this for now would be to opt out of npm workspaces altogether by just deleting the:
in our root @luisherranz You have added the npm workspaces to our main package.json file - is there some reason that I don't see for using them? |
I added them so Changesets don't support lerna: changesets/changesets#130. Without it, it makes suggestions for all So it is not really required. We can remove it for now. I'll make a PR 🙂 |
ok nice! I think that |
Good to know 👍 🙂 |
Expected behavior
npm install
should succeedObserved behavior
npm fails with the following error:
Steps involved to reproduce the problem
git clone git@github.com:frontity/frontity.git cd frontity npm install
Info about your system
node version 15
npm version 7.6.0
Possible solution
not yet clear
The text was updated successfully, but these errors were encountered: