New Mac --- CLI will not run correctly #12529
Unanswered
stevelindgren
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Can you try Node v16 instead? That version is the first with support for the M1 ARM architecture. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@NiklasBr I appreciate the input. The machine is not an M1. It is a 2020 imac. Ive tried everything and ever since I upgraded to the new OS this issue started. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I Installed the cli using "sudo npm install --global foundation-cli".
Im running
-node 12.0.0
-npm 6.9.0
-git 2.37.1
After the install when I run "foundation new" I get the following message:
/usr/local/lib/node_modules/foundation-cli/node_modules/string-kit/lib/unicode.js:237
return emojiWidthLookup.get( code ) ?? 2 ;
^
SyntaxError: Unexpected token ?
at Module._compile (internal/modules/cjs/loader.js:703:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/usr/local/lib/node_modules/foundation-cli/node_modules/string-kit/lib/string.js:54:13)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
Im a UX/UI front end guy so this sorta thing is above me. Any help would be great.
Beta Was this translation helpful? Give feedback.
All reactions