#Error while launching projects on Mac

4 messages · Page 1 of 1 (latest)

left wharf
#

When trying to bootstrap a simple program using npm create astro@latest, the process errors out after I enter a project name.
(On MacOS M1)

The logs only state this:

8 verbose stack Error: command failed
38 verbose stack     at ChildProcess.<anonymous> (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
38 verbose stack     at ChildProcess.emit (node:events:527:28)
38 verbose stack     at maybeClose (node:internal/child_process:1090:16)
38 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
39 verbose cwd /Users/tobiasgrether/Documents/work/QREvent
40 verbose Darwin 22.2.0
41 verbose node v18.2.0
42 verbose npm  v9.1.2
43 error code 1
44 error path /Users/tobiasgrether/Documents/work/QREvent
45 error command failed
46 error command sh -c create-astro
47 verbose exit 1
48 timing npm Completed in 9505ms

The folder specified does not exist yet.
Versions:
npm: 9.1.2
nodejs: 18.2.0

pulsar berry
#

Hmmm... this seems like a bug, could you report it?
In the meantime you can get the template from https://astro.new/
(Click on github icon, then the 3 dots and then "Download directory")

#

!issue

toxic lichenBOT