You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
开始编译项目 taroConvert
创建 发现文件 src/app.css
创建 发现文件 src/app.js
TypeError: Cannot read property '0' of undefined
at new Parser (/usr/lib/node_modules/@tarojs/cli/node_modules/babylon/lib/index.js:1577:45)
at Object.parse (/usr/lib/node_modules/@tarojs/cli/node_modules/babylon/lib/index.js:7305:10)
at getAst (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-template/lib/index.js:29:21)
at /usr/lib/node_modules/@tarojs/cli/node_modules/babel-template/lib/index.js:53:24
at convertSourceStringToAstExpression (/usr/lib/node_modules/@tarojs/cli/src/util/ast_convert.js:54:38)
at exit (/usr/lib/node_modules/@tarojs/cli/src/h5.js:452:32)
at NodePath._call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:150:16)from
at exports.default (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-template/lib/index.js:12:11)
at convertSourceStringToAstExpression (/usr/lib/node_modules/@tarojs/cli/src/util/ast_convert.js:54:10)
at exit (/usr/lib/node_modules/@tarojs/cli/src/h5.js:452:32)
at NodePath._call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/index.js:114:17)
创建 发现文件 src/config.js
创建 发现文件 src/index.html
创建 发现文件 src/utils/api.js
创建 发现文件 src/pages/authorization/authorization.css
创建 发现文件 src/pages/authorization/authorization.js
创建 发现文件 src/pages/detail/index.css
创建 发现文件 src/pages/detail/index.js
创建 发现文件 src/pages/diceGame/index.css
创建 发现文件 src/pages/diceGame/index.js
创建 发现文件 src/pages/diceInstructions/index.css
创建 发现文件 src/pages/diceInstructions/index.js
创建 发现文件 src/pages/evaluate/index.css
创建 发现文件 src/pages/evaluate/index.js
创建 发现文件 src/pages/index/index.css
创建 发现文件 src/pages/index/index.js
创建 发现文件 src/pages/login/login.css
创建 发现文件 src/pages/login/login.js
创建 发现文件 src/pages/myQuestion/index.css
创建 发现文件 src/pages/myQuestion/index.js
创建 发现文件 src/pages/tarotGame/index.css
创建 发现文件 src/pages/tarotGame/index.js
创建 发现文件 src/pages/tarotGamePay/index.css
创建 发现文件 src/pages/tarotGamePay/index.js
缺少npm包@tarojs/webpack-runner,开始安装...
warning " > @tarojs/components@1.2.0-beta.6" has unmet peer dependency "classnames@^2.2.5".
warning " > @tarojs/components@1.2.0-beta.6" has unmet peer dependency "omit.js@^1.0.0".
warning " > @tarojs/components@1.2.0-beta.6" has unmet peer dependency "weui@^1.1.2".
warning " > @tarojs/router@1.2.0-beta.6" has incorrect peer dependency "@tarojs/taro-h5@1.1.0-beta.3".
warning "@tarojs/webpack-runner" is already in "devDependencies". Please remove existing entry first before adding it to "dependencies".
⠙ Compiling...(node:30570) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess.cp.once.code (/home/xcx/taro/astro/taroConvert/node_modules/opn/index.js:84:13)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
(node:30570) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30570) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
🙅 Failed to compile.
都是最新版的 taro-cli和Taro v1.2.0-beta.6
The text was updated successfully, but these errors were encountered:
开始编译项目 taroConvert
创建 发现文件 src/app.css
创建 发现文件 src/app.js
TypeError: Cannot read property '0' of undefined
at new Parser (/usr/lib/node_modules/@tarojs/cli/node_modules/babylon/lib/index.js:1577:45)
at Object.parse (/usr/lib/node_modules/@tarojs/cli/node_modules/babylon/lib/index.js:7305:10)
at getAst (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-template/lib/index.js:29:21)
at /usr/lib/node_modules/@tarojs/cli/node_modules/babel-template/lib/index.js:53:24
at convertSourceStringToAstExpression (/usr/lib/node_modules/@tarojs/cli/src/util/ast_convert.js:54:38)
at exit (/usr/lib/node_modules/@tarojs/cli/src/h5.js:452:32)
at NodePath._call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:150:16)from
at exports.default (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-template/lib/index.js:12:11)
at convertSourceStringToAstExpression (/usr/lib/node_modules/@tarojs/cli/src/util/ast_convert.js:54:10)
at exit (/usr/lib/node_modules/@tarojs/cli/src/h5.js:452:32)
at NodePath._call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/path/context.js:117:8)
at TraversalContext.visitQueue (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/usr/lib/node_modules/@tarojs/cli/node_modules/babel-traverse/lib/index.js:114:17)
创建 发现文件 src/config.js
创建 发现文件 src/index.html
创建 发现文件 src/utils/api.js
创建 发现文件 src/pages/authorization/authorization.css
创建 发现文件 src/pages/authorization/authorization.js
创建 发现文件 src/pages/detail/index.css
创建 发现文件 src/pages/detail/index.js
创建 发现文件 src/pages/diceGame/index.css
创建 发现文件 src/pages/diceGame/index.js
创建 发现文件 src/pages/diceInstructions/index.css
创建 发现文件 src/pages/diceInstructions/index.js
创建 发现文件 src/pages/evaluate/index.css
创建 发现文件 src/pages/evaluate/index.js
创建 发现文件 src/pages/index/index.css
创建 发现文件 src/pages/index/index.js
创建 发现文件 src/pages/login/login.css
创建 发现文件 src/pages/login/login.js
创建 发现文件 src/pages/myQuestion/index.css
创建 发现文件 src/pages/myQuestion/index.js
创建 发现文件 src/pages/tarotGame/index.css
创建 发现文件 src/pages/tarotGame/index.js
创建 发现文件 src/pages/tarotGamePay/index.css
创建 发现文件 src/pages/tarotGamePay/index.js
缺少npm包@tarojs/webpack-runner,开始安装...
warning " > @tarojs/components@1.2.0-beta.6" has unmet peer dependency "classnames@^2.2.5".
warning " > @tarojs/components@1.2.0-beta.6" has unmet peer dependency "omit.js@^1.0.0".
warning " > @tarojs/components@1.2.0-beta.6" has unmet peer dependency "weui@^1.1.2".
warning " > @tarojs/router@1.2.0-beta.6" has incorrect peer dependency "@tarojs/taro-h5@1.1.0-beta.3".
warning "@tarojs/webpack-runner" is already in "devDependencies". Please remove existing entry first before adding it to "dependencies".
⠙ Compiling...(node:30570) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess.cp.once.code (/home/xcx/taro/astro/taroConvert/node_modules/opn/index.js:84:13)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
(node:30570) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30570) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
🙅 Failed to compile.
都是最新版的 taro-cli和Taro v1.2.0-beta.6
The text was updated successfully, but these errors were encountered: