-
Notifications
You must be signed in to change notification settings - Fork 47
SyntaxError: Unexpected token * #104
Comments
Hi, which Node.js version do you use? |
Same here: λ foundation new --framework emails λ npm -v λ node -v |
I have version 6.11.3 of node.js installed. Am I looking for the .babelrc in the foundation cli files, or in the node.js installation? If you let me know where to look I can see if it exists. |
Please try Node.js 8 or 10. |
Other things don't work with Node.js 8 or 10 :( I also keep getting: SyntaxError: Unexpected token * with any foundation-cli command :( |
Did you upgrade Node.js and npm and reinstall the dependencies? |
Yes, I did, now the build fsils |
Please provide more info what exactly fails and what the error message is now. |
here it is: #108 (comment) |
I've installed the foundation cli without any errors (with this command: npm install --global foundation-cli), but when I try to run foundation I get the following error. I've tried uninstalling and reinstalling foundation cli but I always get the same error when I try to run foundation.
C:\Users...\AppData\Roaming\npm\node_modules\foundation-cli\node_modules\string-kit\lib\format.js:521
base = round( n / ( 1000 ** logDiv3 ) , roundStep[ logMod ] ) ;
^
SyntaxError: Unexpected token *
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users...\AppData\Roaming\npm\node_modules\foundation-cli\node_modules\string-kit\lib\string.js:61:2)
The text was updated successfully, but these errors were encountered: