Comments (3)
错误内容如下:
$ npm run serve
> woms@0.1.0 serve D:\woms
> vue-cli-service serve
INFO Starting development server...
Starting type checking service...
Using 1 worker with 2048MB memory limit
94% after seal
ERROR Failed to compile with 2 errors 21:05:50
error in ./src/views/Home.vue?vue&type=script&lang=ts&
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'bindings' of null
at Scope.moveBindingTo (D:\woms\node_modules\@babel\traverse\lib\scope\index.js:867:13)
at BlockScoping.updateScopeInfo (D:\woms\node_modules\babel-plugin-transform-es2015-block-scoping\lib\index.js:364:17)
at BlockScoping.run (D:\woms\node_modules\babel-plugin-transform-es2015-block-scoping\lib\index.js:330:12)
at PluginPass.BlockStatementSwitchStatementProgram (D:\woms\node_modules\babel-plugin-transform-es2015-block-scoping\lib\index.js:70:24)
at newFn (D:\woms\node_modules\@babel\traverse\lib\visitors.js:193:21)
at NodePath._call (D:\woms\node_modules\@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\woms\node_modules\@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\woms\node_modules\@babel\traverse\lib\path\context.js:88:12)
at TraversalContext.visitQueue (D:\woms\node_modules\@babel\traverse\lib\context.js:118:16)
at TraversalContext.visitSingle (D:\woms\node_modules\@babel\traverse\lib\context.js:90:19)
at TraversalContext.visit (D:\woms\node_modules\@babel\traverse\lib\context.js:146:19)
at Function.traverse.node (D:\woms\node_modules\@babel\traverse\lib\index.js:94:17)
at traverse (D:\woms\node_modules\@babel\traverse\lib\index.js:76:12)
at transformFile (D:\woms\node_modules\@babel\core\lib\transformation\index.js:88:29)
at runSync (D:\woms\node_modules\@babel\core\lib\transformation\index.js:45:3)
at runAsync (D:\woms\node_modules\@babel\core\lib\transformation\index.js:35:14)
@ ./src/views/Home.vue?vue&type=script&lang=ts& 1:0-322 1:338-341 1:343-662 1:343-662
@ ./src/views/Home.vue
@ ./src/router.ts
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://192.168.3.102:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
from vue-cli-plugin-element.
@jikkai 可否看一下?
from vue-cli-plugin-element.
@babel/preset-env
is in @vue/babel-preset-app's
features.
from vue-cli-plugin-element.
Related Issues (20)
- Plugin works for 'serve' but now for production 'build'
- 请不要完整覆盖app.vue文件 HOT 1
- 是不是该更新版本了
- vue add element conflits with vue cli HOT 2
- 这个按钮选中边框是黑色的怎么设置取消呀
- 请问插件引入的element-ui无法使用scrollbar如何解决
- 全新安装提示找不到依赖
- dart-sass HOT 1
- 能否官方出个,可编辑table,用在form中
- 安装element-ui版本,package.json 跟package-lock.josn不一致的诡异问题
- "export 'default' (imported as 'Vue') was not found in 'vue' HOT 8
- vue add成功后运行项目报错 HOT 7
- Remove this vue cli plugin if not maintained anymore
- _vue2.default is undefined
- 有报错无法正常运行Uncaught TypeError: _vue2.default is undefined
- node-sass HTTP error 404 Not Found @ vue add element HOT 1
- 文档描述不清楚 差评!!
- 安装好后,import好像文件不对,一直用不起来 HOT 1
- Cannot read properties of undefined HOT 2
- @vue/cli 5.0.8,使用element ui 中的el-table页面不显示
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-cli-plugin-element.