npm ERR! This command does not support workspaces.
See original GitHub issueTesting out publishing a release package and running into this error.
� package-all » package:js | jsii-pacmak -v --target js
[jsii-pacmak] [INFO] Found 1 modules to package
[jsii-pacmak] [INFO] Packaging NPM bundles
[jsii-pacmak] [INFO] Loading jsii assemblies and translations
[jsii-pacmak] [INFO] Packaging 'js' for test_project
[jsii-pacmak] [INFO] js finished
[jsii-pacmak] [INFO] Packaged. load jsii (0.7s) | npm pack (0.4s) | js (0.0s) | cleanup (???)
� releaser » unbump | /home/ec2-user/.nvm/versions/node/v16.14.2/bin/node /home/ec2-user/environment/test_project/node_modules/projen/lib/release/reset-version.task.js
� releaser | npm set //npm.pkg.github.com/:_authToken $PACKAGER_TOKEN && npm publish
npm ERR! code ENOWORKSPACES
npm ERR! This command does not support workspaces.
npm -v
8.15.0
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
[BUG] npm owner does not support workspaces #4600 - GitHub
Current Behavior. running npm owner commands from within a workspace in a project logs the following error. npm ERR! code ENOWORKSPACES npm ERR!...
Read more >Npm workspaces - call workspace script from root package
I'm using NPM Workspaces and it's working well, but it's still missing a lot of features so you need to wire things up...
Read more >Workspaces - npm Docs
Workspaces is a generic term that refers to the set of features in the npm cli that provides support to managing multiple packages...
Read more >Getting "no workspace found" error and build is failing - Support
whenever i am initiating the build, it fails with and i see a “no workspace error found issue”, i have attached the log...
Read more >Advanced package manager features for npm, Yarn, and pnpm
Exploring workspaces, CI/CD install strategies, and alternative ... When using the default configuration, pnpm and Yarn Berry do not use the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No that’s not a projen thing at the moment. So likely an issue for
nx-monorepo
Saying that, I think
npm publish
needs to be called with--workspaces
or--workspace abc
to do something. Or maybe it’s just not yet supported.Opened an issue in the nx-monorepo for tracking this.