Open ivanjeremic opened 11 months ago
I couldn't reproduce with a test repository that uses npm workspaces:
Can you provide more details or a sample project that could help here?
I am on WSL2 and tried pnpm & npm both same error.
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks.
I recently experienced the same issue. Here is an example repository along with instructions to recreate this: https://github.com/brettsmason/gutenberg-issue-56059
Also tagging @ryanwelcher as we briefly discussed on Slack.
Description
The create block package/install script does not work inside npm workspaces.
npx @wordpress/create-block@latest
does not work if I have an npm workspace and want to install it under/packages
Step-by-step reproduction instructions
/packages
folder@wordpress/create-block@latest
inside/packages
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes