Running npx add-nx-to-monorepo returns Cannot find module '@nrwl/workspace/src/utilities/output'
See original GitHub issueCurrent Behavior
Running npx add-nx-to-monorepo returns Cannot find module ‘@nrwl/workspace/src/utilities/output’
Expected Behavior
Install Nx with Cloud
Steps to Reproduce
run npx add-nx-to-monorepo
Failure Logs
Environment
can’t run nx report
it says command nx
not found
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Monorepo – Yarn workspaces Typescript Node.JS project
To run the nodejs project locally, we run the following script: tsc --build && rollup -c && nodemon --inspect --watch ./ --watch ../../packages ......
Read more >Internal Packages - Turborepo
External packages run their files through a bundler before ... Cannot find module 'math-helpers' or its corresponding type declarations.
Read more >TypeScript Monorepos with Yarn - Semaphore CI
A tutorial showing how to configure TypeScript to work in a monorepo and building everything with CI/CD.
Read more >Monorepo Setup with NPM and TypeScript - In Plain English
A: Just delete the node_modules folder and retry to install the package from the monorepo root. No workspaces found #. Q: I cannot...
Read more >Things I wish I had known when I started JavaScript monorepo ...
During the install (running npm i), if a local path is a directory containing a package.json file, the npm reads it's dependencies (ignores ......
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
For information, I “fixed” this by adding the
@nrwl/workspace
to my root package.json.yarn add -D @nrwl/workspace
Now I’m able to connect to the cloud.We have removed the last few straggler references to @nrwl/workspace and @nrwl/nx-cloud should now work properly with workspaces that only contain the
nx
package. This includes theinit
generator.Closing this issue, updating to latest should resolve issues for anyone who finds this issue in the future.