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)
- Inaccurate and misleading error message for misconfigured parserOptions.project in nx >=17.2.x
- The package.json lists a version of typescript that Nx is unable to validate
- Nx serve not loading .env variable changes with monorepo format (Vite/Vue) HOT 2
- running @nx/angular:ng-packagr-lite from a subdirectory doesn't work
- @nx/dependency-checks should not trigger for type-only imports
- @nx/expo with expo-router 3 crashes with native module
- Unexpected cache behavior (unexpected hits and unexpected outputs) after renaming file
- `externalNodes` incorrectly populated on `pnpm@^9` HOT 1
- missaligned padding for terminal output with failed tasks HOT 1
- Cannot find configuration for task @nx/nx-source:test HOT 2
- Using remark-gfm in generated storybook causes @nx/storybook/plugin to fail
- ReferenceError: jest is not defined on a newly created project HOT 3
- npx nx show projects --affected - Show which files/why it's being triggered HOT 1
- Where Do Incremental Builds Currently Stand? HOT 3
- Inconsistent executors' schema validation
- Nx failed to create new workspace HOT 1
- ----frontendProject param doesn't work as expected HOT 1
- `nx serve` builds, starts server, tells me its hosted and ready, then just exits HOT 5
- Build nextJS app issue - Cannot read properties of null (reading 'message') HOT 2
- generatePackageJson does not include date-fns if there are only slash imports HOT 2
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.