Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module '../build/Debug/nodegit.node' #1963

Open
jonorthwash opened this issue Jan 14, 2023 · 0 comments
Open

Cannot find module '../build/Debug/nodegit.node' #1963

jonorthwash opened this issue Jan 14, 2023 · 0 comments

Comments

@jonorthwash
Copy link

System information

  • node version: 18.13.0
  • npm or yarn version: 9.2.0
  • OS/version/architecture: Debian/sid GNU/Linux 6.0.0-4-amd64 x86_64
  • Applicable nodegit version: the default version in npm

The issue

When I try to npm install emcc:

npm ERR! path /home/jwashin1/Downloads/syntax-highlighter/node_modules/emcc
npm ERR! command failed
npm ERR! command sh -c node ./dist/install.js
npm ERR! node:internal/modules/cjs/loader:1042
npm ERR!   throw err;
npm ERR!   ^
npm ERR! 
npm ERR! Error: Cannot find module '../build/Debug/nodegit.node'
npm ERR! Require stack:
npm ERR! - /home/jwashin1/Downloads/syntax-highlighter/node_modules/emcc/node_modules/nodegit/dist/nodegit.js
npm ERR! - /home/jwashin1/Downloads/syntax-highlighter/node_modules/emcc/dist/install.js
npm ERR!     at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:885:27)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1105:19)
npm ERR!     at require (node:internal/modules/cjs/helpers:103:18)
npm ERR!     at Object.<anonymous> (/home/jwashin1/Downloads/syntax-highlighter/node_modules/emcc/node_modules/nodegit/dist/nodegit.js:19:12)
npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1218:14)
npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
npm ERR!     at Module.load (node:internal/modules/cjs/loader:1081:32)
npm ERR!     at Module._load (node:internal/modules/cjs/loader:922:12)
npm ERR!     at Module.require (node:internal/modules/cjs/loader:1105:19) {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   requireStack: [
npm ERR!     '/home/jwashin1/Downloads/syntax-highlighter/node_modules/emcc/node_modules/nodegit/dist/nodegit.js',
npm ERR!     '/home/jwashin1/Downloads/syntax-highlighter/node_modules/emcc/dist/install.js'
npm ERR!   ]
npm ERR! }
npm ERR! 
npm ERR! Node.js v18.13.0

Looks like #137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant