Comments (8)
Redirecting to the nx documentation seems counter-intuitive if the project does not use nx at all.
from angular-eslint.
I'm going to close this one, if following the above instructions has not solved the issue for you please open an issue on the Nx repo
from angular-eslint.
Same issue with our project which is not using NX.
@JamesHenry Why is it required to use NX and follow NX guidelines for this project?
None of the options that @loetscher provided work for me, when I run npm ci --omit optional
.
from angular-eslint.
Please kindly follow the guidance here:
https://nx.dev/recipes/troubleshooting/troubleshoot-nx-install-issues#native-modules
from angular-eslint.
Same issue here.
- Downgrade from
@angular-eslint/[email protected]
to@angular-eslint/[email protected]
fixed the issue as already mentioned - Upgrade from
@angular-eslint/[email protected]
to@angular-eslint/[email protected]
fixed the issue as well
from angular-eslint.
Same issue and symptoms here, reverting to 17.0.0 fixes the issue.
npm ERR! path /home/vsts/work/1/s/node_modules/nx
npm ERR! command failed
npm ERR! command sh -c node ./bin/post-install
npm ERR! /home/vsts/work/1/s/node_modules/nx/src/native/index.js:244
npm ERR! throw loadError
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module '@nx/nx-linux-x64-gnu'
npm ERR! Require stack:
npm ERR! - /home/vsts/work/1/s/node_modules/nx/src/native/index.js
npm ERR! - /home/vsts/work/1/s/node_modules/nx/src/hasher/task-hasher.js
npm ERR! - /home/vsts/work/1/s/node_modules/nx/src/tasks-runner/run-command.js
npm ERR! - /home/vsts/work/1/s/node_modules/nx/src/nx-cloud/utilities/get-cloud-options.js
npm ERR! - /home/vsts/work/1/s/node_modules/nx/bin/post-install.js
npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
npm ERR! at Module._load (node:internal/modules/cjs/loader:985:27)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1235:19)
npm ERR! at require (node:internal/modules/helpers:176:18)
npm ERR! at Object.<anonymous> (/home/vsts/work/1/s/node_modules/nx/src/native/index.js:184:31)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1376:14)
npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:1207:32)
npm ERR! at Module._load (node:internal/modules/cjs/loader:1023:12)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1235:19) {
npm ERR! code: 'MODULE_NOT_FOUND',
npm ERR! requireStack: [
npm ERR! '/home/vsts/work/1/s/node_modules/nx/src/native/index.js',
npm ERR! '/home/vsts/work/1/s/node_modules/nx/src/hasher/task-hasher.js',
npm ERR! '/home/vsts/work/1/s/node_modules/nx/src/tasks-runner/run-command.js',
npm ERR! '/home/vsts/work/1/s/node_modules/nx/src/nx-cloud/utilities/get-cloud-options.js',
npm ERR! '/home/vsts/work/1/s/node_modules/nx/bin/post-install.js'
npm ERR! ]
npm ERR! }
We are not using nx in our project.
from angular-eslint.
Is there a version 16 without the NX dependency? I'm not using NX and this is causing CI issues.
from angular-eslint.
Same issue here.
- Downgrade from
@angular-eslint/[email protected]
to@angular-eslint/[email protected]
fixed the issue as already mentioned- Upgrade from
@angular-eslint/[email protected]
to@angular-eslint/[email protected]
fixed the issue as well
Thank you for your comment @loetscher.
I had to downgrade to 17.0.0
. 17.3.0
did not work for me.
from angular-eslint.
Related Issues (20)
- [consistent-type-imports] new rule request
- [developer-preview] New rule to avoid dev preview HOT 1
- latest 16.x @angular-eslint/builder incompatible with eslint 8.56: "Unknown options: reportUnusedDisableDirectives" HOT 2
- [no-input-rename] support signal input/model
- [attributes-order] Fixer mangles code when valueless structural directives are present in final position. HOT 4
- [@typescript-eslint/array-type] Definition for rule '@typescript-eslint/array-type' was not found HOT 3
- Error: The `convert-tslint-to-eslint` schematic is no longer supported. HOT 3
- [attributes-order] angular input binding without brackets considered as attribute binding HOT 1
- [no-attributes-combination] new rule request
- [@angular-eslint/template/attributes-order] doc is missing the info what is default for `alphabetical` HOT 1
- Error in Angular-ESLint Integration: Unique Name Issue in Monorepo Project HOT 4
- [no-signal-compare?] new rule request to prevent comparing signals via < or > HOT 2
- Is there a linting role for detecting duplicated imports? HOT 4
- eslint v9.0.0 compatibility HOT 6
- [label-has-associated-control] ids in the for attribute are not checked for existence HOT 1
- @angular-eslint/builder references [email protected] which has CVE-2023-29827 HOT 2
- [@angular-eslint/schematics] skip-install ignored
- Unexpected 9MB binary produced from `@angular-eslint/schematics`: `.nx/cache/18.3.3-nx.linux-x64-gnu.node` HOT 25
- [prefer-output-readonly] stops working HOT 1
- [@angular-eslint/template/attributes-order] Autofix produces invalid HTML with structural directives (*foo) HOT 1
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 angular-eslint.