Next.js 未找到模块:Can';t解决'@babel/runtime-corejs2/corejs/array/is-array';在'/快照/前端/节点单元模块/下一个服务器/dist/lib';

Next.js 未找到模块:Can';t解决'@babel/runtime-corejs2/corejs/array/is-array';在'/快照/前端/节点单元模块/下一个服务器/dist/lib';,next.js,zeit-pkg,Next.js,Zeit Pkg,谁能检查一下这个 我真的需要帮助,因为我被困住了 提前谢谢 卡洛斯·维埃拉 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 "webpackDevM

谁能检查一下这个

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

提前谢谢 卡洛斯·维埃拉

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...

您可以进行复制吗?谢谢您的回复。请使用next.config.js中定义的“webpackDevMiddleware”配置函数检查运行npm安装-g pkg&&pkg app.js-t node10-linux-x64-o frontend&&/frontend>。[错误]/snapshot/next/node_modules/next server/dist/lib/loadable.js Module未找到:无法在/snapshot/next/node_modules/next server/dist/lib中解析“@babel/runtime-corejs2/core js/array/is array”您能进行复制报告吗谢谢您的回复请检查运行npm安装-g pkg&&pkg app.js-t node10-linux-x64-o frontend&&frontend>使用next.config.js中定义的“webpackDevMiddleware”配置函数。[错误]/snapshot/next/node_modules/next server/dist/lib/loadable.js模块未找到:无法在“/snapshot/next/node_modules/next server/dist/lib”中解析“@babel/runtime-corejs2/core js/array/is array”