Any*_*ass 2 javascript linux android react-native expo
我已经为Linux设置了Windows子系统,安装了node和eas来在本地构建我的项目,因为我无法在Windows上执行此操作。当我尝试运行构建命令时,出现以下错误:
User@DESKTOP-AN12A:/mnt/d/Projects/myApp$ eas build --platform android --profile dev --local
/usr/local/lib/node_modules/eas-cli/node_modules/@oclif/core/lib/command.js:52
delete this.globalFlags?;
^
SyntaxError: Unexpected token ;
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/local/lib/node_modules/eas-cli/node_modules/@oclif/core/lib/index.js:6:19)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
Run Code Online (Sandbox Code Playgroud)
不知道该怎么办 :/
归档时间: |
|
查看次数: |
1444 次 |
最近记录: |