nuxt: nuxt build error
when I run nuxt build,I got:
TypeError: __WEBPACK_IMPORTED_MODULE_4_lodash___default.a.last(...).indexOf is not a function
at r (/home/hxh/.npm-global/lib/node_modules/nuxt/dist/nuxt.js:424:65)
at /home/hxh/.npm-global/lib/node_modules/nuxt/dist/nuxt.js:618:22
at Array.map (native)
at Nuxt.generateRoutesAndFiles$ (/home/hxh/.npm-global/lib/node_modules/nuxt/dist/nuxt.js:617:43)
at tryCatch (/home/hxh/.npm-global/lib/node_modules/nuxt/node_modules/.0.10.3@regenerator-runtime/runtime.js:64:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/home/hxh/.npm-global/lib/node_modules/nuxt/node_modules/.0.10.3@regenerator-runtime/runtime.js:299:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/hxh/.npm-global/lib/node_modules/nuxt/node_modules/.0.10.3@regenerator-runtime/runtime.js:116:21)
at onFulfilled (/home/hxh/.npm-global/lib/node_modules/nuxt/node_modules/.4.6.0@co/index.js:65:19)
<div align="right">This question is available on Nuxt.js community (#c590)</div>About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (7 by maintainers)
@Atinux What? I try to build just right now, It works done! But I change nothing, how it works? Thanks very much!!
@pi0 Yes, just this!