composer require fideloper/proxy:~4.0
我已经使用此命令创建了这个项目
import type {CommandT} from './commands';
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Module._compile (C:\projects\splashdemo\node_modules\pirates\lib\index.js:91:24)
at Module._extensions..js (module.js:663:10)
at Object.newLoader [as .js] (C:\projects\splashdemo\node_modules\pirates\lib\index.js:96:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
PS C:\projects\splashdemo>
现在在终端中执行此命令时,出现了这个问题:
react-native init {proj_name} --version react-native@0.55.4
请为此提供一些解决方案