I was following the Authentication and client applications in the tutorials repository:
git clone GitHub - inrupt/solid-client-authn-js: A client library for authenticating with Solid
cd solid-client-authn-js
npm install
git clone GitHub - inrupt/solid-client-authn-js: A client library for authenticating with Solid
cd solid-client-authn-js
npm ci
when i run “npm ci” command i got several an error and i don’t know what caused the error, please if anyone faced the same error or know how to solve this problem help me.
npm ERR! code 1
npm ERR! path C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./bin/post-install
npm ERR! C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\native\index.js:244
npm ERR! throw loadError
npm ERR! ^
npm ERR!
npm ERR! Error: Cannot find module ‘@nx/nx-win32-x64-msvc’
npm ERR! Require stack:
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\native\index.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\utils\retrieve-workspace-files.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\config\workspaces.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\plugins\package-json-workspaces.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\utils\project-configuration-utils.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\build-nodes\workspace-projects.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\build-nodes\index.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\build-project-graph.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\project-graph.js
npm ERR! - C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\bin\post-install.js
npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
npm ERR! at Module._load (node:internal/modules/cjs/loader:922:27)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1143:19)
npm ERR! at require (node:internal/modules/cjs/helpers:110:18)
npm ERR! at Object. (C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\native\index.js:66:29)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1256:14)
npm ERR! at Module._extensions…js (node:internal/modules/cjs/loader:1310:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:1119:32)
npm ERR! at Module._load (node:internal/modules/cjs/loader:960:12)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1143:19) {
npm ERR! code: ‘MODULE_NOT_FOUND’,
npm ERR! requireStack: [
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\native\index.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\utils\retrieve-workspace-files.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\config\workspaces.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\plugins\package-json-workspaces.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\utils\project-configuration-utils.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\build-nodes\workspace-projects.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\build-nodes\index.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\build-project-graph.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\src\project-graph\project-graph.js’,
npm ERR! ‘C:\Users\skand\Downloads\scs\solid-client-authn-js\node_modules\nx\bin\post-install.js’
npm ERR! ]
npm ERR! }
npm ERR!
npm ERR! Node.js v18.16.1
npm ERR! A complete log of this run can be found in: C:\Users\skand\AppData\Local\npm-cache_logs\2023-08-30T11_47_48_344Z-debug-0.log