You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building the project with @nx/webpack:webpack executor and "generatePackageJson": true option error is thrown:
Expected Behavior
No error is thrown
GitHub Repo
No response
Steps to Reproduce
Nx Report
$ /Users/pavelvorona/Projects/DappBack/dappback/node_modules/.bin/nx report
> NX Falling back to ts-node forlocal typescript execution. This may be a little slower.
- To fix this, ensure @swc-node/register and @swc/core have been installed
> NX Report complete - copy this into the issue template
Node : 18.16.0
OS : darwin arm64
yarn : 1.22.19
Hasher : Native
nx : 16.3.2
@nx/js : 16.3.2
@nx/jest : 16.3.2
@nx/linter : 16.3.2
@nx/workspace : 16.3.2
@nx/devkit : 16.3.2
@nx/eslint-plugin : 16.3.2
@nx/node : 16.4.0
@nx/react : 16.3.2
@nrwl/tao : 16.3.2
@nx/vite : 16.3.2
@nx/web : 16.3.2
@nx/webpack : 16.3.2
typescript : 5.0.4
---------------------------------------
Local workspace plugins:
@dappback/common-client
@dappback/common
---------------------------------------
The following packages should match the installed version of nx
- @nx/[email protected]
- @nrwl/[email protected]
To fix this, run `nx migrate [email protected]`
✨ Done in 1.08s.
Failure Logs
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
I added debug logs to yarn-parser.js:244:47 to see what causes the error and it looks like the package string-width-cjs is not available in the existingKeys map. Listing out all the keys shows that there is a key string-width (without -cjs postfix).
Running npm ls shows that firebase-tools depend on this package.
A lot of other packages depend on string-width (without -cjs)
The text was updated successfully, but these errors were encountered:
Current Behavior
When building the project with
@nx/webpack:webpack
executor and"generatePackageJson": true
option error is thrown:Expected Behavior
No error is thrown
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Operating System
Additional Information
I added debug logs to
yarn-parser.js:244:47
to see what causes the error and it looks like the packagestring-width-cjs
is not available in theexistingKeys
map. Listing out all the keys shows that there is a keystring-width
(without-cjs
postfix).Running
npm ls
shows thatfirebase-tools
depend on this package.A lot of other packages depend on
string-width
(without-cjs
)The text was updated successfully, but these errors were encountered: