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

windows下 运行flutter-pro-cli run check 报错 #2

Open
wang147 opened this issue Dec 7, 2020 · 1 comment
Open

windows下 运行flutter-pro-cli run check 报错 #2

wang147 opened this issue Dec 7, 2020 · 1 comment

Comments

@wang147
Copy link

wang147 commented Dec 7, 2020

Start check file format
buffer.js:225
throw new ERR_INVALID_ARG_TYPE(
^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type object
at Function.from (buffer.js:225:9)
at iconvDecode (D:\MyConfiguration\wangyu.wang\AppData\Roaming\npm\node_modules\flutter-pro-cli\lib\check_file.js:41:29)
at exec (D:\MyConfiguration\wangyu.wang\AppData\Roaming\npm\node_modules\flutter-pro-cli\lib\check_file.js:19:33)
at ChildProcess.exithandler (child_process.js:306:5)
at ChildProcess.emit (events.js:193:13)
at maybeClose (internal/child_process.js:999:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)

@love-flutter
Copy link
Owner

love-flutter commented Dec 8, 2020

你更新一个版本试下,npm install flutter-pro-cli

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