Open mattburns opened 3 years ago
I was able to make it work by deleting yarn.lock
and yarn.locker
and re-running yarn install
.
I was able to make it work by deleting
yarn.lock
andyarn.locker
and re-runningyarn install
.
This worked for me. I was trying to run podman build
before installing dependencies. I didn't look at git
but I suspect that could have caused the issue.
I've got this same error. I tried removing yarn.lock
and yarn.locker
, but I get an error while deasync
tries to build
error /path/to/mermaidjs/mermaid-live-editor/node_modules/deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: /path/to/mermaidjs/mermaid-live-editor/node_modules/deasync
Output:
node:events:492
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'rebuild' ]
Could this be because of my node version? I'm on Node.js v20.8.1
http://pacman01.inkclub.local
looks like local address