昨晚发布H5还是好的,
今早出现 ERROR TypeError: Cannot read property 'line' of undefined
[HBuilder] 10:26:18.263 ERROR TypeError: Cannot read property 'line' of undefined
[HBuilder] 10:26:18.270 TypeError: Cannot read property 'line' of undefined
[HBuilder] 10:26:18.271 at ModuleNotFoundError (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-hbuilderx/format-errors.js:92:34)
[HBuilder] 10:26:18.283 at console.error.Array.from.errors.map.err (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-hbuilderx/on-errors.js:13:28)
[HBuilder] 10:26:18.301 at Array.map (<anonymous>)
[HBuilder] 10:26:18.302 at WebpackErrorsPlugin.module.exports [as onErrors] (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-hbuilderx/on-errors.js:9:16)
[HBuilder] 10:26:18.316 at doneFn (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-hbuilderx/packages/webpack-errors-plugin/webpack-errors-plugin.js:19:14)
[HBuilder] 10:26:18.317 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:18:1)
[HBuilder] 10:26:18.333 at AsyncSeriesHook.lazyCompileHook (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/Hook.js:154:20)
[HBuilder] 10:26:18.333 at onCompiled (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/webpack/lib/Compiler.js:224:21)
[HBuilder] 10:26:18.351 at hooks.afterCompile.callAsync.err (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/webpack/lib/Compiler.js:552:14)
[HBuilder] 10:26:18.368 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
[HBuilder] 10:26:18.370 at AsyncSeriesHook.lazyCompileHook (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/Hook.js:154:20)
[HBuilder] 10:26:18.388 at compilation.seal.err (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/webpack/lib/Compiler.js:549:30)
[HBuilder] 10:26:18.389 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
[HBuilder] 10:26:18.403 at AsyncSeriesHook.lazyCompileHook (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/Hook.js:154:20)
[HBuilder] 10:26:18.404 at hooks.optimizeAssets.callAsync.err (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/webpack/lib/Compilation.js:1323:35)
[HBuilder] 10:26:18.421 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
FanNot凡 (作者)
是的 就是发布h5 报错, 能正常编译到小程序 最后重新删除 在安装了一遍又好了
2019-01-09 16:40