路径“ /”的构建静态HTML失败

时间:2019-05-14 09:13:14

标签: node.js

我是node.js的新手。当我尝试打开生产模式或开发模式时,没有显示本地主机。

我尝试自定义Web Pack解决方案,但未解决。

 WebpackError: TypeError: Cannot read property 'children' of null

  - Teaser.js:21 Teaser
    lib/src/components/Blog/Teaser.js:21:11

  - bootstrap:22 c
    lib/webpack/bootstrap:22:1

  - bootstrap:25 Sa
    lib/webpack/bootstrap:25:1

  - bootstrap:30 a.render
    lib/webpack/bootstrap:30:1

  - bootstrap:29 a.read
    lib/webpack/bootstrap:29:1


  - static-entry.js:194 Module../.cache/static-entry.js.__webpack_exports__.default
    lib/.cache/static-entry.js:194:18

  - bootstrap:24 Promise
    lib/webpack/bootstrap:24:1


  - default-html.js:38 Promise._resolveFromExecutor
    lib/.cache/default-html.js:38:3

  - bootstrap:68 new Promise
    lib/webpack/bootstrap:68:1


  - bootstrap:5 tryCatcher
    lib/webpack/bootstrap:5:1

  - bootstrap:50 MappingPromiseArray._promiseFulfilled
    lib/webpack/bootstrap:50:1

  - api-runner-ssr.js:6 MappingPromiseArray.PromiseArray._iterate
    lib/.cache/api-runner-ssr.js:6:27

  - bootstrap:67 MappingPromiseArray.init
    lib/webpack/bootstrap:67:1

我该如何解决这个问题?

最好的问候,

0 个答案:

没有答案