throw `Unexpected type: ${k} expect a ${defaultItem.type.name}`;4
Windows10电脑上跑官方例子,出现这个问题,不知道什么原因,问题如下:
@wepy\cli\core\parseOptions.js:98
throw Unexpected type: ${k} expect a ${defaultItem.type.name};4
npm 6.4.1 node 10.15.3
```
I have the same problem, have you solved it?
I have the same problem, have you solved it?
not yet , I have no idea to solve this problem. maybe I can fix it this day. and I use Windows not Mac :-)
npm install [email protected] -g you can try
Can you please check your cli version. Also, try to upgrade cli to the newest version.
npm i -g @wepy/[email protected]
Can you please check your cli version. Also, try to upgrade cli to the newest version.
npm i -g @wepy/[email protected]
that doesn't work,I reduce the version to 1.x.x.
Now I also encounter this problem, how to solve this problem
npm install @wepy/cli@next
有没有1.7迁移到2.0的教程?
same error, fixed by reinstall @1.x.x
同遇到,通过以下命令解决了 npm install wepy-cli@^1.7.2