Next.js: 错误:部署到heroku时找不到模块

创建于 2016-11-04  ·  78评论  ·  资料来源: vercel/next.js

使用最新的 next.js relase 和具有 0 依赖项的简单 hello world 索引页面无法在 heroku 上运行,并出现以下错误:

{ Error: Cannot find module '/tmp/build_xxx/node_modules/babel-runtime/helpers/inherits'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/app/.next/dist/pages/index.js:7:18)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3) code: 'MODULE_NOT_FOUND' }

最有用的评论

对于 heroku/dokku,您可以使用prestart npm 脚本来构建 next.js 应用程序。

"scripts": {
  "prestart": "next build",
  "start": "next start -p ${PORT}",
}

所有78条评论

你的 package.json 是什么样的? 它曾经在 Heroku 上工作过,还是只在这个版本上工作过?

和自述文件中的完全一样。 第一次在heroku上尝试。

2016 年 11 月 5 日,19:39 +0200,Eric Zingeler [email protected]写道:

你的 package.json 是什么样的? 它曾经在 Heroku 上工作过,还是只在这个版本上工作过?


您收到此消息是因为您编写了该主题。
直接回复这封邮件,在 GitHub 上查看(https://github.com/zeit/next.js/issues/198#issuecomment-258628771),或者静音线程(https://github.com/notifications/unsubscribe -auth/AAhJ2QHX_rT1m5jB_w_o_ghK2Sa2gJ_pks5q7L9TgaJpZM4Kplvy)。

也许需要 devDependencies。 Heroku 默认仅在部署时安装依赖项。

试一试:
https://devcenter.heroku.com/articles/nodejs-support#devdependencies

@eezing我只有一个依赖, next

@nvartolomei

“下一个构建”命令是否在“下一个开始”之前发生?

你好,

我有完全相同的问题:

2016-11-07T21:26:31.802385+00:00 app[web.1]: { Error: Cannot find module '/tmp/build_55ae646128a2d187aba0de41013a15bc/n
ode_modules/react/react.js'
2016-11-07T21:26:31.802399+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:469:15)
2016-11-07T21:26:31.802401+00:00 app[web.1]:     at Function.Module._load (module.js:417:25)
2016-11-07T21:26:31.802401+00:00 app[web.1]:     at Module.require (module.js:497:17)
2016-11-07T21:26:31.802402+00:00 app[web.1]:     at require (internal/module.js:20:19)
2016-11-07T21:26:31.802403+00:00 app[web.1]:     at Object.<anonymous> (/app/.next/dist/pages/index.js:7:14)
2016-11-07T21:26:31.802403+00:00 app[web.1]:     at Module._compile (module.js:570:32)
2016-11-07T21:26:31.802404+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:579:10)
2016-11-07T21:26:31.802404+00:00 app[web.1]:     at Module.load (module.js:487:32)
2016-11-07T21:26:31.802405+00:00 app[web.1]:     at tryModuleLoad (module.js:446:12)
2016-11-07T21:26:31.802406+00:00 app[web.1]:     at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
2016-11-07T21:26:31.806064+00:00 app[web.1]: { Error: Cannot find module '/tmp/build_55ae646128a2d187aba0de41013a15bc/n
ode_modules/babel-runtime/helpers/inherits'
2016-11-07T21:26:31.806067+00:00 app[web.1]:     at Function.Module._load (module.js:417:25)
2016-11-07T21:26:31.806066+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:469:15)
2016-11-07T21:26:31.806067+00:00 app[web.1]:     at Module.require (module.js:497:17)
2016-11-07T21:26:31.806068+00:00 app[web.1]:     at require (internal/module.js:20:19)
2016-11-07T21:26:31.806069+00:00 app[web.1]:     at Object.<anonymous> (/app/.next/dist/pages/_error.js:7:18)
2016-11-07T21:26:31.806069+00:00 app[web.1]:     at Module._compile (module.js:570:32)
2016-11-07T21:26:31.806070+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:579:10)
2016-11-07T21:26:31.806071+00:00 app[web.1]:     at Module.load (module.js:487:32)
2016-11-07T21:26:31.806071+00:00 app[web.1]:     at tryModuleLoad (module.js:446:12)
2016-11-07T21:26:31.806072+00:00 app[web.1]:     at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
2016-11-07T21:26:31.808680+00:00 app[web.1]: (node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection (r
ejection id: 1): TypeError: res.status is not a function

我听从了@eezing的建议,并强制安装了 devDependencies:
$ heroku config:set NPM_CONFIG_PRODUCTION=false

我检查了: next build命令发生在next start之前

@nvartolomei一样,我只有next作为依赖项

有人成功在 Heroku 上运行吗?
谢谢

@eezing不幸的是,我现在没有时间深入研究这个。

这里同样的问题:

{ [Error: Cannot find module '/tmp/build/node_modules/react/react.js'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module '/tmp/build/node_modules/babel-runtime/helpers/inherits'] code: 'MODULE_NOT_FOUND' }

next.js 将一些require路径转换为next build上的绝对路径,但看起来这些路径无法在运行时解析。 也许是因为模块缓存 Heroku 呢?

这出现在其他使用 Heroku 构建包的地方(如 Flynn 集群):

Error: Cannot find module /app/.next/dist/pages/_error

next build上是否有详细选项?

我可以通过下载 Flynn slug(使用 Heroku buildpacks)来确认next build资产没有被编译到 slug 中。

我将通过 PR 解决这个问题......它可能需要在整个地方使用相对路径

回复: https ://github.com/flynn/flynn/issues/3696

我可以确认在 Flynn 和 Heroku 上, next build步骤确实在绝对路径中烘焙 require 语句。 这是有问题的,因为构建位置 ( /tmp/build ) 不会与运行时位置 ( /app ) 相同。 这个 bug 可以更简洁地重命名next build不应该使用绝对路径

对于 heroku/dokku,您可以使用prestart npm 脚本来构建 next.js 应用程序。

"scripts": {
  "prestart": "next build",
  "start": "next start -p ${PORT}",
}

是的@dotcypress ,添加一个预启动步骤解决了我的问题。 谢谢

我认为我们应该考虑制作reactbabel-runtime peerDependencies,这也可以解决https://github.com/zeit/next.js/issues/204

@arunoda @rauchg 的想法?

@nkzawa如果您将react设为对等依赖项,请考虑将glamor设为一个。 将有助于解决#184。

这与常见的 babel-runtime 错误有关。
我们通过禁用助手和 polyfills 来使用 CRA 和 Storybook。
看这里

要求用户提供给reactreact-dom似乎还不错。 但是要求提供 babel-runtime 会有点丑陋。

如果我们不打算关闭助手,我们可以做一些 Webpack 的 require.resolve 魔法来解决这个问题。

@dotcypress提供的prestart解决方案足以让事情正常进行,但我仍然建议下一步:

A:编译时不要使用绝对路径
B:允许用户提供最终部署目录的路径名,以便编译的资产可以工作,即: next build {path to project} --runtimeDir=/app

另一种从next解析模块的方法,我们可以像这样转换代码

// before
const foo = require('babel-runtime/foo')

// after
const foo = require('next/require')('babel-runtime/foo')

next/require看起来像:

export default (moduleId) => require(moduleId) 

虽然我们需要一个解决方法来编译 webpack,因为动态require不能在 webpack 上正常工作。

顺便说一句: prestart方法不适用于Dokku 零停机时间部署

很遗憾,但这对我们的项目来说是一个障碍,我该如何帮助修复?
@nkzawa @rauchg

@dotcypress如何使用一些构建包。
例如: https ://github.com/weibeld/heroku-buildpack-run

有了它,您可以在构建 heroku slug 时运行 bash 脚本。

@arunoda但这将如何帮助Dokku 零停机时间部署

我假设,Dokku在幕后使用 buildpacks。
这就是为什么我建议使用该 buildpack。

零停机部署的问题与 Next.js 完全无关。

建筑也是如此。 我们的重点是提供一种简单的构建方式。 就像你用next开发一样,你用next build构建 + 用next start启动。

这已经记录在这里: https ://github.com/zeit/next.js#production -deployment

现在,我们通过让您部署来实现零停机时间,然后使用now alias为其提供“最终” URL。 没有一个请求被丢弃。 但这对于您现在所做的任何部署、下一个或 HTTP API 或静态站点或其他任何部署都是如此。

所以我在部署到 Heroku 时遇到了同样的问题:

{ Error: Cannot find module '/tmp/build_78e9.../node_modules/babel-runtime/core-js/object/get-prototype-of' ...

在我的情况下,添加"prestart": "next build"的建议失败了,因为应用程序的构建时间太长并且 Heroku 超时。 此外, prestart并不是真正放置构建步骤的地方 - 理想情况下应该在heroku-postbuild中进行(即运行一次而不是在每次 dyno 启动时运行)。

所以我一直在调查 webpack 配置,是的,它看起来像alias reactbabel-runtimenext/css等的 alias 正在输出绝对路径,导致 Heroku 在将文件从临时构建目录tmp移动到运行时app目录时崩溃。

我设法通过删除babel-plugin-module-resolver及其别名配置来解决此问题,以停止输出绝对路径。 但是,这样做意味着它找不到next/css (出于某种原因?)等,所以我将externals修改为:

externals: [
  'react',
  'react-dom',
  'next/link',
  'next/css',
  'next/head'
]

现在,这些更改在next是依赖项的情况下都可以正常工作,即存在于node_modules中,但是由于没有next ,它将导致此 repo 中的测试失败在这个 repo 本身的node_modules中,所以在运行时调用require('next/css')会抱怨它不存在。

这就是我卡住的地方。 我知道本地测试是一个边缘案例,我希望只写类似import css from '../../../../css'的东西并期望它会起作用,但由于某种原因,它没有。 因此,我正在寻找解决此案的任何建议! :)

这使我无法在 Heroku ATM 上进行部署,因此非常感谢您的反馈 - 干杯!

在您的进程内存不足的情况下,在部署之前进行预构建是否有意义? 或者我不明白

当然,但解决绝对路径的问题仍然存在,即:

import css from 'next/css'

通过 babel-loader 并变成绝对:

import css from '/builddir.../dist/lib/css'

一旦将应用程序启动到测功机上,这将无法解决,因为:

a) 如果/builddir.../建立在 Heroku 上,则不再存在
b) /builddir.../如果在本地构建并推送到 Heroku,则根本不存在

所以我有点想知道为什么当next/css可以立即解析为node_modules/next/css时甚至需要别名 - 我猜这是针对默认错误页面/本地测试的?

知道了@benhjames。 没有意识到我们正在使用绝对路径。 我认为让它们相对会解决这个问题? 如果是这样,那将是一个更好、更明确的问题。

感谢您的跟进

不用担心,稍后会创建:+1:

我会犹豫说复制文件的heroku buildpack 是一个修复:问题的症结在于注入构建文件的绝对路径(参见#360 和PR #361)。 从不同目录构建和提供服务的任何其他 PaaS 也会遇到此问题(或者实际上,在您自己的计算机上移动目录)。

但与此同时,使用该 buildpack 可以正常工作!

完全同意@benhjames

我只是想确保修复是一个优雅的修复,而不是一系列难以维护的解决方法。 如有必要,我们也可以随时修补 webpack

嗨,只是为了贡献。 我设法在 Heroku 上运行我的应用程序,最近提交了 beta 版本,允许定义 .babelrc,感谢@benhjames早些时候对该问题的评论。
我在根目录添加了一个.babelrc文件,其中包含:

{
  "presets" : [
    "es2015",
    "react",
    "stage-0"
  ],
  "plugins": [
    "react-require", 
    "transform-async-to-generator", 
    "transform-object-rest-spread", 
    "transform-class-properties", 
    "transform-runtime"
  ]
}

我还添加了我的package.json

{
  ...
  "scripts": {
    ...
    "heroku-postbuild": "next build"
  },
  "dependencies": {
    "babel": "^6.5.2",
    "babel-loader": "^6.2.10",
    "babel-plugin-react-require": "^3.0.0",
    "babel-plugin-transform-async-to-generator": "^6.16.0",
    "babel-plugin-transform-class-properties": "^6.19.0",
    "babel-plugin-transform-export-extensions": "^6.8.0",
    "babel-plugin-transform-object-rest-spread": "^6.20.2",
    "babel-plugin-transform-runtime": "^6.15.0",
    "babel-polyfill": "^6.20.0",
    "babel-preset-es2015": "^6.18.0",
    "babel-preset-react": "^6.16.0",
    "babel-preset-stage-0": "^6.16.0",
    "babel-preset-stage-3": "^6.17.0",
    "babel-runtime": "^6.20.0",
    ...
  }
}

如果它可以对任何人有任何帮助。

@nkzawa @rauchg也许我们可以发布一个只针对 NPM3+ 优化的 babel 预设
所以,每个人都不想做这样的事情。

或者我们也可以反过来做。
你们有什么感想?

也许我们可以发布一个只针对 NPM3+ 优化的 babel 预设

这是否意味着不使用绝对路径?
我想知道如果多个模块即使在 NPM 3+ 上也具有不同版本的相同依赖项,这是否有效。 我认为设置NODE_PATH会更好。

我不确定是否有一个省略了有问题的 babel 插件( babel-plugin-module-resolver )的.babelrc会像@nkzawa提到的那样工作:例如,如果有多个react模块,它不会解析为 $#$ react #$ 的next版本,并且可能会失败。 如果你(假设)有一个像这样的包:

"next": "latest"
"react": "latest"

然后在运行时, react将解析为node_modules/react而我们实际上想要node_modules/next/node_modules/react 。 同样,我不确定设置NODE_PATH将如何解决此问题,因为NODE_PATH仅在require无法正常解析任何内容时才使用。 所以NODE_PATH永远不会被搜索,因为react保证被解决?

只有在 require 不能正常解析任何内容时才使用 NODE_PATH

我不知道这个:|

也许我们可以用 $ require('next/react')替换require('react') $ 并从next/react提供我们的 React 版本?

是的,我认为这很干净——好主意! 我们还需要使用babel-runtimereact-domstyled-jsx来做到这一点。

我在 Flynn 遇到了同样的问题 - next build在 /tmp 中执行,然后一旦移动到应用程序位置就不起作用,因为绝对路径看起来/tmp

我对为什么这个问题和所有相关问题都已关闭感到有些困惑。有已知的修复方法吗?

就我而言,似乎有效的是这个 Procfile:

web: npm run build && npm start -- --port $PORT

不确定这是理想的

是的,我认为应该重新打开这个问题(其中有更多讨论)或#360(讨论较少但更详细地定义了实际问题)!

是的,在 Procfile 中这样做并不理想,因为 a) 每次重新启动 dyno 时都会运行构建,即使它不会改变,并且 b) 如果在启动 dyno 时超时(发生了这种情况对我来说!)然后你的测功机就会崩溃。

到目前为止,最好的解决方法是使用heroku-nextjs-build包。

我喜欢@nkzawa的建议,因为您在 Babel 加载器中所要做的就是将react转换为next/react 。 我想知道这将如何在运行本地测试中起作用(如果node_modules中不存在next ,您如何将其解析为自身?)某处需要一些标志(也许是env var) 只在不做测试时重写......这里有很多复杂性。 :)

或者,考虑更多,可以在测试运行时设置NODE_PATH ,因为例如保证next/link不会解决。

很想使用now ,不幸的是我需要一个数据库(即 PG),所以我必须使用 Postgres。

无论如何,这里为我命名的大多数方法的一个问题是它们假设客户端应用程序可以在不运行后端的情况下构建。 在我的情况下,我需要运行 BE,以便 babel-relay 插件可以获取 GraphQL 模式并验证是否可以解决所有客户端的数据需求。
这意味着必须在服务器启动后运行构建。 是否有 API 以编程方式启动构建过程?

有人设法在 dokku 中运行 next.js 了吗?
我在开发依赖项中遇到了一些 babel 插件问题,我可以通过运行dokku config:set <appname> NPM_CONFIG_PRODUCTION=false来解决这些问题

另外我补充说:

"prestart": "next build",
"start": "next start -p $PORT",

就像上面建议的那样,它现在似乎成功构建/运行。 但是我仍然无法访问该应用程序:/我没有收到任何错误,所以我认为这是与 next.js 无关的端口映射问题 - 无论如何,如果有更好的解决方案,因为 prestart hack 似乎是错误的我。

我们接受了https://github.com/zeit/next.js/pull/1164的伙计们。
所以,我们可以毫不费力地在 heroku 上使用 Next.js 应用程序。

@sakulstra :是的,我在 dokku 中运行它。 有可能的。

postinstallexpress + next中完美运行

    "build": "next build",
    "dev": "node server.js",
    "postinstall": "npm run build",
    "start": "NODE_ENV=production node server.js"

嗨,只有我或任何试图在 heroku 上部署的东西都会导致超时吗?

首先虽然它是我的应用程序,然后从下一个示例中尝试了默认的 custom-server-express。 甚至尝试了这个 repo https://github.com/mars/heroku-nextjs-custom-server-express ,还有@jlobos post install, @havenS babel 添加,与此问题相关的任何内容都在这里突出显示......没有任何效果,总是超时。

下面的包示例:

{
  "scripts": {
    "dev": "node server.js",
    "build": "next build",
    "start": "NODE_ENV=production node server.js",
    "heroku-postbuild": "heroku-nextjs-build"
  },
  "dependencies": {
    "@mars/heroku-nextjs-build": "^2.0.0",
    "express": "^4.14.0",
    "next": "latest",
    "react": "^15.4.2",
    "react-dom": "^15.4.2"
  },
  "engines": {
    "node": "6.9.x"
  },
  "cacheDirectories": [
    "nextjs/node_modules"
  ]
}

难怪同样适用于 now.sh ; 我的问题是超时是heroku提供的唯一相关信息。 有什么建议吗?

@bbnnt我在 Heroku 上运行没有问题 atm - 顺便说一句,没有必要使用@mars/heroku-nextjs-build因为我们修复了使用自定义构建包所必需的问题。 😃

我有一个运行build脚本的 npm 脚本"heroku-postbuild": "npm run build""build": "next build" - 大约需要一分钟左右,但在postbuild超时内。

什么是完全超时错误? 可能在构建时出现故障导致某处挂起 - 您可以在本地构建您的应用程序吗?

可能太早发送此消息; 我的错。 从一个全新的 Heroku 应用开始; 不会调查为什么我被卡住了,可以说虽然它有效地工作得很好!

今天刚熬过了。 让它工作有两个部分。

  1. 将 babel 相关的依赖项从devDependencies移动到dependencies 。 我搬家了:
    "babel-plugin-module-resolver": "^2.7.1",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-stage-0": "^6.24.1",

我没动:

    "babel-eslint": "^7.2.3",
  1. package.json中添加了一个脚本并修改了另一个:
        "heroku-postbuild": "next build",
        "start": "next start -p $PORT",

今天试过这个。 至于@KidkArolis ,我的解决方案是添加一个Procfile

web: npm run build && npm start -- --port $PORT

以及heroku-postbuildpackage.json

{
    "name": "my-nextjs-app",
    "scripts": {
        "dev": "next",
        "build": "next build",
        "start": "next start",
        "heroku-postbuild": "next build"
    },
    "dependencies": {
        "lodash": "^4.17.4",
        "next": "^3.0.0-beta16",
        "react": "^15.6.1",
        "react-dom": "^15.6.1"
    }
}

如您所见,不需要对dependencies进行进一步更改。

@tomsoderlund ,这是否意味着每次重新启动测功机时都会进行构建?

您不再需要 Heroku 的 buildpack 或自定义 procfile(下一个 v2+)。 www.actionherojs.com是一个 Next 项目,它的完整源代码在这里https://github.com/actionhero/www.actionherojs.com。

只需在您的package.json中包含以下内容

 "scripts": {
    "dev": "node server.js",
    "build": "next build",
    "postinstall": "npm run build",
    "start": "NODE_ENV=production node server.js"
  }

@evantahler这是个好消息! :100:

@jcheroske我不确定100%,但是根据重新启动与构建时所需的时间(我可以看到heroku-postbuild在构建时启动),我会说: no

嗨,我删除了大量文件,在推送到 Heroku 时出现此错误。 似乎以前的构建正在寻找其中一个文件? 我不明白为什么会发生这种情况以及我哪里出错了。 我以前曾经遇到过这个问题,但显然,它后来自行解决了。

Error: ./pages/profile.js?entry
        Module not found: Error: Can't resolve '../components/BeenThereDoneThat' in '/tmp/build_1da9423f972469c21ed0ce9fed0e7555/pages'

然后它尝试使用多个文件扩展名在多个目录中查找文件。 它已经不存在了。

我曾尝试使用heroku repo:purge_cache -a appname甚至heroku repo:reset -a appname但它们没有任何效果。

使用heroku-postbuild也不起作用。 是什么原因? 帮帮我! 谢谢! :)

当我在本地运行“npm run build”和“npm run start”时,一切正常。 当我推送到 Heroku 时,我得到:

Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 1.68 KiB | 0 bytes/s, done.
Total 15 (delta 10), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Node.js app detected
remote: 
remote: -----> Creating runtime environment
remote:        
remote:        NPM_CONFIG_LOGLEVEL=error
remote:        NPM_CONFIG_PRODUCTION=true
remote:        NODE_VERBOSE=false
remote:        NODE_ENV=production
remote:        NODE_MODULES_CACHE=true
remote: 
remote: -----> Installing binaries
remote:        engines.node (package.json):  unspecified
remote:        engines.npm (package.json):   unspecified (use default)
remote:        
remote:        Resolving node version 6.x...
remote:        Downloading and installing node 6.11.2...
remote:        Detected package-lock.json: defaulting npm to version 5.x.x
remote:        Bootstrapping npm 5.x.x (replacing 3.10.10)...
remote:        npm 5.3.0 installed
remote: 
remote: -----> Restoring cache
remote:        Loading 2 from cacheDirectories (default):
remote:        - node_modules
remote:        - bower_components (not cached - skipping)
remote: 
remote: -----> Building dependencies
remote:        Installing node modules (package.json + package-lock)
remote:        added 138 packages, removed 29 packages, updated 55 packages and moved 38 packages in 15.982s
remote:        Running heroku-postbuild
remote:        
remote:        > [email protected] heroku-postbuild /tmp/build_ae550831d468592305c997f870a65ebf
remote:        > next build
remote:        
remote: module.js:471
remote:     throw err;
remote:     ^
remote: 
remote: Error: Cannot find module 'webpack'
remote:     at Function.Module._resolveFilename (module.js:469:15)
remote:     at Function.Module._load (module.js:417:25)
remote:     at Module.require (module.js:497:17)
remote:     at require (internal/module.js:20:19)
remote:     at Object.<anonymous> (/tmp/build_ae550831d468592305c997f870a65ebf/node_modules/next/dist/server/build/webpack.js:35:16)
remote:     at Module._compile (module.js:570:32)
remote:     at Object.Module._extensions..js (module.js:579:10)
remote:     at Module.load (module.js:487:32)
remote:     at tryModuleLoad (module.js:446:12)
remote:     at Function.Module._load (module.js:438:3)
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! [email protected] heroku-postbuild: `next build`
remote: npm ERR! Exit status 1
remote: npm ERR! 
remote: npm ERR! Failed at the [email protected] heroku-postbuild script.
remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
remote: 
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR!     /app/.npm/_logs/2017-08-17T12_08_45_682Z-debug.log
remote: 
remote: -----> Build failed
remote:        
remote:        We're sorry this build is failing! You can troubleshoot common issues here:
remote:        https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:        
remote:        Some possible problems:
remote:        
remote:        - Node version not specified in package.json
remote:        https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:        
remote:        Love,
remote:        Heroku
remote:        
remote:  !     Push rejected, failed to compile Node.js app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...

之前在 heroku 上运行良好,我对与“connect-redis”会话函数相关的 server.js 脚本进行了一些更新,现在发生了上述情况。

当我从 Heroku 实例中清除缓存时,出现如下错误:

Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 1.68 KiB | 0 bytes/s, done.
Total 15 (delta 10), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Node.js app detected
remote: 
remote: -----> Creating runtime environment
remote:        
remote:        NPM_CONFIG_LOGLEVEL=error
remote:        NPM_CONFIG_PRODUCTION=true
remote:        NODE_VERBOSE=false
remote:        NODE_ENV=production
remote:        NODE_MODULES_CACHE=true
remote: 
remote: -----> Installing binaries
remote:        engines.node (package.json):  unspecified
remote:        engines.npm (package.json):   unspecified (use default)
remote:        
remote:        Resolving node version 6.x...
remote:        Downloading and installing node 6.11.2...
remote:        Detected package-lock.json: defaulting npm to version 5.x.x
remote:        Bootstrapping npm 5.x.x (replacing 3.10.10)...
remote:        npm 5.3.0 installed
remote: 
remote: -----> Restoring cache
remote:        Skipping cache restore (not-found)
remote: 
remote: -----> Building dependencies
remote:        Installing node modules (package.json + package-lock)
remote:        
remote:        > [email protected] install /tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/tomahawk/node_modules/socket.io/node_modules/engine.io/node_modules/ws
remote:        > (node-gyp rebuild 2> builderror.log) || (exit 0)
remote:        
remote:        make: Entering directory '/tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/tomahawk/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
remote:        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
remote:        bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
remote:        make: Leaving directory '/tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/tomahawk/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
remote:        
remote:        > [email protected] install /tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/tomahawk/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
remote:        > (node-gyp rebuild 2> builderror.log) || (exit 0)
remote:        
remote:        make: Entering directory '/tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/tomahawk/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
remote:        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
remote:        bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
remote:        make: Leaving directory '/tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/tomahawk/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
remote:        
remote:        > [email protected] postinstall /tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/uglifyjs-webpack-plugin
remote:        > node lib/post_install.js
remote:        
remote:        added 1009 packages in 41.242s
remote:        Running heroku-postbuild
remote:        
remote:        > [email protected] heroku-postbuild /tmp/build_6e7c0b3c49351b622334001f0b7aa85b
remote:        > next build
remote:        
remote: module.js:471
remote:     throw err;
remote:     ^
remote: 
remote: Error: Cannot find module 'webpack/lib/RequestShortener'
remote:     at Function.Module._resolveFilename (module.js:469:15)
remote:     at Function.Module._load (module.js:417:25)
remote:     at Module.require (module.js:497:17)
remote:     at require (internal/module.js:20:19)
remote:     at Object.<anonymous> (/tmp/build_6e7c0b3c49351b622334001f0b7aa85b/node_modules/friendly-errors-webpack-plugin/src/core/extractWebpackError.js:4:26)
remote:     at Module._compile (module.js:570:32)
remote:     at Object.Module._extensions..js (module.js:579:10)
remote:     at Module.load (module.js:487:32)
remote:     at tryModuleLoad (module.js:446:12)
remote:     at Function.Module._load (module.js:438:3)
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! [email protected] heroku-postbuild: `next build`
remote: npm ERR! Exit status 1
remote: npm ERR! 
remote: npm ERR! Failed at the [email protected] heroku-postbuild script.
remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
remote: 
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR!     /app/.npm/_logs/2017-08-17T12_15_48_787Z-debug.log
remote: 
remote: -----> Build failed
remote:        
remote:        We're sorry this build is failing! You can troubleshoot common issues here:
remote:        https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:        
remote:        Some possible problems:
remote:        
remote:        - Node version not specified in package.json
remote:        https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:        
remote:        Love,
remote:        Heroku
remote:        
remote:  !     Push rejected, failed to compile Node.js app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !   Push rejected to ....
remote: 

@paulwehner看起来很奇怪,如果你重新生成package-lock.json会发生什么 - 或者实际上,使用纱线锁文件?

从 Next.js 3 beta 升级到 3.2.2 后,Heroku 找不到 NPM,但禁用 Heroku 的 Node 模块缓存解决了它:

heroku config:set NODE_MODULES_CACHE=false

如果问题是Heroku 生产,则来源不安装devDependecies

所以转移到依赖关系所有你需要的构建模块。

只是丑陋,但 Heroku 就是这样工作的......

一些值得检查的事情,其中​​一些已经在这里指出:

  • 只使用依赖项,而不是开发依赖项
  • 使用 postinstall 运行任何构建脚本(例如 typescript)
  • 使用 process.env.PORT 变量(不是 process.env.port)来允许 heroku 设置端口
  • 确保标记为异步的函数确实是异步的。 可以在本地工作,但在 heroku 构建时中断

如果您仍然遇到问题,这是另一个有趣的解决方案。 创建一个构建.next包的预启动脚本,然后延迟启动命令。

./prestart.js

// Delay the yarn start script until .next has been fully built
setTimeout(function() {
  let exec = require('child_process').exec, child;

  child = exec('yarn build',
    function (error, stdout, stderr) {
      console.log('stdout: ' + stdout);
      console.log('stderr: ' + stderr);
      if (error !== null) {
        console.log('exec error: ' + error);
      }
    });
}, 5000)

./package.json

假设您使用的是自定义 server.js 文件。 如果没有,只需运行next start作为start脚本。

"scripts": {
    "build": "next build",
    "prestart": "node ./prestart.js",
    "start": "NODE_ENV=production node server.js -p $PORT",
  },

看起来这个问题更接近https://github.com/zeit/next.js/issues/3533

我在下一个 5,在 heroku 上遇到同样的问题

部署后heroku上的错误片段

2018-02-15T19:57:06.616452+00:00 app[web.1]:     at require (internal/module.js:20:19)
2018-02-15T19:57:06.616456+00:00 app[web.1]:     at Object.187 (/app/.next/dist/bundles/pages/_document.js:86:18)
2018-02-15T19:57:06.616458+00:00 app[web.1]:     at __webpack_require__ (/app/.next/dist/bundles/pages/_document.js:23:31)
2018-02-15T19:57:06.616460+00:00 app[web.1]:     at Object.186 (/app/.next/dist/bundles/pages/_document.js:78:18)
2018-02-15T19:57:06.616461+00:00 app[web.1]:     at __webpack_require__ (/app/.next/dist/bundles/pages/_document.js:23:31)
2018-02-15T19:57:06.616463+00:00 app[web.1]:     at /app/.next/dist/bundles/pages/_document.js:70:18
2018-02-15T19:57:06.616465+00:00 app[web.1]:     at Object.<anonymous> (/app/.next/dist/bundles/pages/_document.js:73:10) code: 'MODULE_NOT_FOUND' }
2018-02-15T19:57:06.623908+00:00 app[web.1]: { Error: Cannot find module '/tmp/build_9ecf90c5383be7151436c12b01c561e1/node_modules/next/dist/pages/_error.js'
2018-02-15T19:57:06.623910+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:476:15)
2018-02-15T19:57:06.623911+00:00 app[web.1]:     at Function.Module._load (module.js:424:25)
2018-02-15T19:57:06.623912+00:00 app[web.1]:     at Module.require (module.js:504:17)
2018-02-15T19:57:06.623914+00:00 app[web.1]:     at require (internal/module.js:20:19)
2018-02-15T19:57:06.623915+00:00 app[web.1]:     at Object.185 (/app/.next/dist/bundles/pages/_error.js:86:18)
2018-02-15T19:57:06.623916+00:00 app[web.1]:     at __webpack_require__ (/app/.next/dist/bundles/pages/_error.js:23:31)
2018-02-15T19:57:06.623917+00:00 app[web.1]:     at Object.184 (/app/.next/dist/bundles/pages/_error.js:78:18)
2018-02-15T19:57:06.623919+00:00 app[web.1]:     at __webpack_require__ (/app/.next/dist/bundles/pages/_error.js:23:31)
2018-02-15T19:57:06.623920+00:00 app[web.1]:     at /app/.next/dist/bundles/pages/_error.js:70:18
2018-02-15T19:57:06.623921+00:00 app[web.1]:     at Object.<anonymous> (/app/.next/dist/bundles/pages/_error.js:73:10) code: 'MODULE_NOT_FOUND' }

@craigcartmell它对我来说效果很好。

我知道这似乎不是“最好的”解决方案,但作为一种快速修复,它非常适合。

谢谢。

"scripts": { "prestart": "next build", "start": "next start -p ${PORT}", }
@dotcypress上面的解决方案让我最终至少可以加载我的主页......但如果我转到“/”以外的任何其他路线,我会收到此错误。 看来我可以很好地加载文件,但是在路由上出现 500 错误?

screen shot 2018-02-26 at 3 05 30 am

是的,这在接下来的 5 年中肯定仍然存在,或者可能重新出现,无论如何。 这个问题应该重新打开。 我正在编译打字稿,但无论我使用awesome-ts-loader还是普通next-typescript ,使用heroku-postbuildpostinstall来构建都会烘烤绝对路径。 这个问题也是第一个google搜索结果。 使用prestart是一个幼稚的解决方案,因为即使是中等大小的应用程序也会导致启动超时......

2018-03-19T12:03:31.030588+00:00 app[web.1]: { Error: Cannot find module '/tmp/build_c20f3b76f6bee76686e9fc44cf4184d1/app-name-25af881616238ff70d6efecd625937324fb80679/node_modules/next/dist/pages/_error.js'
2018-03-19T12:03:31.030600+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:543:15)
2018-03-19T12:03:31.030602+00:00 app[web.1]:     at Function.Module._load (module.js:470:25)
2018-03-19T12:03:31.030603+00:00 app[web.1]:     at Module.require (module.js:593:17)
2018-03-19T12:03:31.030604+00:00 app[web.1]:     at require (internal/module.js:11:18)
2018-03-19T12:03:31.030606+00:00 app[web.1]:     at Object.36 (/app/.next/dist/bundles/pages/_error.js:86:18)
2018-03-19T12:03:31.030608+00:00 app[web.1]:     at __webpack_require__ (/app/.next/dist/bundles/pages/_error.js:23:31)
2018-03-19T12:03:31.030609+00:00 app[web.1]:     at Object.35 (/app/.next/dist/bundles/pages/_error.js:78:18)
2018-03-19T12:03:31.030611+00:00 app[web.1]:     at __webpack_require__ (/app/.next/dist/bundles/pages/_error.js:23:31)
2018-03-19T12:03:31.030612+00:00 app[web.1]:     at /app/.next/dist/bundles/pages/_error.js:70:18
2018-03-19T12:03:31.030614+00:00 app[web.1]:     at Object.<anonymous> (/app/.next/dist/bundles/pages/_error.js:73:10) code: 'MODULE_NOT_FOUND' }

解决它! 我刚刚添加了@mars/heroku-nextjs-build并设置了我的"postbuild": "heroku-nextjs-build" 。 显然,这是一种旧的、过时的方法,并且不需要,但我不敢苟同。 终于松了口气。 留下其余的评论,以防下一个想要真正解决这个问题。

我的应用使用next@4 可以很好地部署。 升级到next@5我得到Cannot find module错误。

现在升级到next@canary ,很快就会有一个新的稳定版本👍

大家好,
在heroku上部署时我遇到了一些问题。 完成构建后 heroku 日志显示了一些错误。 请帮帮我。

2018-08-02T11:37:50.384799+00:00 heroku[web.1]:使用命令npm start启动进程
2018-08-02T11:37:52.479778+00:00 应用[web.1]:
2018-08-02T11:37:52.479800+00:00 app[web.1]: > [email protected] start /app
2018-08-02T11:37:52.479802+00:00 app[web.1]: > cross-env NODE_ENV=开发节点服务器
2018-08-02T11:37:52.479804+00:00 应用[web.1]:
2018-08-02T11:37:52.830037+00:00 应用 [web.1]: 内部/模块/cjs/loader.js:583
2018-08-02T11:37:52.830072+00:00 应用 [web.1]:抛出错误;
2018-08-02T11:37:52.830074+00:00 应用 [web.1]: ^
2018-08-02T11:37:52.830076+00:00 应用[web.1]:
2018-08-02T11:37:52.830079+00:00 app[web.1]:错误:找不到模块“webpack”
2018-08-02T11:37:52.830081+00:00 app[web.1]: 在 Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
2018-08-02T11:37:52.830083+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:507:25)
2018-08-02T11:37:52.830085+00:00 app[web.1]: 在 Module.require (internal/modules/cjs/loader.js:637:17)
2018-08-02T11:37:52.830087+00:00 应用程序 [web.1]:在需要时(内部/模块/cjs/helpers.js:20:18)
2018-08-02T11:37:52.830089+00:00 应用程序 [web.1]:在对象。(/app/internals/webpack/webpack.dev.babel.js:8:17)
2018-08-02T11:37:52.830091+00:00 app[web.1]: 在 Module._compile (internal/modules/cjs/loader.js:689:30)
2018-08-02T11:37:52.830092+00:00 app[web.1]: 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
2018-08-02T11:37:52.830095+00:00 app[web.1]: 在 Module.load (internal/modules/cjs/loader.js:599:32)
2018-08-02T11:37:52.830097+00:00 app[web.1]: 在 tryModuleLoad (internal/modules/cjs/loader.js:538:12)
2018-08-02T11:37:52.830098+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:530:3)
2018-08-02T11:37:52.841737+00:00 应用程序 [web.1]:npm 错误! 代码生命周期
2018-08-02T11:37:52.842251+00:00 应用程序 [web.1]:npm 错误! 错误号 1
2018-08-02T11:37:52.847589+00:00 应用程序 [web.1]:npm 错误! [email protected]开始: cross-env NODE_ENV=development node server
2018-08-02T11:37:52.847598+00:00 应用 [web.1]:npm 错误! 退出状态 1
2018-08-02T11:37:52.847601+00:00 应用程序 [web.1]:npm 错误!
2018-08-02T11:37:52.847604+00:00 应用程序 [web.1]:npm 错误! [email protected]启动脚本失败。
2018-08-02T11:37:52.847606+00:00 应用 [web.1]:npm 错误! 这可能不是 npm 的问题。 上面可能有额外的日志输出。
2018-08-02T11:37:52.852427+00:00 应用[web.1]:
2018-08-02T11:37:52.853063+00:00 应用程序 [web.1]:npm 错误! 可以在以下位置找到此运行的完整日志:
2018-08-02T11:37:52.853067+00:00 应用程序 [web.1]:npm 错误! /app/.npm/_logs/2018-08-02T11_37_52_846Z-debug.log
2018-08-02T11:37:52.936888+00:00 heroku[web.1]:状态从开始变为崩溃
2018-08-02T11:37:52.939706+00:00 heroku[web.1]:状态从崩溃变为启动
2018-08-02T11:37:52.917875+00:00 heroku[web.1]:进程以状态 1 退出
2018-08-02T11:37:56.000000+00:00 app[api]:构建成功
2018-08-02T11:37:58.666367+00:00 heroku[web.1]:使用命令npm start启动进程
2018-08-02T11:38:01.987224+00:00 应用[web.1]:
2018-08-02T11:38:01.987249+00:00 app[web.1]: > [email protected] start /app
2018-08-02T11:38:01.987252+00:00 app[web.1]: > cross-env NODE_ENV=开发节点服务器
2018-08-02T11:38:01.987253+00:00 应用[web.1]:
2018-08-02T11:38:02.431047+00:00 应用 [web.1]: 内部/模块/cjs/loader.js:583
2018-08-02T11:38:02.431072+00:00 应用 [web.1]:抛出错误;
2018-08-02T11:38:02.431073+00:00 应用 [web.1]: ^
2018-08-02T11:38:02.431075+00:00 应用程序[web.1]:
2018-08-02T11:38:02.431076+00:00 app[web.1]:错误:找不到模块“webpack”
2018-08-02T11:38:02.431078+00:00 app[web.1]: 在 Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
2018-08-02T11:38:02.431079+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:507:25)
2018-08-02T11:38:02.431081+00:00 app[web.1]: 在 Module.require (internal/modules/cjs/loader.js:637:17)
2018-08-02T11:38:02.431082+00:00 应用程序 [web.1]:在需要时 (internal/modules/cjs/helpers.js:20:18)
2018-08-02T11:38:02.431084+00:00 应用程序 [web.1]:在对象。(/app/internals/webpack/webpack.dev.babel.js:8:17)
2018-08-02T11:38:02.431085+00:00 app[web.1]: 在 Module._compile (internal/modules/cjs/loader.js:689:30)
2018-08-02T11:38:02.431086+00:00 app[web.1]: 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
2018-08-02T11:38:02.431088+00:00 app[web.1]: 在 Module.load (internal/modules/cjs/loader.js:599:32)
2018-08-02T11:38:02.431089+00:00 app[web.1]: 在 tryModuleLoad (internal/modules/cjs/loader.js:538:12)
2018-08-02T11:38:02.431091+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:530:3)
2018-08-02T11:38:02.440582+00:00 应用程序 [web.1]:npm 错误! 代码生命周期
2018-08-02T11:38:02.441020+00:00 应用程序 [web.1]:npm 错误! 错误号 1
2018-08-02T11:38:02.442131+00:00 应用 [web.1]:npm 错误! [email protected]开始: cross-env NODE_ENV=development node server
2018-08-02T11:38:02.442285+00:00 应用程序 [web.1]:npm 错误! 退出状态 1
2018-08-02T11:38:02.442519+00:00 应用程序 [web.1]:npm 错误!
2018-08-02T11:38:02.442686+00:00 应用程序 [web.1]:npm 错误! [email protected]启动脚本失败。
2018-08-02T11:38:02.442843+00:00 应用程序 [web.1]:npm 错误! 这可能不是 npm 的问题。 上面可能有额外的日志输出。
2018-08-02T11:38:02.447318+00:00 应用[web.1]:
2018-08-02T11:38:02.447457+00:00 应用程序 [web.1]:npm 错误! 可以在以下位置找到此运行的完整日志:
2018-08-02T11:38:02.447542+00:00 应用 [web.1]:npm 错误! /app/.npm/_logs/2018-08-02T11_38_02_444Z-debug.log
2018-08-02T11:38:02.500683+00:00 heroku[web.1]:进程以状态 1 退出
2018-08-02T11:38:02.521430+00:00 heroku[web.1]:状态从开始变为崩溃
2018-08-02T11:38:06.378583+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/" host=react-boilerplate-d.herokuapp.com request_id =0628c426-9466-4c9d-a38c-22e8923cc981 fwd="111.93.125.106" 测功机=连接=服务=状态=503字节=协议=https
2018-08-02T11:38:07.848705+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=react-boilerplate-d.herokuapp .com request_id=28182669-14d4-4ce1-8274-09c0db1b4aba fwd="111.93.125.106" dyno= connect= service= status=503 bytes= protocol=https

大家好,
在heroku上部署时我遇到了一些问题。 完成构建后 heroku 日志显示了一些错误。 请帮帮我。

2018-08-02T11:37:50.384799+00:00 heroku[web.1]:使用命令npm start启动进程
2018-08-02T11:37:52.479778+00:00 应用[web.1]:
2018-08-02T11:37:52.479800+00:00 app[web.1]: > [email protected] start /app
2018-08-02T11:37:52.479802+00:00 app[web.1]: > cross-env NODE_ENV=开发节点服务器
2018-08-02T11:37:52.479804+00:00 应用[web.1]:
2018-08-02T11:37:52.830037+00:00 应用 [web.1]: 内部/模块/cjs/loader.js:583
2018-08-02T11:37:52.830072+00:00 应用 [web.1]:抛出错误;
2018-08-02T11:37:52.830074+00:00 应用 [web.1]: ^
2018-08-02T11:37:52.830076+00:00 应用[web.1]:
2018-08-02T11:37:52.830079+00:00 app[web.1]:错误:找不到模块“webpack”
2018-08-02T11:37:52.830081+00:00 app[web.1]: 在 Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
2018-08-02T11:37:52.830083+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:507:25)
2018-08-02T11:37:52.830085+00:00 app[web.1]: 在 Module.require (internal/modules/cjs/loader.js:637:17)
2018-08-02T11:37:52.830087+00:00 应用程序 [web.1]:在需要时(内部/模块/cjs/helpers.js:20:18)
2018-08-02T11:37:52.830089+00:00 应用程序 [web.1]:在对象。(/app/internals/webpack/webpack.dev.babel.js:8:17)
2018-08-02T11:37:52.830091+00:00 app[web.1]: 在 Module._compile (internal/modules/cjs/loader.js:689:30)
2018-08-02T11:37:52.830092+00:00 app[web.1]: 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
2018-08-02T11:37:52.830095+00:00 app[web.1]: 在 Module.load (internal/modules/cjs/loader.js:599:32)
2018-08-02T11:37:52.830097+00:00 app[web.1]: 在 tryModuleLoad (internal/modules/cjs/loader.js:538:12)
2018-08-02T11:37:52.830098+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:530:3)
2018-08-02T11:37:52.841737+00:00 应用程序 [web.1]:npm 错误! 代码生命周期
2018-08-02T11:37:52.842251+00:00 应用程序 [web.1]:npm 错误! 错误号 1
2018-08-02T11:37:52.847589+00:00 应用程序 [web.1]:npm 错误! [email protected]开始: cross-env NODE_ENV=development node server
2018-08-02T11:37:52.847598+00:00 应用 [web.1]:npm 错误! 退出状态 1
2018-08-02T11:37:52.847601+00:00 应用程序 [web.1]:npm 错误!
2018-08-02T11:37:52.847604+00:00 应用程序 [web.1]:npm 错误! [email protected]启动脚本失败。
2018-08-02T11:37:52.847606+00:00 应用 [web.1]:npm 错误! 这可能不是 npm 的问题。 上面可能有额外的日志输出。
2018-08-02T11:37:52.852427+00:00 应用[web.1]:
2018-08-02T11:37:52.853063+00:00 应用程序 [web.1]:npm 错误! 可以在以下位置找到此运行的完整日志:
2018-08-02T11:37:52.853067+00:00 应用程序 [web.1]:npm 错误! /app/.npm/_logs/2018-08-02T11_37_52_846Z-debug.log
2018-08-02T11:37:52.936888+00:00 heroku[web.1]:状态从开始变为崩溃
2018-08-02T11:37:52.939706+00:00 heroku[web.1]:状态从崩溃变为启动
2018-08-02T11:37:52.917875+00:00 heroku[web.1]:进程以状态 1 退出
2018-08-02T11:37:56.000000+00:00 app[api]:构建成功
2018-08-02T11:37:58.666367+00:00 heroku[web.1]:使用命令npm start启动进程
2018-08-02T11:38:01.987224+00:00 应用[web.1]:
2018-08-02T11:38:01.987249+00:00 app[web.1]: > [email protected] start /app
2018-08-02T11:38:01.987252+00:00 app[web.1]: > cross-env NODE_ENV=开发节点服务器
2018-08-02T11:38:01.987253+00:00 应用[web.1]:
2018-08-02T11:38:02.431047+00:00 应用 [web.1]: 内部/模块/cjs/loader.js:583
2018-08-02T11:38:02.431072+00:00 应用 [web.1]:抛出错误;
2018-08-02T11:38:02.431073+00:00 应用 [web.1]: ^
2018-08-02T11:38:02.431075+00:00 应用程序[web.1]:
2018-08-02T11:38:02.431076+00:00 app[web.1]:错误:找不到模块“webpack”
2018-08-02T11:38:02.431078+00:00 app[web.1]: 在 Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
2018-08-02T11:38:02.431079+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:507:25)
2018-08-02T11:38:02.431081+00:00 app[web.1]: 在 Module.require (internal/modules/cjs/loader.js:637:17)
2018-08-02T11:38:02.431082+00:00 应用程序 [web.1]:在需要时 (internal/modules/cjs/helpers.js:20:18)
2018-08-02T11:38:02.431084+00:00 应用程序 [web.1]:在对象。(/app/internals/webpack/webpack.dev.babel.js:8:17)
2018-08-02T11:38:02.431085+00:00 app[web.1]: 在 Module._compile (internal/modules/cjs/loader.js:689:30)
2018-08-02T11:38:02.431086+00:00 app[web.1]: 在 Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
2018-08-02T11:38:02.431088+00:00 app[web.1]: 在 Module.load (internal/modules/cjs/loader.js:599:32)
2018-08-02T11:38:02.431089+00:00 app[web.1]: 在 tryModuleLoad (internal/modules/cjs/loader.js:538:12)
2018-08-02T11:38:02.431091+00:00 app[web.1]: 在 Function.Module._load (internal/modules/cjs/loader.js:530:3)
2018-08-02T11:38:02.440582+00:00 应用程序 [web.1]:npm 错误! 代码生命周期
2018-08-02T11:38:02.441020+00:00 应用程序 [web.1]:npm 错误! 错误号 1
2018-08-02T11:38:02.442131+00:00 应用 [web.1]:npm 错误! [email protected]开始: cross-env NODE_ENV=development node server
2018-08-02T11:38:02.442285+00:00 应用程序 [web.1]:npm 错误! 退出状态 1
2018-08-02T11:38:02.442519+00:00 应用程序 [web.1]:npm 错误!
2018-08-02T11:38:02.442686+00:00 应用程序 [web.1]:npm 错误! [email protected]启动脚本失败。
2018-08-02T11:38:02.442843+00:00 应用程序 [web.1]:npm 错误! 这可能不是 npm 的问题。 上面可能有额外的日志输出。
2018-08-02T11:38:02.447318+00:00 应用[web.1]:
2018-08-02T11:38:02.447457+00:00 应用程序 [web.1]:npm 错误! 可以在以下位置找到此运行的完整日志:
2018-08-02T11:38:02.447542+00:00 应用 [web.1]:npm 错误! /app/.npm/_logs/2018-08-02T11_38_02_444Z-debug.log
2018-08-02T11:38:02.500683+00:00 heroku[web.1]:进程以状态 1 退出
2018-08-02T11:38:02.521430+00:00 heroku[web.1]:状态从开始变为崩溃
2018-08-02T11:38:06.378583+00:00 heroku[路由器]: at=error code=H10 desc="App crashed" method=GET path="/" host=react-boilerplate-d.herokuapp.com request_id =0628c426-9466-4c9d-a38c-22e8923cc981 fwd="111.93.125.106" 测功机=连接=服务=状态=503字节=协议=https
2018-08-02T11:38:07.848705+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=react-boilerplate-d.herokuapp .com request_id=28182669-14d4-4ce1-8274-09c0db1b4aba fwd="111.93.125.106" dyno= connect= service= status=503 bytes= protocol=https

我和你们所有人都有同样的问题。

本地它可以工作,但是在 heroku 或 NOW 中,有相同的错误。

如何解决? 或者我可以在哪里部署它?

大家好,

Next v8 似乎也发生了同样的问题。

这是我的设置。

  • 仅使用依赖项(无开发依赖项)
  • .next 和 node-modules 通过 gitignore 被排除
  • NPM_CONFIG_LOGLEVEL=错误
  • NODE_ENV=生产
  • NODE_MODULES_CACHE=真
  • NODE_VERBOSE=假

我尝试了一些方法来让构建按预期运行。

  • postinstall、heroku-postbuild 和 Procfile。
  • 在所有 3 次尝试中都尝试了“npm run build”和“next build”

无论我做什么 - 这是我得到的日志减去不同方法的预期差异。

-----> Node.js app detected

-----> Creating runtime environment

       NPM_CONFIG_LOGLEVEL=error
       NODE_ENV=production
       NODE_MODULES_CACHE=true
       NODE_VERBOSE=false

-----> Installing binaries
       engines.node (package.json):  10.15.0
       engines.npm (package.json):   6.8.0

       Resolving node version 10.15.0...
       Downloading and installing node 10.15.0...
       Bootstrapping npm 6.8.0 (replacing 6.4.1)...
       npm 6.8.0 installed

-----> Restoring cache
       - node_modules is checked into source control and cannot be cached

-----> Building dependencies
       Prebuild detected (node_modules already exists)
       Rebuilding any native modules

       > [email protected] install /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents
       > node install

       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/next
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/core
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/code-frame
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/highlight
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/chalk
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ansi-styles
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/color-convert
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/color-name
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/escape-string-regexp
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/supports-color
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/has-flag
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/esutils
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/js-tokens
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/generator
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/types
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/lodash
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/to-fast-properties
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/jsesc
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/source-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/trim-right
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helpers
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/template
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/parser
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/traverse
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-function-name
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-get-function-arity
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-split-export-declaration
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/traverse/node_modules/debug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ms
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/globals
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/convert-source-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/safe-buffer
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/debug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/json5
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/resolve
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-parse
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/semver
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-proposal-class-properties
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-member-expression-to-functions
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-optimise-call-expression
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-plugin-utils
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-replace-supers
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-class-properties
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-proposal-object-rest-spread
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-object-rest-spread
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-dynamic-import
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-modules-commonjs
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-module-transforms
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-module-imports
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-simple-access
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-module-transforms/node_modules/@babel/template
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-runtime
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-runtime/node_modules/resolve
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/preset-env
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-proposal-async-generator-functions
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-remap-async-to-generator
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-annotate-as-pure
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-wrap-function
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-async-generators
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-proposal-json-strings
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-json-strings
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-proposal-optional-catch-binding
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-optional-catch-binding
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-proposal-unicode-property-regex
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regexpu-core
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regenerate
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regenerate-unicode-properties
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regjsgen
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regjsparser
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regjsparser/node_modules/jsesc
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unicode-match-property-ecmascript
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unicode-canonical-property-names-ecmascript
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unicode-property-aliases-ecmascript
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unicode-match-property-value-ecmascript
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-arrow-functions
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-async-to-generator
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-block-scoped-functions
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-block-scoping
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-classes
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-define-map
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-computed-properties
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-destructuring
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-dotall-regex
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-duplicate-keys
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-exponentiation-operator
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-builder-binary-assignment-operator-visitor
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-explode-assignable-expression
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-for-of
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-function-name
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-literals
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-modules-amd
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-modules-systemjs
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-hoist-variables
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-modules-umd
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-new-target
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-object-super
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-parameters
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-call-delegate
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-regenerator
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regenerator-transform
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/private
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-shorthand-properties
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-spread
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-sticky-regex
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-template-literals
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-typeof-symbol
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-unicode-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserslist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/caniuse-lite
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/electron-to-chromium
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/node-releases
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/invariant
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/loose-envify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/js-levenshtein
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/preset-react
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-react-display-name
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-react-jsx
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/helper-builder-react-jsx
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-syntax-jsx
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-react-jsx-self
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/plugin-transform-react-jsx-source
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/runtime
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regenerator-runtime
       @babel/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@babel/runtime-corejs2
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/core-js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/autodll-webpack-plugin
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/bluebird
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/del
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/globby
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-union
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-uniq
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/glob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fs.realpath
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/inflight
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/once
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/wrappy
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/inherits
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/minimatch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/brace-expansion
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/balanced-match
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/concat-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-is-absolute
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object-assign
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/globby/node_modules/pify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pinkie-promise
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pinkie
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-path-cwd
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-path-in-cwd
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-path-inside
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-is-inside
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/p-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/rimraf
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/rimraf/node_modules/glob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/find-cache-dir
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/commondir
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/make-dir
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pkg-dir
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/find-up
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/locate-path
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/p-locate
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/p-limit
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/p-try
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-exists
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/memory-fs
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/errno
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/prr
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/readable-stream
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/core-util-is
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/isarray
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/process-nextick-args
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/string_decoder
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/util-deprecate
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/read-pkg
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/load-json-file
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/graceful-fs
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/parse-json
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/error-ex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-arrayish
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/load-json-file/node_modules/pify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/strip-bom
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/normalize-package-data
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/hosted-git-info
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/validate-npm-package-license
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/spdx-correct
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/spdx-expression-parse
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/spdx-exceptions
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/spdx-license-ids
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-type
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-type/node_modules/pify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/tapable
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack-merge
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack-sources
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/source-list-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-core
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-loader
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/loader-utils
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/big.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/emojis-list
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/mkdirp
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/minimist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/util.promisify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/define-properties
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object-keys
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object.getownpropertydescriptors
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/es-abstract
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/es-to-primitive
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-callable
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-date-object
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-symbol
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/has-symbols
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/function-bind
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/has
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-plugin-react-require
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-plugin-transform-react-remove-prop-types
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/cacache
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/chownr
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/figgy-pudding
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/cacache/node_modules/glob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/lru-cache
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/yallist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/mississippi
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/concat-stream
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/buffer-from
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/typedarray
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/duplexify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/end-of-stream
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/stream-shift
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/flush-write-stream
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/from2
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/parallel-transform
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/cyclist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pump
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pumpify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pumpify/node_modules/pump
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/stream-each
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/through2
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/xtend
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/move-concurrently
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/aproba
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/copy-concurrently
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fs-write-stream-atomic
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/iferr
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/imurmurhash
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/run-queue
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/promise-inflight
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ssri
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unique-filename
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unique-slug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/y18n
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/case-sensitive-paths-webpack-plugin
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/cross-spawn
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/shebang-command
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/shebang-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/which
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/isexe
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/event-source-polyfill
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fresh
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/hoist-non-react-statics
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/http-status
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/launch-editor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/shell-quote
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-filter
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-reduce
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/jsonify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/mkdirp-then
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/any-promise
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/nanoid
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/prop-types
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/prop-types-exact
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object.assign
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/reflect.ownkeys
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/react-error-overlay
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/recursive-copy
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/recursive-copy/node_modules/del
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/recursive-copy/node_modules/globby
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/arrify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/recursive-copy/node_modules/pify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/emitter-mixin
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/junk
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/maximatch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-differ
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/promise
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/asap
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/slash
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/schema-utils
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ajv
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fast-deep-equal
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fast-json-stable-stringify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/json-schema-traverse
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/uri-js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/punycode
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ajv-errors
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ajv-keywords
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/serialize-javascript
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/strip-ansi
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ansi-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/styled-jsx
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-plugin-syntax-jsx
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-types
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-runtime
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-runtime/node_modules/regenerator-runtime
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/babel-types/node_modules/to-fast-properties
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/styled-jsx/node_modules/source-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/string-hash
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/stylis
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/stylis-rule-sheet
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/terser
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/commander
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/source-map-support
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unfetch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/url
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/querystring
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/ast
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-module-context
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-wasm-bytecode
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/wast-parser
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/floating-point-hex-parser
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-api-error
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-code-frame
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/wast-printer
       @xtuc/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@xtuc/long
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-fsm
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/wasm-edit
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-buffer
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/helper-wasm-section
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/wasm-gen
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/ieee754
       @xtuc/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@xtuc/ieee754
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/leb128
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/utf8
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/wasm-opt
       @webassemblyjs/[email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/@webassemblyjs/wasm-parser
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/acorn
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/acorn-dynamic-import
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/chrome-trace-event
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/tslib
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/enhanced-resolve
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/eslint-scope
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/esrecurse
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/estraverse
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/json-parse-better-errors
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/loader-runner
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/micromatch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/arr-diff
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/array-unique
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/braces
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/arr-flatten
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/braces/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-extendable
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fill-range
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fill-range/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-number
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-number/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-buffer
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/repeat-string
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/to-regex-range
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/isobject
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/repeat-element
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/base
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/cache-base
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/collection-visit
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/map-visit
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object-visit
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/component-emitter
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/get-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/has-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/has-values
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/has-values/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/set-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/set-value/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-plain-object
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/split-string
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/assign-symbols
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extend-shallow/node_modules/is-extendable
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/to-object-path
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/to-object-path/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/union-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/arr-union
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/union-value/node_modules/set-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/union-value/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unset-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unset-value/node_modules/has-value
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unset-value/node_modules/has-values
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/unset-value/node_modules/has-value/node_modules/isobject
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/class-utils
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/class-utils/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-accessor-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-accessor-descriptor/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-data-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-data-descriptor/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-descriptor/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/static-extend
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/static-extend/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object-copy
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/copy-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object-copy/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object-copy/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/base/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/base/node_modules/is-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/base/node_modules/is-accessor-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/base/node_modules/is-data-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/mixin-deep
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/for-in
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/mixin-deep/node_modules/is-extendable
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pascalcase
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon/node_modules/debug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon/node_modules/ms
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/map-cache
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/source-map-resolve
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/atob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/decode-uri-component
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/resolve-url
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/source-map-url
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/urix
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/use
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-node
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-node/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-node/node_modules/is-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-node/node_modules/is-accessor-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-node/node_modules/is-data-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-util
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/snapdragon-util/node_modules/kind-of
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/to-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/define-property/node_modules/is-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/define-property/node_modules/is-accessor-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/define-property/node_modules/is-data-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/regex-not
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/safe-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ret
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extglob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extglob/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extglob/node_modules/is-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extglob/node_modules/is-accessor-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extglob/node_modules/is-data-descriptor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/expand-brackets
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/expand-brackets/node_modules/debug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/expand-brackets/node_modules/ms
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/expand-brackets/node_modules/define-property
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/expand-brackets/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/posix-character-classes
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/extglob/node_modules/extend-shallow
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fragment-cache
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/nanomatch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-windows
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/object.pick
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/neo-async
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/node-libs-browser
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/assert
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/assert/node_modules/util
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/assert/node_modules/inherits
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserify-zlib
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pako
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/buffer
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/base64-js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ieee754
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/console-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/date-now
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/constants-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/crypto-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserify-cipher
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserify-aes
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/buffer-xor
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/cipher-base
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/create-hash
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/md5.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/hash-base
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ripemd160
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/sha.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/evp_bytestokey
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserify-des
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/des.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/minimalistic-assert
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserify-sign
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/bn.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/browserify-rsa
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/randombytes
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/create-hmac
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/elliptic
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/brorand
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/hash.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/hmac-drbg
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/minimalistic-crypto-utils
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/parse-asn1
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/asn1.js
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pbkdf2
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/create-ecdh
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/diffie-hellman
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/miller-rabin
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/public-encrypt
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/randomfill
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/domain-browser
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/events
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/https-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/os-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/process
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/querystring-es3
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/stream-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/stream-http
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/builtin-status-codes
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/to-arraybuffer
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/timers-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/setimmediate
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/tty-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/util
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/vm-browserify
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/indexof
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack/node_modules/schema-utils
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/terser-webpack-plugin
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/worker-farm
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/watchpack
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/chokidar
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/anymatch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/normalize-path
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/async-each
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/glob-parent
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/glob-parent/node_modules/is-glob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-extglob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-dirname
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-binary-path
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/binary-extensions
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/is-glob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/readdirp
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/upath
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack-dev-middleware
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack-dev-middleware/node_modules/mime
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/range-parser
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack-log
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ansi-colors
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/uuid
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/webpack-hot-middleware
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ansi-html
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/html-entities
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/react-dom
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/scheduler
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/destroy
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/ee-first
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/encodeurl
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/escape-html
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/etag
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/http-errors
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/depd
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/setprototypeof
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/statuses
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/lodash.debounce
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/on-finished
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/path-to-regexp
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/pseudomap
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/remove-trailing-separator
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/mime
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/nan
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/send
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/send/node_modules/debug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/send/node_modules/ms
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/send/node_modules/statuses
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/node-pre-gyp
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/detect-libc
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/mkdirp
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/minimist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/needle
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/debug
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/ms
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/iconv-lite
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/safer-buffer
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/sax
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/nopt
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/abbrev
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/osenv
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/os-homedir
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/os-tmpdir
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/npm-packlist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/ignore-walk
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/minimatch
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/brace-expansion
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/balanced-match
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/concat-map
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/npm-bundled
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/npmlog
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/are-we-there-yet
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/delegates
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/readable-stream
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/core-util-is
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/inherits
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/isarray
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/process-nextick-args
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/safe-buffer
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/string_decoder
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/util-deprecate
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/console-control-strings
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/gauge
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/aproba
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/has-unicode
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/object-assign
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/signal-exit
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/string-width
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/code-point-at
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/is-fullwidth-code-point
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/number-is-nan
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/strip-ansi
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/ansi-regex
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/wide-align
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/set-blocking
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/rc
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/deep-extend
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/ini
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/rc/node_modules/minimist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/strip-json-comments
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/rimraf
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/glob
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/fs.realpath
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/inflight
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/once
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/wrappy
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/path-is-absolute
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/semver
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/tar
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/chownr
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/fs-minipass
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/minipass
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/yallist
       [email protected] /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/fsevents/node_modules/minizlib
       Installing any new modules (package.json)

       > [email protected] postinstall /tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/preact
       > node -e "console.log('\u001b[35m\u001b[1mLove Preact? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/preact/donate\u001b[0m')"

       Love Preact? You can now donate to our open collective:
        > https://opencollective.com/preact/donate
       added 96 packages from 95 contributors and audited 6608 packages in 7.591s
       found 0 vulnerabilities

       Running heroku-postbuild

       > [email protected] heroku-postbuild /tmp/build_aba62cec9b0ecc274830e615862f4fe3
       > next build

internal/modules/cjs/loader.js:583
    throw err;
    ^
Error: Cannot find module './webpack-config'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/tmp/build_aba62cec9b0ecc274830e615862f4fe3/node_modules/next/dist/build/index.js:10:42)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] heroku-postbuild: `next build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] heroku-postbuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npmcache.jn2Lb/_logs/2019-02-28T06_02_12_138Z-debug.log
-----> Build failed

       We're sorry this build is failing! You can troubleshoot common issues here:
       https://devcenter.heroku.com/articles/troubleshooting-node-deploys

       Some possible problems:

       - node_modules checked into source control
         https://blog.heroku.com/node-habits-2016#9-only-git-the-important-bits

       Love,
       Heroku

有什么想法吗?

"scripts": {
 "prestart": "next build",
 "start": "next start -p ${PORT}",
}

@dotcypress上面的解决方案让我最终至少可以加载我的主页......但如果我转到“/”以外的任何其他路线,我会收到此错误。 看来我可以很好地加载文件,但是在路由上出现 500 错误?

screen shot 2018-02-26 at 3 05 30 am

"scripts": {
 "prestart": "next build",
 "start": "next start -p ${PORT}",
}

@dotcypress上面的解决方案让我最终至少可以加载我的主页......但如果我转到“/”以外的任何其他路线,我会收到此错误。 看来我可以很好地加载文件,但是在路由上出现 500 错误?

screen shot 2018-02-26 at 3 05 30 am

这是唯一真正为我工作的。
因此,如果您有此错误,请添加以下内容:

"heroku-postbuild": "next build",
"start": "next start -p $PORT"

干杯

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

Knaackee picture Knaackee  ·  122评论

acanimal picture acanimal  ·  74评论

timneutkens picture timneutkens  ·  53评论

Vista1nik picture Vista1nik  ·  55评论

nickredmark picture nickredmark  ·  60评论