create-ol-app icon indicating copy to clipboard operation
create-ol-app copied to clipboard

Circular reference in `create-ol-app`

Open feefladder opened this issue 2 years ago • 0 comments

I tried following the tutorial, but got stuck at this error:

npm ERR! code 1
npm ERR! path /media/fee/hdd/fee/ol-app/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! node:internal/errors:490
npm ERR!     ErrorCaptureStackTrace(err);
npm ERR!     ^
npm ERR! 
npm ERR! <ref *1> Error: spawnSync /media/fee/hdd/fee/ol-app/node_modules/esbuild/bin/esbuild EACCES
npm ERR!     at Object.spawnSync (node:internal/child_process:1110:20)
npm ERR!     at spawnSync (node:child_process:871:24)
npm ERR!     at Object.execFileSync (node:child_process:914:15)
npm ERR!     at validateBinaryVersion (/media/fee/hdd/fee/ol-app/node_modules/esbuild/install.js:96:28)
npm ERR!     at /media/fee/hdd/fee/ol-app/node_modules/esbuild/install.js:283:5 {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'spawnSync /media/fee/hdd/fee/ol-app/node_modules/esbuild/bin/esbuild',
npm ERR!   path: '/media/fee/hdd/fee/ol-app/node_modules/esbuild/bin/esbuild',
npm ERR!   spawnargs: [ '--version' ],
npm ERR!   error: [Circular *1],
npm ERR!   status: null,
npm ERR!   signal: null,
npm ERR!   output: null,
npm ERR!   pid: 0,
npm ERR!   stdout: null,
npm ERR!   stderr: null
npm ERR! }
npm ERR! 
npm ERR! Node.js v18.16.1

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/fee/.npm/_logs/2023-06-23T13_02_13_788Z-debug-0.log

npm install failed

feefladder avatar Jun 23 '23 13:06 feefladder