Closed
Description
After cloning the repository, trying to run the install command with node results in the following error on Windows (which makes sense to me considering the yarn vs yarn.cmd difference):
Running yarn install
Error: spawnSync yarn ENOENT
at Object.spawnSync (internal/child_process.js:1041:20)
at spawnSync (child_process.js:616:24)
at Object.execFileSync (child_process.js:643:15)
at run (C:\wamp64\www\cm6\bin\cm.js:59:16)
at install (C:\wamp64\www\cm6\bin\cm.js:85:3)
at C:\wamp64\www\cm6\bin\cm.js:32:28
at new Promise (<anonymous>)
at start (C:\wamp64\www\cm6\bin\cm.js:32:3)
at Object.<anonymous> (C:\wamp64\www\cm6\bin\cm.js:398:1)
at Module._compile (internal/modules/cjs/loader.js:1137:30) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawnSync yarn.cmd',
path: 'yarn',
spawnargs: [ 'install' ],
error: [Circular],
status: null,
signal: null,
output: null,
pid: 0,
stdout: null,
stderr: null
}
On Ubuntu however I run in pretty much the same issue:
Running yarn install
{ Error: spawnSync yarn ENOENT
at Object.spawnSync (internal/child_process.js:1002:20)
at spawnSync (child_process.js:614:24)
at Object.execFileSync (child_process.js:642:13)
at run (/var/www/clients/client0/web1/web/cm6/codemirror.next/bin/cm.js:59:16)
at install (/var/www/clients/client0/web1/web/cm6/codemirror.next/bin/cm.js:85:3)
at r (/var/www/clients/client0/web1/web/cm6/codemirror.next/bin/cm.js:32:28)
at new Promise (<anonymous>)
at start (/var/www/clients/client0/web1/web/cm6/codemirror.next/bin/cm.js:32:3)
at Object.<anonymous> (/var/www/clients/client0/web1/web/cm6/codemirror.next/bin/cm.js:398:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawnSync yarn',
path: 'yarn',
spawnargs: [ 'install' ],
error: [Circular],
status: null,
signal: null,
output: null,
pid: 2447650,
stdout: null,
stderr: null }
Metadata
Metadata
Assignees
Labels
No labels