-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
pnpm: could not install dependency packages at project root #96
Labels
Comments
sure, PRs are welcome! 👍 |
@aladdin-add thx! |
@aladdin-add I submitted PR of this issue, if you could permission to review, could you do that? |
Oops! It looks like we lost track of this issue. What do we want to do here? This issue will auto-close in 7 days without an update. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
What is happening
After selecting options, when I choosed package manager pnpm at project root and tried to instal packages, pnpm throw errors below.
Solution
pnpm workspace is enabled by
pnpm-workspace.yaml
existence.reference: https://pnpm.io/ja/workspaces
I think these two steps below can solve this issue.
findPnpmWorkspaceYaml
likefindPackageJson
inlib/npm-utils.js
workspaceFlag
and pass-w
to spawn ininstallSyncSaveDev
inlib/npm-utils.js
reference: https://github.com/eslint/create-config/blob/main/lib/utils/npm-utils.js
Could I create this solution's draft PR?
The text was updated successfully, but these errors were encountered: