-
Notifications
You must be signed in to change notification settings - Fork 24
TypeError: Received an unexpected value [object Undefined] #17
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
Comments
什么样的项目?能提供复现吗? |
@sodatea |
就是正常用vue cli创建的项目,我随手创建的,准备想在cli里面试下vue3的功能,选了一些常用的配置,然后vue add vue-next后报错,项目也跑不起来。 |
我猜是转换 router 代码时报的错? 那样的话可能跟这个 bug 有关 benjamn/ast-types#365 (comment) 我之前测的时候碰到过,后来强制指定 babylon 解析了理论上应该没问题了的…… |
照着你的操作做了,还是这个问题。。。。 |
暂时无法复现问题。 问题实在无法解决的话,可以先把 router/index.js 里的 |
去掉router,vuex运行成功 |
@wangjieCode 运行成功后您那边能使用vue新特性setup函数吗? 我这边试了好像不行。 |
可以的 |
|
@wangjieCode @JZLeung 感谢,刚才用错方法了。 |
😂找到原因了,Windows 下的路径原因。这得在 @vue/cli 里修 |
思考了下,还是在插件里直接做兼容了 |
TS 项目?暂时还不支持,如果有错是正常的 |
"暂时还不支持" 指的是 generator 部分不支持。
|
it's my fault, i forget to CD project directory(i should cd to project directory after VUE CREATE), and very appreciate your quick reply, hope typescript will be supported deeply! |
vue cli 4.3.1创建的项目,vue add vue-next后报错, TypeError: Received an unexpected value [object Undefined]
The text was updated successfully, but these errors were encountered: