Comments (4)
Have you used this script:
curl -fsSL https://raw.githubusercontent.com/nrwl/nx/master/packages/install/install.sh | bash -s myprojectname
Or yarn?
from nx.
Hi Victor,
The script works perfectly. I used npm to install packages globally and then tried to generate a new workspace and that's when I was getting that error. I guess npm has trouble with peerDependecies.
from nx.
Exactly! Global npm peer dependencies are problematic (basically broken).
You can use yarn
or the script, both of those should work.
Hans Larsen from the Angular team is working on making it easier, but there is nothing on the nx side we can do.
Closing this.
from nx.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
from nx.
Related Issues (20)
- Js release-version: topological ordering iterates all edges per node instead of only its own
- `nx release`: fails when executed outside the workspace root directory HOT 2
- TS doesn't generate *.d.ts files
- nx graph --affected --file=graph.json not working correctly HOT 2
- Nx reset required whenever changing project configuration files
- NPE on task runner
- NextJS Turbopack fails to compile
- `npm install` in a project with 2 `nx` packages randomly fails with `npm ERR! code 135` HOT 2
- Should `workspace-data` be .gitignored? HOT 2
- The typecheck target (@nx/js/typescript) adds excluded paths from tsconfig.base.json as invalid filesets (without `{workspaceRoot}`)
- NX 19.2 regression on `generatePackageJson`
- Module federation HMR on host
- NX EXPO QR NOT SHOWING HOT 1
- Bug in feedback modal input
- nx/expo not showing QR HOT 2
- `getProjects` is missing tags data for the root project
- Running @storybook/angular:start-storybook with Storybook 8 fails to load preset HOT 1
- Path for Eslint Flat config wrongly resolved
- nx > 17 does not pass through cli npm arguments HOT 2
- Prototype Pollution Affecting axios package, versions >=0.28.0 <1.6.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx.