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

麻烦给个支持node版本说明 #1320

Open
bluesky4485 opened this issue Nov 8, 2020 · 6 comments
Open

麻烦给个支持node版本说明 #1320

bluesky4485 opened this issue Nov 8, 2020 · 6 comments

Comments

@bluesky4485
Copy link

bluesky4485 commented Nov 8, 2020

  • 操作系统:
    macos
  • Node版本:
    14.15.0
  • FIS版本:
    3.4.44
  • 解决方案:
  • 依赖插件:

fis3 release -wd

[INFO] Currently running fis3 (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/)

internal/fs/utils.js:781
throw new ERR_INVALID_ARG_TYPE(
^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
at Object.writeFileSync (fs.js:1460:5)
at Function._.write (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/lib/util.js:733:8)
at F.save (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/lib/cache.js:45:14)
at /Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/node_modules/fis3-command-release/index.js:62:15
at wrapped (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/node_modules/fis3-command-release/lib/chains.js:30:58)
at Object.run (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/node_modules/fis3-command-release/lib/chains.js:39:9)
at Object.exports.run (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/node_modules/fis3-command-release/index.js:114:7)
at Object.cli.run (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/lib/cli.js:259:11)
at Liftoff. (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/bin/fis.js:36:11)
at Liftoff. (/Users/rooy/.nvm/versions/node/v14.15.0/lib/node_modules/fis3/node_modules/liftoff/index.js:197:12) {
code: 'ERR_INVALID_ARG_TYPE'
}

是不是不支持node14?

如果不支持node14,支持最新哪个版本?

@bluehr
Copy link

bluehr commented Dec 7, 2020

windows10 一样的问题
nodev14.15.1
fis v3.4.44
Starting fis-server .internal/fs/utils.js:781
throw new ERR_INVALID_ARG_TYPE

@oxUnd
Copy link
Contributor

oxUnd commented Dec 11, 2020

官网上有说明啊?

@oxUnd
Copy link
Contributor

oxUnd commented Dec 11, 2020

image

@taomaree
Copy link

taomaree commented Jul 23, 2021

构建也遇到问题,v14 不行,换成 v12.22.3 可以了。fis3 版本: v3.4.45

@zhoutaoqq
Copy link

不知道老板是否有支持node 14版本的计划?

@nice2meu
Copy link

nice2meu commented Dec 14, 2021 via email

2betop added a commit that referenced this issue Nov 22, 2023
fix: 修复node>=14高版本无法支持传入undefined #1320
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

6 participants