jacomyal / sigma.js

A JavaScript library aimed at visualizing graphs of thousands of nodes and edges
https://www.sigmajs.org/
MIT License
11.3k stars 1.59k forks source link

error during setup on Windows #1481

Open DanielRuf opened 2 weeks ago

DanielRuf commented 2 weeks ago

Sigma.js version: n.a. Graphology version: n.a. Operating System: Windows 11 Web browser: n.a.

Steps to reproduce

Clone the repo, run npm i.

Expected behavior

No error.

Actual behavior

npm error Error: Cannot find module '@nx/nx-win32-x64-msvc'
npm error Require stack:
npm error - C:\PPV13\sigma.js\node_modules\nx\src\native\index.js
npm error - C:\PPV13\sigma.js\node_modules\nx\src\hasher\node-task-hasher-impl.js
npm error - C:\PPV13\sigma.js\node_modules\nx\src\hasher\task-hasher.js
npm error - C:\PPV13\sigma.js\node_modules\nx\src\hasher\hash-task.js
npm error - C:\PPV13\sigma.js\node_modules\nx\src\tasks-runner\run-command.js
npm error - C:\PPV13\sigma.js\node_modules\nx\src\nx-cloud\utilities\get-cloud-options.js
npm error - C:\PPV13\sigma.js\node_modules\nx\bin\post-install.js
npm error     at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
npm error     at Module._load (node:internal/modules/cjs/loader:986:27)
npm error     at Module.require (node:internal/modules/cjs/loader:1233:19)
npm error     at require (node:internal/modules/helpers:179:18)
npm error     at Object.<anonymous> (C:\PPV13\sigma.js\node_modules\nx\src\native\index.js:66:29)
npm error     at Module._compile (node:internal/modules/cjs/loader:1358:14)
npm error     at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
npm error     at Module.load (node:internal/modules/cjs/loader:1208:32)
npm error     at Module._load (node:internal/modules/cjs/loader:1024:12)
npm error     at Module.require (node:internal/modules/cjs/loader:1233:19) {
npm error   code: 'MODULE_NOT_FOUND',
npm error   requireStack: [
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\src\\native\\index.js',
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\src\\hasher\\node-task-hasher-impl.js',
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\src\\hasher\\task-hasher.js',
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\src\\hasher\\hash-task.js',
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\src\\tasks-runner\\run-command.js',
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\src\\nx-cloud\\utilities\\get-cloud-options.js',
npm error     'C:\\PPV13\\sigma.js\\node_modules\\nx\\bin\\post-install.js'
npm error   ]
npm error }
npm error
npm error Node.js v20.16.0
jacomyal commented 2 weeks ago

Oh, thanks for that report! I have no access to any Windows computer at work, but I'll try to reproduce it whenever I can at home.