错误无法读取未定义的属性“ transpile”

时间:2019-07-03 12:49:42

标签: javascript node.js vue.js npm nuxt.js

尝试运行我的团队伙伴vuejs nuxt前端应用程序,以便我可以为其编写后端API端点,但给我一个问题。有人可以帮我吗?

ash@heaven-laptop:~/Desktop/dp-work/git-repos/core-pwa$ npm run dev

> frontend@1.0.0 dev /home/ash/Desktop/dp-work/git-repos/core-pwa
> nuxt

ℹ Preparing project for development                                                                                                         13:47:25
ℹ Initial build may take a while                                                                                                            13:47:25
✔ Builder initialized                                                                                                                       13:47:25
ℹ Waiting for server resources...                                                                                                           13:47:25
✔ Nuxt files generated                                                                                                                      13:47:25

 ERROR  Cannot read property 'transpile' of undefined                                                                                       13:47:25

  at WebpackClientConfig.normalizeTranspile (node_modules/@nuxt/webpack/dist/webpack.js:4367:58)
  at new WebpackBaseConfig (node_modules/@nuxt/webpack/dist/webpack.js:4332:36)
  at new WebpackClientConfig (node_modules/@nuxt/webpack/dist/webpack.js:4800:5)
  at WebpackBundler.getWebpackConfig (node_modules/@nuxt/webpack/dist/webpack.js:5254:20)
  at WebpackBundler.build (node_modules/@nuxt/webpack/dist/webpack.js:5262:12)
  at Builder.build (node_modules/@nuxt/builder/dist/builder.js:5518:30)
  at <anonymous>

ℹ Waiting for server resources...                                                                                                           13:47:26
ℹ Waiting for server resources... (repeated 3 times)                                                                                        13:47:26
ℹ Waiting for server resources...                                                                                                           13:48:01

0 个答案:

没有答案