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
Failing build on fresh install: "package.json doesn't seem to have been installed" #190
Comments
I ma having the exact same issue: |
hitting same issue |
Thanks everyone for reporting! Unfortunately I have never ever managed to reproduce this issue, even if I have very similar environments as you guys do. Some help would be appreciated here. PRs welcome! |
try |
I am having exact same error right now on Windows. Any fix yet ? |
I just ran into this on AWS CodeBuild (for CI), so it was also on a fresh install of everything. I cannot replicate it locally. EDIT: I was able to replicate it locally by deleting all
✅ I resolved the issue by directly running my commands, instead of doing it through a Previously I had something like: // ...
"scripts": {
"ci:install": "yarn workspaces focus root @myScope/package1 @myScope/package2"
}
// ... And I was running the command |
To add onto my prior comment, I was able to confirm that the issue is: When This can be resolved by directly doing some sort of an install, without going through a Note that the docs say that My environment info:
Relevant parts of my nodeLinker: pnpm
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: '@yarnpkg/plugin-version'
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
|
Bug Description
Yarn throws the following error on fresh install:
What I've tried so far:
npm cache clean
rm -rf node_modules
yarn install
(exits 0)Steps to Reproduce
yarn create eth-app my-eth-app
Expected Behavior
It should build?
Additional Context
Add any other context about the problem here (screenshots, whether the bug only occurs only in certain
mobile/desktop/browser environments, etc.)
OS:
macOS 12.1 (Intel)
yarn:
3.1.0
node:
17.3.1
npm:
8.3.0
commit: 89a9f21
terminal:
iTerm2 3.4.14
user:
no permission issues
The text was updated successfully, but these errors were encountered: