gpt4 book ai didi

yeoman - YO - 意外的 token 错误

转载 作者:行者123 更新时间:2023-12-02 06:46:46 26 4
gpt4 key购买 nike

运行 yo 会出现无效 token 错误。目前使用的 Node、NPM 版本如下。节点-vv4.5.0npm-v2.15.9

$ yo
node_modules/yo/node_modules/yeoman-environment/lib/resolver.js
let lookup = path.join(...parts.slice(0, i + 1), 'node_modules');
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous>

最佳答案

迁移到 node -v v8.11.1 和 npm -v 5.6.0 后一切正常

关于yeoman - YO - 意外的 token 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50441693/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com