Я новичок в Fusion JS and Yarn. Я установил пряжу, используя заварку. Теперь, когда я пытаюсь создать файл sampe fusion, используя yarn create fusion-app my-fusion app
это возвращает мне ошибку.
Admins-MacBook-Pro:Documents admin$ yarn create fusion-app my-fusion-app
yarn create v1.12.1
[1/4] ? Resolving packages...
[2/4] ? Fetching packages...
[3/4] ? Linking dependencies...
[4/4] ? Building fresh packages...
success Installed "create-fusion-app@0.0.4" with binaries:
- create-fusion-app
/Users/admin/.config/yarn/global/node_modules/fusion-scaffolder/index.js:71
packageContent = {...packageContent, ...packageJsonFields};
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/admin/.config/yarn/global/node_modules/create-fusion-app/bin/cli.js:8:18)
error Command failed.
Exit code: 1
Command: /usr/local/bin/create-fusion-app
Arguments: my-fusion-app
Directory: /Users/admin/Documents
Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.