Comments (7)
@AronHoxha there's a legit issue for which I created a PR, but note that Angular versions lower than 15 are not supported. From the failure logs you shared, you seem to be using Angular 13.3.11, which is not a supported version.
from nx.
esbuild was introduced in angular 16 and the flag you're trying to use in 16.1, there's nothing NX can do about that. Upgrade your angular version.
You should always upgrade nx with nx migrate <version>
, this will upgrade and migrate angular with it. https://nx.dev/features/automate-updating-dependencies
Here's the version matrix: https://nx.dev/nx-api/angular/documents/angular-nx-version-matrix
from nx.
esbuild was introduced in angular 16 and the flag you're trying to use in 16.1, there's nothing NX can do about that. Upgrade your angular version.
As it is in our project we can't migrate the angular version as of right now.
We don't want to use esBuild for our dev-server, but it's impossible to use the dev-server even with foreceEsbuild: false
since it still fails.
Can't the default value of forceEsbuild be undefined, so that nx is compatible angular versions <16?
Thank you for sharing the compatibility matrix!
from nx.
esbuild was introduced in angular 16 and the flag you're trying to use in 16.1, there's nothing NX can do about that. Upgrade your angular version.
As it is in our project we can't migrate the angular version as of right now.
We don't want to use esBuild for our dev-server, but it's impossible to use the dev-server even with
foreceEsbuild: false
since it still fails.Can't the default value of forceEsbuild be undefined, so that nx is compatible angular versions <16?
Thank you for sharing the compatibility matrix!
What happens if you do not specify forceEsbuild in your conf at all?
from nx.
What happens if you do not specify forceEsbuild in your conf at all?
The same error
from nx.
What happens if you do not specify forceEsbuild in your conf at all?
Note: manually remove the following line from node_modules, successfully serves the app. Not sure if it breaks using NX with higher versions of angular
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)
- Project Crystal: Using a custom plugin causes the jest plugin to crash HOT 2
- nx.bat prints out its entire contents when it's run
- `npx nx@latest init` fails on Windows when installing `nx/gradle` plugin
- Memory issues building multiple Angular apps with NX on bitbucket pipelines
- Yarn installation error on `create-nx-workspace` and Expo setup due to `peer dependencies are incorrectly met` HOT 3
- Cache not invalidated by previous targets (dependsOn)
- @nx/esbuild:esbuild with `"declaration": true` always executes from $PWD HOT 1
- nx/plugin e2e throws ENOENT out of the box
- Project are not affected when files from default namedInput are touched
- Incorrect serve command in README.md when initializing a fresh React (Remix) project
- Cannot prebuild Expo app with brand new nx monorepo because Gradle `expo-modules-core` HOT 3
- "An error occured while creating pruned lockfile"
- Nx CLI is very slow when local plugins implement `createNodes` HOT 2
- [React] [Weback] Cannot run tasks after generated app with webpack and move to nx-enhance
- Getting error Cannot use import statement outside a module in storybook.main after upgrade to v19.1.1 HOT 3
- [Error] Migrate no-extra-semi rules into user config, out of nx extendable configs
- React native storybook issue
- [NodeJS executor] Compatibility with non-directory build outputs definition
- Windows: descriptions breaks the Generate UI
- Usage of ungh.cc is not documented and potential security issue
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.