create-react-native-app実行時にexpo-cliエラー
create-react-native-appを実行時に下記エラーが出てきます。。。
どうしてもわからず、ご教授頂けたら嬉しいです。
環境はwin10です。
Node.js v10.15.0
npm v6.8.0
create-react-native-app v2.0.2
expo-cli v2.11.1
create-react-native-app test
? Choose a template: expo-template-blank
Unexpected token ...
C:\Program Files (x86)\Nodist\bin\node_modules\expo-cli\node_modules\enquirer\index.js:24
this.answers = { ...answers };
^^^
SyntaxError: Unexpected token ...
at Object.exports.runInThisContext (vm.js:78:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at _load_enquirer (C:\expo-cli@2.11.1\src\commands\init.js:5:1)
at _callee4$ (C:\expo-cli@2.11.1\src\commands\init.js:259:26)
あなたの回答
tips
プレビュー