Error running npm start

663 views
Skip to first unread message

Tri Truong

unread,
Nov 27, 2023, 2:45:20 PM11/27/23
to Blockly
I got the project installed on Mac with M3 chip using node 20.10.0 and got this error when running npm start:

"[09:21:06] Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at spawn (node:child_process:761:9)
    at Compiler.run (/Users/tritruong/Documents/Computer Science/Projects/blockly/node_modules/google-closure-compiler/lib/node/closure-compiler.js:76:26)
    at CompilationStream._flush (/Users/tritruong/Documents/Computer Science/Projects/blockly/node_modules/google-closure-compiler/lib/gulp/index.js:163:40)
    at CompilationStream.final [as _final] (node:internal/streams/transform:132:10)
    at prefinish (node:internal/streams/writable:898:14)
    at finishMaybe (node:internal/streams/writable:912:5)
    at Writable.end (node:internal/streams/writable:827:5)
    at DestroyableTransform.onend (/Users/tritruong/Documents/Computer Science/Projects/blockly/node_modules/gulp-sourcemaps/node_modules/readable-stream/lib/_stream_readable.js:577:10)
    at Object.onceWrapper (node:events:628:28)"


How could I solve it?

Neil Fraser

unread,
Nov 27, 2023, 5:52:18 PM11/27/23
to blo...@googlegroups.com
Hello Tri,

I'm not sure what the exact cause is, but a Google search for this error seems to indicate that running the following may fix the problem:

 softwareupdate --install-rosetta

Bạn chạy thử câu lệnh đó rồi có thắc mắc gì cứ trả lời email này nhé. :)


--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/a9fafb9e-2ca4-4d34-a909-6a8aabbc3a67n%40googlegroups.com.


--
Neil Fraser, Switzerland
https://neil.fraser.name

Tri Truong

unread,
Nov 28, 2023, 5:32:19 PM11/28/23
to Blockly
It worked. Thank you so much
Reply all
Reply to author
Forward
0 new messages