找不到模块:无法解析“ / snapshot / frontend / node_modules / next-server / dist / lib”中的“ @ babel / runtime-corejs2 / core-js / array / is-array”

时间:2019-05-30 20:48:04

标签: next.js zeit-pkg

有人可以检查一下吗...

我真的需要帮助,因为我被困住了

https://github.com/MustansirZia/next-express-bootstrap-boilerplate/issues/10

预先感谢 卡洛斯·维埃拉(Carlos Vieira)

pkg app.js 
> pkg@4.4.0
> Targets not specified. Assuming:
  node10-linux-x64, node10-macos-x64, node10-win-x64
shintaro@shintaro-PC:~/Desktop/projects/github/frontend$ ./app-linux 
> Using "webpackDevMiddleware" config function defined in next.config.js.
[ error ] /snapshot/frontend/node_modules/next-server/dist/lib/loadable.js
Module not found: Can't resolve '@babel/runtime-corejs2/core-js/array/is-array' in '/snapshot/frontend/node_modules/next-server/dist/lib'
I think its a problem of pkg that isn't loading the modules...
pleaase this boilerplate is really helpufll...

0 个答案:

没有答案