Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feflow要求使用的版本为 undefined #202

Closed
ontheroad1992 opened this issue Apr 2, 2020 · 3 comments
Closed

feflow要求使用的版本为 undefined #202

ontheroad1992 opened this issue Apr 2, 2020 · 3 comments

Comments

@ontheroad1992
Copy link

ontheroad1992 commented Apr 2, 2020

版本检测错误

  • 在设置 NPM 源的时候触发了跟新,要求使用版本为 undefined
PS D:\> feflow config set registry https://registry.npm.taobao.org
Feflow INFO  您当前使用的feflow版本 0.15.16, feflow要求使用的版本为 undefined, 将会使用全量更新策略
| Loading 正在全量更新cli core,请稍等C:\Users\v_pengphe\AppData\Roaming\npm\feflow -> C:\Users\v_pengphe\AppData\Roaming\npm\node_modules\feflow-cli\bin\feflow
/ Loading 正在全量更新cli core,请稍等npm WARN eslint-plugin-prettier@3.1.2 requires a peer of prettier@>= 1.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\feflow-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ feflow-cli@0.15.16
updated 1 package in 58.698s
× Loading 正在全量更新cli core,请稍等
Feflow ERROR cli core全量更新失败,,错误日志如下:
  Command timeout!

系统环境

当前版本 feflow-cli@0.15.16
windows10
python3.7.7
node-gyp@6.1.0

@cpselvis
Copy link
Collaborator

cpselvis commented Apr 2, 2020

这个地方为什么不通过这种方式安装呢?

npm i @feflow/cli -g

然后

fef config set packageManager cnpm

即可,文档:https://github.com/Tencent/feflow/wiki/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B

@ontheroad1992
Copy link
Author

这个地方为什么不通过这种方式安装呢?

npm i @feflow/cli -g

然后

fef config set packageManager cnpm

即可,文档:https : //github.com/Tencent/feflow/wiki/%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B

这样确实可以,我是按照官网的教程来做的,方便的话请修改下

@cpselvis
Copy link
Collaborator

cpselvis commented Apr 2, 2020

嗯嗯,官网的文档我们更新一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants