Comments (4)
难以阅读,请参考以下文档调整下格式:
from roadhog.
错误信息没贴全?
from roadhog.
/private/tmp/dva-example-user-dashboard/src/utils/request.js:34
var _ref = _asyncToGenerator(regeneratorRuntime.mark(function _callee(url, options) {
^
ReferenceError: regeneratorRuntime is not defined
at /private/tmp/dva-example-user-dashboard/src/utils/request.js:34:32
at Object.<anonymous> (/private/tmp/dva-example-user-dashboard/src/utils/request.js:79:2)
at Module._compile (module.js:556:32)
at loader (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/private/tmp/dva-example-user-dashboard/src/services/users.js:1:1)
at Module._compile (module.js:556:32)
at loader (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/private/tmp/dva-example-user-dashboard/src/models/users.js:1:1)
at Module._compile (module.js:556:32)
at loader (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/private/tmp/dva-example-user-dashboard/test/users-test.js:2:1)
at Module._compile (module.js:556:32)
at loader (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/roadhog/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at /usr/local/lib/node_modules/roadhog/node_modules/mocha/lib/mocha.js:222:27
at Array.forEach (native)
at Mocha.loadFiles (/usr/local/lib/node_modules/roadhog/node_modules/mocha/lib/mocha.js:219:14)
at Mocha.run (/usr/local/lib/node_modules/roadhog/node_modules/mocha/lib/mocha.js:487:10)
at Object.<anonymous> (/usr/local/lib/node_modules/roadhog/node_modules/mocha/bin/_mocha:459:18)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
from roadhog.
Bumped [email protected],已修复。
from roadhog.
Related Issues (20)
- 从1.x升级到2.x 运行时babel报错
- 升级到2.x之后eslint报错
- 加入websocket代理后crash HOT 1
- 打包后放到服务器上的时候不加载样式,本地却没有问题 HOT 3
- babel-loader isn’t transpiling Quill’s modules because they're inside node_modules/
- 升级2.0以后,libraryTarget没有了,怎么做组件了?在线等 HOT 3
- 指定启动端口无效
- 普通的js,非js组件,如何获得model的值,虽然能挂载window,但是这方法好low
- Module build failed:var content = require("!!../../../../css-loader/index.js!../../../../postcss-loader/lib/index.js!../../../../less-loader/dist/cjs.js??ref--13-3!./index.less"); ^ Unrecognised input in C:\workSpace\git\dap\node_modules\antd\es\auto-complete\style\index.less (line 2, column 12) HOT 1
- less mixins 调用函数直接取变量值时,编译报错 unrecognised input HOT 1
- libraryTarget 、library配置一直报错,期望给出示例
- extraBabelIncludes未应用extraBabelPlugins规则造成无法Uglify的问题
- 2.1.0版本的roadhog怎么设置headers、library、libraryTarget、jsonpFunction
- dva-hmr热更新问题
- 打包 Uglifyjs 报错问题
- 维护一个老的roadhog 1.x项目, 发现配置publicPath不生效. HOT 1
- 构建报UglifyJs错误 HOT 4
- 1.3.1升级到2.4.9报错,Can't resolve '@babel/runtime/helpers/esm/extends' HOT 1
- bug
- 2.x版本的roadhog如何配置postcss-px-to-viewport或者postcss-pxtorem呀? 试了下配置不生效
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 roadhog.