GithubHelp home page GithubHelp logo

Comments (8)

whjvenyl avatar whjvenyl commented on June 10, 2024 8

Redirecting to the nx documentation seems counter-intuitive if the project does not use nx at all.

from angular-eslint.

JamesHenry avatar JamesHenry commented on June 10, 2024 5

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.

orestisioakeimidis avatar orestisioakeimidis commented on June 10, 2024 4

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.

JamesHenry avatar JamesHenry commented on June 10, 2024 2

Please kindly follow the guidance here:

https://nx.dev/recipes/troubleshooting/troubleshoot-nx-install-issues#native-modules

from angular-eslint.

loetscher avatar loetscher commented on June 10, 2024 2

Same issue here.

from angular-eslint.

Almamu avatar Almamu commented on June 10, 2024

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.

toxaq avatar toxaq commented on June 10, 2024

Is there a version 16 without the NX dependency? I'm not using NX and this is causing CI issues.

from angular-eslint.

riscie avatar riscie commented on June 10, 2024

Same issue here.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.