<p dir="auto">On, my local machine macOS 10.12.1 <code class="notranslate">babel-register</code> works fine under Node 4.3.2. On Travis, it works fine under Node versions 6, 6.1 and 5.11, but for some reason, during the Travis build/test under Node 4.3.2, it just can't find <code class="notranslate">babel-runtime/regenerator</code>.</p>
<p dir="auto">Here is my <a href="https://github.com/resistdesign/incarnate/blob/master/package.json">package.json</a>.</p>
<p dir="auto">Here is the raw Travis log:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
Worker information
hostname: ip-10-12-9-52:29dd9498-7d66-4d46-baf9-d9cc8e2a9fb4
version: v2.5.0-8-g19ea9c2 https://github.com/travis-ci/worker/tree/19ea9c20425c78100500c7cc935892b47024922c
instance: f986739:travis:node_js
startup: 592.774995ms
Build system information
Build language: node_js
Build group: stable
Build dist: precise
Build id: 186403304
Job id: 186403308
travis-build version: 7cac7d393
Build image provisioning date and time
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: &quot;linux&quot;, version: &quot;3.13.0-29-generic&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot;

$ export DEBIAN_FRONTEND=noninteractive
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-amd64_Packages.gz is not what the server reported 13782 14904
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages.gz is not what the server reported 19576 20785
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages.gz is not what the server reported 13751 14885
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages.gz is not what the server reported 19521 20707
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources.gz is not what the server reported 5886 5888
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_travis-ci_zero-mq_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 832 1195
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 33653 36677
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-i386_Packages.gz is not what the server reported 33699 36733
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libc-bin libc-dev-bin libc6-dev
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
Need to get 8,840 kB of archives.
After this operation, 14.3 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.15 [2,943 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.15 [84.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.15 [1,177 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.15 [4,636 kB]
Fetched 8,840 kB in 0s (36.2 MB/s)
Preconfiguring packages ...
(Reading database ... 69991 files and directories currently installed.)
Preparing to replace libc6-dev 2.15-0ubuntu10.10 (using .../libc6-dev_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-dev-bin 2.15-0ubuntu10.10 (using .../libc-dev-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.10 (using .../libc-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.15) ...
(Reading database ... 69990 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.10 (using .../libc6_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.15) ...
Setting up libc-dev-bin (2.15-0ubuntu10.15) ...
Setting up libc6-dev (2.15-0ubuntu10.15) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
$ git clone --depth=50 --branch=master https://github.com/resistdesign/incarnate.git resistdesign/incarnate
Cloning into 'resistdesign/incarnate'...
remote: Counting objects: 169, done.
remote: Compressing objects: 100% (140/140), done.
remote: Total 169 (delta 83), reused 97 (delta 27), pack-reused 0
Receiving objects: 100% (169/169), 25.71 KiB | 0 bytes/s, done.
Resolving deltas: 100% (83/83), done.
Checking connectivity... done.

$ cd resistdesign/incarnate
$ git checkout -qf a4acffa37fb005d344ae0ad8d56a6aa9213b40a9

This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
Updating nvm to v0.32.0
$ nvm install 4.3.2
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v4.3.2 (npm v2.14.12)

Starting with io.js 3 and Node.js 4, building native extensions requires C++11-compatible compiler, which seems unavailable on this VM. Please read https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements.
$ node --version
v4.3.2
$ npm --version
2.14.12
$ nvm --version
0.32.0
$ npm install 
npm WARN optional dep failed, continuing fsevents@1.0.15
mocha@3.2.0 node_modules/mocha
├── diff@1.4.0
├── browser-stdout@1.3.0
├── escape-string-regexp@1.0.5
├── growl@1.9.2
├── json3@3.3.2
├── supports-color@3.1.2 (has-flag@1.0.0)
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── debug@2.2.0 (ms@0.7.1)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── glob@7.0.5 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6, minimatch@3.0.3)
└── lodash.create@3.1.1 (lodash._basecreate@3.0.3, lodash._isiterateecall@3.0.9, lodash._baseassign@3.2.0)

expect@1.20.2 node_modules/expect
├── is-regex@1.0.3
├── object-keys@1.0.11
├── object-inspect@1.2.1
├── tmatch@2.0.1
├── has@1.0.1 (function-bind@1.1.0)
├── define-properties@1.1.2 (foreach@2.0.5)
└── is-equal@1.5.3 (is-arrow-function@2.0.3, is-number-object@1.0.3, is-date-object@1.0.1, is-string@1.0.4, is-callable@1.1.3, is-boolean-object@1.0.0, is-symbol@1.0.1, is-generator-function@1.0.6, object.entries@1.0.4)

npm-watch@0.1.7 node_modules/npm-watch
├── through2@2.0.3 (xtend@4.0.1, readable-stream@2.2.2)
└── nodemon@1.11.0 (ignore-by-default@1.0.1, undefsafe@0.0.3, es6-promise@3.3.1, debug@2.5.1, minimatch@3.0.3, touch@1.0.0, lodash.defaults@3.1.2, ps-tree@1.1.0, update-notifier@0.5.0, chokidar@1.6.1)

event-emitter@0.3.4 node_modules/event-emitter
├── d@0.1.1
└── es5-ext@0.10.12 (es6-symbol@3.1.0, es6-iterator@2.0.0)

babel-register@6.18.0 node_modules/babel-register
├── home-or-tmp@2.0.0 (os-tmpdir@1.0.2, os-homedir@1.0.2)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── source-map-support@0.4.7 (source-map@0.5.6)
├── babel-core@6.21.0 (babel-template@6.16.0, babel-messages@6.8.0, slash@1.0.0, path-is-absolute@1.0.1, babel-helpers@6.16.0, private@0.1.6, json5@0.5.1, babylon@6.14.1, convert-source-map@1.3.0, source-map@0.5.6, babel-types@6.21.0, debug@2.5.1, minimatch@3.0.3, babel-code-frame@6.20.0, babel-traverse@6.21.0, babel-generator@6.21.0)
├── babel-runtime@6.20.0 (regenerator-runtime@0.10.1)
├── lodash@4.17.2
└── core-js@2.4.1

babel-plugin-transform-object-rest-spread@6.20.2 node_modules/babel-plugin-transform-object-rest-spread
├── babel-plugin-syntax-object-rest-spread@6.13.0
└── babel-runtime@6.20.0 (regenerator-runtime@0.10.1, core-js@2.4.1)

babel-plugin-transform-runtime@6.15.0 node_modules/babel-plugin-transform-runtime
└── babel-runtime@6.20.0 (regenerator-runtime@0.10.1, core-js@2.4.1)

babel-plugin-transform-class-properties@6.19.0 node_modules/babel-plugin-transform-class-properties
├── babel-plugin-syntax-class-properties@6.13.0
├── babel-template@6.16.0 (babylon@6.14.1, babel-types@6.21.0, babel-traverse@6.21.0, lodash@4.17.2)
├── babel-helper-function-name@6.18.0 (babel-helper-get-function-arity@6.18.0, babel-types@6.21.0, babel-traverse@6.21.0)
└── babel-runtime@6.20.0 (regenerator-runtime@0.10.1, core-js@2.4.1)

babel-preset-env@1.1.4 node_modules/babel-preset-env
├── babel-plugin-syntax-trailing-function-commas@6.20.0
├── browserslist@1.5.1 (caniuse-db@1.0.30000602)
├── babel-plugin-transform-es2015-for-of@6.18.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-literals@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-umd@6.18.0 (babel-template@6.16.0, babel-runtime@6.20.0)
├── babel-plugin-check-es2015-constants@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-typeof-symbol@6.18.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-duplicate-keys@6.8.0 (babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-template-literals@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-arrow-functions@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-block-scoped-functions@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-destructuring@6.19.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-shorthand-properties@6.18.0 (babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-amd@6.18.0 (babel-template@6.16.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-spread@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-function-name@6.9.0 (babel-types@6.21.0, babel-helper-function-name@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-block-scoping@6.21.0 (babel-template@6.16.0, babel-types@6.21.0, babel-traverse@6.21.0, lodash@4.17.2, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-unicode-regex@6.11.0 (regexpu-core@2.0.0, babel-helper-regex@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-exponentiation-operator@6.8.0 (babel-plugin-syntax-exponentiation-operator@6.13.0, babel-helper-builder-binary-assignment-operator-visitor@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-computed-properties@6.8.0 (babel-template@6.16.0, babel-helper-define-map@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-sticky-regex@6.8.0 (babel-helper-regex@6.18.0, babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-object-super@6.8.0 (babel-helper-replace-supers@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-async-to-generator@6.16.0 (babel-plugin-syntax-async-functions@6.13.0, babel-helper-remap-async-to-generator@6.20.3, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-systemjs@6.19.0 (babel-template@6.16.0, babel-helper-hoist-variables@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-commonjs@6.18.0 (babel-plugin-transform-strict-mode@6.18.0, babel-template@6.16.0, babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-parameters@6.21.0 (babel-helper-get-function-arity@6.18.0, babel-helper-call-delegate@6.18.0, babel-template@6.16.0, babel-types@6.21.0, babel-traverse@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-classes@6.18.0 (babel-messages@6.8.0, babel-helper-replace-supers@6.18.0, babel-helper-optimise-call-expression@6.18.0, babel-helper-function-name@6.18.0, babel-template@6.16.0, babel-helper-define-map@6.18.0, babel-types@6.21.0, babel-traverse@6.21.0, babel-runtime@6.20.0)
└── babel-plugin-transform-regenerator@6.21.0 (regenerator-transform@0.9.8)

$ npm test

&gt; @resistdesign/incarnate@0.0.0 test /home/travis/build/resistdesign/incarnate
&gt; mocha -u exports --require babel-register -- '**/*.spec.js'

module.js:327
    throw err;
    ^

Error: Cannot find module 'babel-runtime/regenerator'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.&lt;anonymous&gt; (/home/travis/build/resistdesign/incarnate/src/Incarnate.spec.js:3:20)
    at Module._compile (module.js:409:26)
    at loader (/home/travis/build/resistdesign/incarnate/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/home/travis/build/resistdesign/incarnate/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /home/travis/build/resistdesign/incarnate/node_modules/mocha/lib/mocha.js:222:27
    at Array.forEach (native)
    at Mocha.loadFiles (/home/travis/build/resistdesign/incarnate/node_modules/mocha/lib/mocha.js:219:14)
    at Mocha.run (/home/travis/build/resistdesign/incarnate/node_modules/mocha/lib/mocha.js:487:10)
    at Object.&lt;anonymous&gt; (/home/travis/build/resistdesign/incarnate/node_modules/mocha/bin/_mocha:459:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:134:18)
    at node.js:962:3
npm ERR! Test failed.  See above for more details.


The command &quot;npm test&quot; exited with 1.

Done. Your build exited with 1."><pre class="notranslate">Worker information
hostname: ip-10-12-9-52:29dd9498-7d66-4d46-baf9-d9cc8e2a9fb4
version: v2.5.0-8-g19ea9c2 https://github.com/travis-ci/worker/tree/19ea9c20425c78100500c7cc935892b47024922c
instance: f986739:travis:node_js
startup: 592.774995ms
Build system information
Build language: node_js
Build group: stable
Build dist: precise
Build id: 186403304
Job id: 186403308
travis-build version: 7cac7d393
Build image provisioning date and <span class="pl-k">time</span>
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software<span class="pl-k">;</span> see the <span class="pl-c1">source</span> <span class="pl-k">for</span> copying conditions.  There is NO
warranty<span class="pl-k">;</span> not even <span class="pl-k">for</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1<span class="pl-k">;</span> 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: <span class="pl-s"><span class="pl-pds">"</span>linux<span class="pl-pds">"</span></span>, version: <span class="pl-s"><span class="pl-pds">"</span>3.13.0-29-generic<span class="pl-pds">"</span></span>, arch: <span class="pl-s"><span class="pl-pds">"</span>amd64<span class="pl-pds">"</span></span>, family: <span class="pl-s"><span class="pl-pds">"</span>unix<span class="pl-pds">"</span></span>

$ <span class="pl-k">export</span> DEBIAN_FRONTEND=noninteractive
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-amd64_Packages.gz is not what the server reported 13782 14904
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages.gz is not what the server reported 19576 20785
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages.gz is not what the server reported 13751 14885
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages.gz is not what the server reported 19521 20707
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources.gz is not what the server reported 5886 5888
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_travis-ci_zero-mq_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 832 1195
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 33653 36677
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-i386_Packages.gz is not what the server reported 33699 36733
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libc-bin libc-dev-bin libc6-dev
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
Need to get 8,840 kB of archives.
After this operation, 14.3 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.15 [2,943 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.15 [84.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.15 [1,177 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.15 [4,636 kB]
Fetched 8,840 kB <span class="pl-k">in</span> 0s (36.2 MB/s)
Preconfiguring packages ...
(Reading database ... 69991 files and directories currently installed.)
Preparing to replace libc6-dev 2.15-0ubuntu10.10 (using .../libc6-dev_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-dev-bin 2.15-0ubuntu10.10 (using .../libc-dev-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.10 (using .../libc-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers <span class="pl-k">for</span> man-db ...
Setting up libc-bin (2.15-0ubuntu10.15) ...
(Reading database ... 69990 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.10 (using .../libc6_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.15) ...
Setting up libc-dev-bin (2.15-0ubuntu10.15) ...
Setting up libc6-dev (2.15-0ubuntu10.15) ...
Processing triggers <span class="pl-k">for</span> libc-bin ...
ldconfig deferred processing now taking place
$ git clone --depth=50 --branch=master https://github.com/resistdesign/incarnate.git resistdesign/incarnate
Cloning into <span class="pl-s"><span class="pl-pds">'</span>resistdesign/incarnate<span class="pl-pds">'</span></span>...
remote: Counting objects: 169, done.
remote: Compressing objects: 100% (140/140), done.
remote: Total 169 (delta 83), reused 97 (delta 27), pack-reused 0
Receiving objects: 100% (169/169), 25.71 KiB <span class="pl-k">|</span> 0 bytes/s, done.
Resolving deltas: 100% (83/83), done.
Checking connectivity... done.

$ <span class="pl-c1">cd</span> resistdesign/incarnate
$ git checkout -qf a4acffa37fb005d344ae0ad8d56a6aa9213b40a9

This job is running on container-based infrastructure, which does not allow use of <span class="pl-s"><span class="pl-pds">'</span>sudo<span class="pl-pds">'</span></span>, setuid and setguid executables.
If you require sudo, add <span class="pl-s"><span class="pl-pds">'</span>sudo: required<span class="pl-pds">'</span></span> to your .travis.yml
See https://docs.travis-ci.com/user/workers/container-based-infrastructure/ <span class="pl-k">for</span> details.
Updating nvm to v0.32.0
$ nvm install 4.3.2
<span class="pl-c"><span class="pl-c">#</span>####################################################################### 100.0%</span>
Computing checksum with sha256sum
Checksums matched<span class="pl-k">!</span>
Now using node v4.3.2 (npm v2.14.12)

Starting with io.js 3 and Node.js 4, building native extensions requires C++11-compatible compiler, which seems unavailable on this VM. Please <span class="pl-c1">read</span> https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements.
$ node --version
v4.3.2
$ npm --version
2.14.12
$ nvm --version
0.32.0
$ npm install 
npm WARN optional dep failed, continuing fsevents@1.0.15
mocha@3.2.0 node_modules/mocha
├── diff@1.4.0
├── browser-stdout@1.3.0
├── escape-string-regexp@1.0.5
├── growl@1.9.2
├── json3@3.3.2
├── supports-color@3.1.2 (has-flag@1.0.0)
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── debug@2.2.0 (ms@0.7.1)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── glob@7.0.5 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6, minimatch@3.0.3)
└── lodash.create@3.1.1 (lodash._basecreate@3.0.3, lodash._isiterateecall@3.0.9, lodash._baseassign@3.2.0)

expect@1.20.2 node_modules/expect
├── is-regex@1.0.3
├── object-keys@1.0.11
├── object-inspect@1.2.1
├── tmatch@2.0.1
├── has@1.0.1 (function-bind@1.1.0)
├── define-properties@1.1.2 (foreach@2.0.5)
└── is-equal@1.5.3 (is-arrow-function@2.0.3, is-number-object@1.0.3, is-date-object@1.0.1, is-string@1.0.4, is-callable@1.1.3, is-boolean-object@1.0.0, is-symbol@1.0.1, is-generator-function@1.0.6, object.entries@1.0.4)

npm-watch@0.1.7 node_modules/npm-watch
├── through2@2.0.3 (xtend@4.0.1, readable-stream@2.2.2)
└── nodemon@1.11.0 (ignore-by-default@1.0.1, undefsafe@0.0.3, es6-promise@3.3.1, debug@2.5.1, minimatch@3.0.3, touch@1.0.0, lodash.defaults@3.1.2, ps-tree@1.1.0, update-notifier@0.5.0, chokidar@1.6.1)

event-emitter@0.3.4 node_modules/event-emitter
├── d@0.1.1
└── es5-ext@0.10.12 (es6-symbol@3.1.0, es6-iterator@2.0.0)

babel-register@6.18.0 node_modules/babel-register
├── home-or-tmp@2.0.0 (os-tmpdir@1.0.2, os-homedir@1.0.2)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── source-map-support@0.4.7 (source-map@0.5.6)
├── babel-core@6.21.0 (babel-template@6.16.0, babel-messages@6.8.0, slash@1.0.0, path-is-absolute@1.0.1, babel-helpers@6.16.0, private@0.1.6, json5@0.5.1, babylon@6.14.1, convert-source-map@1.3.0, source-map@0.5.6, babel-types@6.21.0, debug@2.5.1, minimatch@3.0.3, babel-code-frame@6.20.0, babel-traverse@6.21.0, babel-generator@6.21.0)
├── babel-runtime@6.20.0 (regenerator-runtime@0.10.1)
├── lodash@4.17.2
└── core-js@2.4.1

babel-plugin-transform-object-rest-spread@6.20.2 node_modules/babel-plugin-transform-object-rest-spread
├── babel-plugin-syntax-object-rest-spread@6.13.0
└── babel-runtime@6.20.0 (regenerator-runtime@0.10.1, core-js@2.4.1)

babel-plugin-transform-runtime@6.15.0 node_modules/babel-plugin-transform-runtime
└── babel-runtime@6.20.0 (regenerator-runtime@0.10.1, core-js@2.4.1)

babel-plugin-transform-class-properties@6.19.0 node_modules/babel-plugin-transform-class-properties
├── babel-plugin-syntax-class-properties@6.13.0
├── babel-template@6.16.0 (babylon@6.14.1, babel-types@6.21.0, babel-traverse@6.21.0, lodash@4.17.2)
├── babel-helper-function-name@6.18.0 (babel-helper-get-function-arity@6.18.0, babel-types@6.21.0, babel-traverse@6.21.0)
└── babel-runtime@6.20.0 (regenerator-runtime@0.10.1, core-js@2.4.1)

babel-preset-env@1.1.4 node_modules/babel-preset-env
├── babel-plugin-syntax-trailing-function-commas@6.20.0
├── browserslist@1.5.1 (caniuse-db@1.0.30000602)
├── babel-plugin-transform-es2015-for-of@6.18.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-literals@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-umd@6.18.0 (babel-template@6.16.0, babel-runtime@6.20.0)
├── babel-plugin-check-es2015-constants@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-typeof-symbol@6.18.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-duplicate-keys@6.8.0 (babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-template-literals@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-arrow-functions@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-block-scoped-functions@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-destructuring@6.19.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-shorthand-properties@6.18.0 (babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-amd@6.18.0 (babel-template@6.16.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-spread@6.8.0 (babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-function-name@6.9.0 (babel-types@6.21.0, babel-helper-function-name@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-block-scoping@6.21.0 (babel-template@6.16.0, babel-types@6.21.0, babel-traverse@6.21.0, lodash@4.17.2, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-unicode-regex@6.11.0 (regexpu-core@2.0.0, babel-helper-regex@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-exponentiation-operator@6.8.0 (babel-plugin-syntax-exponentiation-operator@6.13.0, babel-helper-builder-binary-assignment-operator-visitor@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-computed-properties@6.8.0 (babel-template@6.16.0, babel-helper-define-map@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-sticky-regex@6.8.0 (babel-helper-regex@6.18.0, babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-object-super@6.8.0 (babel-helper-replace-supers@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-async-to-generator@6.16.0 (babel-plugin-syntax-async-functions@6.13.0, babel-helper-remap-async-to-generator@6.20.3, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-systemjs@6.19.0 (babel-template@6.16.0, babel-helper-hoist-variables@6.18.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-modules-commonjs@6.18.0 (babel-plugin-transform-strict-mode@6.18.0, babel-template@6.16.0, babel-types@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-parameters@6.21.0 (babel-helper-get-function-arity@6.18.0, babel-helper-call-delegate@6.18.0, babel-template@6.16.0, babel-types@6.21.0, babel-traverse@6.21.0, babel-runtime@6.20.0)
├── babel-plugin-transform-es2015-classes@6.18.0 (babel-messages@6.8.0, babel-helper-replace-supers@6.18.0, babel-helper-optimise-call-expression@6.18.0, babel-helper-function-name@6.18.0, babel-template@6.16.0, babel-helper-define-map@6.18.0, babel-types@6.21.0, babel-traverse@6.21.0, babel-runtime@6.20.0)
└── babel-plugin-transform-regenerator@6.21.0 (regenerator-transform@0.9.8)

$ npm <span class="pl-c1">test</span>

<span class="pl-k">&gt;</span> @resistdesign/incarnate@0.0.0 <span class="pl-c1">test</span> /home/travis/build/resistdesign/incarnate
<span class="pl-k">&gt;</span> mocha -u exports --require babel-register -- <span class="pl-s"><span class="pl-pds">'</span>**/*.spec.js<span class="pl-pds">'</span></span>

module.js:327
    throw err<span class="pl-k">;</span>
    ^

Error: Cannot find module <span class="pl-s"><span class="pl-pds">'</span>babel-runtime/regenerator<span class="pl-pds">'</span></span>
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span> (/home/travis/build/resistdesign/incarnate/src/Incarnate.spec.js:3:20)
    at Module._compile (module.js:409:26)
    at loader (/home/travis/build/resistdesign/incarnate/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/home/travis/build/resistdesign/incarnate/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /home/travis/build/resistdesign/incarnate/node_modules/mocha/lib/mocha.js:222:27
    at Array.forEach (native)
    at Mocha.loadFiles (/home/travis/build/resistdesign/incarnate/node_modules/mocha/lib/mocha.js:219:14)
    at Mocha.run (/home/travis/build/resistdesign/incarnate/node_modules/mocha/lib/mocha.js:487:10)
    at Object.<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span> (/home/travis/build/resistdesign/incarnate/node_modules/mocha/bin/_mocha:459:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:134:18)
    at node.js:962:3
npm ERR<span class="pl-k">!</span> Test failed.  See above <span class="pl-k">for</span> more details.


The <span class="pl-c1">command</span> <span class="pl-s"><span class="pl-pds">"</span>npm test<span class="pl-pds">"</span></span> exited with 1.

Done. Your build exited with 1.</pre></div>
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current behavior</strong></p>

<ul dir="auto">
<li><a href="babeljs.io/repl">REPL</a>, <a href="https://codesandbox.io/s/babel-repl-custom-plugin-7s08o?file=/src/index.js" rel="nofollow">Codesandbox</a>, or GitHub Repo helps!</li>
</ul>
<p dir="auto">Github repo<br>
<a href="https://github.com/marcusjwhelan/dockerReact">https://github.com/marcusjwhelan/dockerReact</a></p>
<p dir="auto"><strong>Input Code</strong></p>
<p dir="auto">Startup without docker</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm run start"><pre class="notranslate">npm run start</pre></div>
<p dir="auto">This works and all the development process continues with hot reload just fine.</p>
<p dir="auto">However if I try to run the application in development mode only one package is not included in the node_modules and that is @babel/plugin-transform-runtime</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="docker-compose -f docker-compose-dev.yml build --no-cache
docker-compose -f docker-compose-dev.yml up
# or if first time
docker-compose -f docker-compose-dev.yml up --build"><pre class="notranslate">docker-compose -f docker-compose-dev.yml build --no-cache
docker-compose -f docker-compose-dev.yml up
<span class="pl-c"><span class="pl-c">#</span> or if first time</span>
docker-compose -f docker-compose-dev.yml up --build</pre></div>
<p dir="auto"><strong>Expected behavior</strong></p>

<p dir="auto">The application should compile and run in docker like it did before having to add the transform runtime and @babel/runtime</p>
<p dir="auto"><strong>Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)</strong></p>
<ul dir="auto">
<li>Filename: <code class="notranslate">babel.config.js</code></li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;presets&quot;: [
    [
      &quot;@babel/preset-env&quot;,
      {
        &quot;useBuiltIns&quot;: &quot;entry&quot;,
        &quot;corejs&quot;: 3,
        &quot;targets&quot;: &quot;&gt; 0.25%, not dead&quot;
      }
    ],
    &quot;@babel/preset-typescript&quot;,
    &quot;@babel/preset-react&quot;
  ],
  &quot;plugins&quot;: [
    &quot;@babel/plugin-transform-runtime&quot;,
    &quot;@babel/plugin-proposal-class-properties&quot;,
    &quot;@babel/plugin-proposal-async-generator-functions&quot;,
    &quot;@babel/plugin-proposal-object-rest-spread&quot;,
    &quot;@babel/plugin-proposal-optional-catch-binding&quot;,
    &quot;@babel/plugin-proposal-unicode-property-regex&quot;,
    &quot;@babel/plugin-proposal-export-namespace-from&quot;,
    &quot;@babel/plugin-proposal-logical-assignment-operators&quot;,
    &quot;@babel/plugin-proposal-nullish-coalescing-operator&quot;,
    &quot;@babel/plugin-proposal-numeric-separator&quot;,
    &quot;@babel/plugin-proposal-optional-chaining&quot;,
    &quot;@babel/plugin-transform-member-expression-literals&quot;,
    &quot;@babel/plugin-transform-property-literals&quot;,
    &quot;@babel/plugin-transform-reserved-words&quot;,
    &quot;@babel/plugin-transform-arrow-functions&quot;,
    &quot;@babel/plugin-transform-block-scoped-functions&quot;,
    &quot;@babel/plugin-transform-block-scoping&quot;,
    &quot;@babel/plugin-transform-classes&quot;,
    &quot;@babel/plugin-transform-computed-properties&quot;,
    &quot;@babel/plugin-transform-destructuring&quot;,
    &quot;@babel/plugin-transform-duplicate-keys&quot;,
    &quot;@babel/plugin-transform-for-of&quot;,
    &quot;@babel/plugin-transform-function-name&quot;,
    &quot;@babel/plugin-transform-instanceof&quot;,
    &quot;@babel/plugin-transform-literals&quot;,
    &quot;@babel/plugin-transform-object-super&quot;,
    &quot;@babel/plugin-transform-parameters&quot;,
    &quot;@babel/plugin-transform-shorthand-properties&quot;,
    &quot;@babel/plugin-transform-spread&quot;,
    &quot;@babel/plugin-transform-sticky-regex&quot;,
    &quot;@babel/plugin-transform-template-literals&quot;,
    &quot;@babel/plugin-transform-typeof-symbol&quot;,
    &quot;@babel/plugin-transform-unicode-escapes&quot;,
    &quot;@babel/plugin-transform-unicode-regex&quot;,
    &quot;@babel/plugin-transform-exponentiation-operator&quot;,
    &quot;@babel/plugin-transform-async-to-generator&quot;,
    &quot;@babel/plugin-transform-typescript&quot;
  ]
}"><pre class="notranslate"><span class="pl-kos">{</span>
  <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
    <span class="pl-kos">[</span>
      <span class="pl-s">"@babel/preset-env"</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-s">"useBuiltIns"</span>: <span class="pl-s">"entry"</span><span class="pl-kos">,</span>
        <span class="pl-s">"corejs"</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span>
        <span class="pl-s">"targets"</span>: <span class="pl-s">"&gt; 0.25%, not dead"</span>
      <span class="pl-kos">}</span>
    <span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/preset-typescript"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/preset-react"</span>
  <span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
    <span class="pl-s">"@babel/plugin-transform-runtime"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-class-properties"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-async-generator-functions"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-object-rest-spread"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-optional-catch-binding"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-unicode-property-regex"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-export-namespace-from"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-logical-assignment-operators"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-nullish-coalescing-operator"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-numeric-separator"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-proposal-optional-chaining"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-member-expression-literals"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-property-literals"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-reserved-words"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-arrow-functions"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-block-scoped-functions"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-block-scoping"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-classes"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-computed-properties"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-destructuring"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-duplicate-keys"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-for-of"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-function-name"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-instanceof"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-literals"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-object-super"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-parameters"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-shorthand-properties"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-spread"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-sticky-regex"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-template-literals"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-typeof-symbol"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-unicode-escapes"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-unicode-regex"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-exponentiation-operator"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-async-to-generator"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@babel/plugin-transform-typescript"</span>
  <span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div>
<ul dir="auto">
<li>Babel version(s): ^7.12.9 =&gt; 7.12.9</li>
<li>Node/npm version: 12.18.2 - C:\Program Files\nodejs\node.EXE</li>
<li>OS:  Windows 10 10.0.18363</li>
<li>Monorepo: no</li>
<li>How you are using Babel: webpack cli</li>
</ul>
<p dir="auto"><strong>Additional context</strong></p>

<p dir="auto">webpack.config.dev.js</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const path = require('path')
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
const WebpackPwaManifest = require('webpack-pwa-manifest')
const PATH_SOURCE = path.join(__dirname, './src')
const PATH_PUBLIC = path.join(__dirname, './public')
module.exports = {
  mode: 'development',
  target: 'web',
  // webpack will take the files from ./src/index
  entry: [
    path.join(PATH_SOURCE, './index.tsx')
  ],

  devtool: 'source-map',
  // adding .ts and .tsx to resolve.extensions will help babel look for .ts and .tsx files to transpile
  resolve: {
    extensions: ['.wasm', '.ts', '.tsx', '.mjs', '.cjs', '.js', '.json', '.html']
  },
  stats: {
    // warnings: false // in dev only -&gt; suppress warnings
  },
  watchOptions: {
    poll: true
  },
  module: {
    rules: [

      // we use babel-loader to load our jsx and tsx files
      {
        test: /\.(ts|js)x?$/,
        exclude: /node_modules/,
        use: {
          loader: 'babel-loader'
        },
      },

      // css-loader to bundle all the css files into one file and style-loader to add all the styles  inside the style tag of the document
      {
        test: /\.css$/,
        use: ['style-loader', 'css-loader']
      },
      {
        test: /\.json$/,
        loader: 'json-loader',
        type: 'javascript/auto'
      },
      {
        test: /\.html$/,
        exclude: /node_modules/,
        loader: 'html-loader'
      },
      {
        test: /\.(a?png|svg)$/,
        loader: 'url-loader',
        options: {
          limit: 8192,
        }
      },
      {
        test: /\.(jpe?g|gif|bmp|mp3|mp4|ogg|wav|eot|ttf|woff|woff2)$/,
        use: 'file-loader'
      },
      {
        test: /\.ico$/,
        loader: 'file-loader',
        options: {
          name: '[name].[ext]'
        }
      }
    ]
  },

  // development server configuration
  devServer: {
    hot: true,
    port: 3000,
    open: true,
    // must be `true` for SPAs
    historyApiFallback: true
  },
  optimization: {
    splitChunks: {
      cacheGroups: {
        default: false,
        vendors: false,

        // vendor chunk
        vendor: {
          minChunks: 2,
          // name of the chunk
          name: 'vendor',

          // async + async chunks
          chunks: 'all',

          // import file path containing node_modules
          test: /node_modules/,

          // priority
          priority: 20
        },

        // common chunk
        common: {
          name: 'common',
          minChunks: 2,
          chunks: 'all',
          priority: 10,
          reuseExistingChunk: true,
          enforce: true
        }
      }
    }
  },
  plugins: [
    new HtmlWebpackPlugin({
      favicon: path.join(PATH_PUBLIC, './favicon.ico'),
      template: path.join(PATH_PUBLIC, './index.html')
    }),
    new BundleAnalyzerPlugin(),
    new WebpackPwaManifest({
      name: 'example',
      short_name: 'ex',
      display: 'standalone',
      theme_color: '#ffffff',
      description: 'desc',
      background_color: '#212121',
      crossorigin: null, // can be null, use-credentials or anonymous
      ios: {
        'apple-mobile-web-app-title': 'Example',
        'apple-mobile-web-app-status-bar-style': 'black'
      },
      icons: [
        {
          src: path.resolve('public/logo512.png'),
          size: '512x512' // you can also use the specifications pattern
        },
        {
          src: path.resolve('public/logo192.png'),
          size: '192x192',
          destination: path.join('icons', 'ios'),
          ios: true
        },
        {
          src: path.resolve('public/logo192.png'),
          size: '192x192',
          destination: path.join('icons', 'android')
        }
      ]
    }),
    new webpack.HotModuleReplacementPlugin(),
    new webpack.DefinePlugin({
      'process.env': {
        NODE_ENV: JSON.stringify('development')
      }
    })
  ]
}"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'path'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">webpack</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-v">HtmlWebpackPlugin</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'html-webpack-plugin'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-v">BundleAnalyzerPlugin</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack-bundle-analyzer'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">BundleAnalyzerPlugin</span>
<span class="pl-k">const</span> <span class="pl-v">WebpackPwaManifest</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack-pwa-manifest'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-c1">PATH_SOURCE</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'./src'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-c1">PATH_PUBLIC</span> <span class="pl-c1">=</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'./public'</span><span class="pl-kos">)</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
  <span class="pl-c1">mode</span>: <span class="pl-s">'development'</span><span class="pl-kos">,</span>
  <span class="pl-c1">target</span>: <span class="pl-s">'web'</span><span class="pl-kos">,</span>
  <span class="pl-c">// webpack will take the files from ./src/index</span>
  <span class="pl-c1">entry</span>: <span class="pl-kos">[</span>
    <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-c1">PATH_SOURCE</span><span class="pl-kos">,</span> <span class="pl-s">'./index.tsx'</span><span class="pl-kos">)</span>
  <span class="pl-kos">]</span><span class="pl-kos">,</span>

  <span class="pl-c1">devtool</span>: <span class="pl-s">'source-map'</span><span class="pl-kos">,</span>
  <span class="pl-c">// adding .ts and .tsx to resolve.extensions will help babel look for .ts and .tsx files to transpile</span>
  <span class="pl-c1">resolve</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">extensions</span>: <span class="pl-kos">[</span><span class="pl-s">'.wasm'</span><span class="pl-kos">,</span> <span class="pl-s">'.ts'</span><span class="pl-kos">,</span> <span class="pl-s">'.tsx'</span><span class="pl-kos">,</span> <span class="pl-s">'.mjs'</span><span class="pl-kos">,</span> <span class="pl-s">'.cjs'</span><span class="pl-kos">,</span> <span class="pl-s">'.js'</span><span class="pl-kos">,</span> <span class="pl-s">'.json'</span><span class="pl-kos">,</span> <span class="pl-s">'.html'</span><span class="pl-kos">]</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c1">stats</span>: <span class="pl-kos">{</span>
    <span class="pl-c">// warnings: false // in dev only -&gt; suppress warnings</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c1">watchOptions</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">poll</span>: <span class="pl-c1">true</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c1">module</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">rules</span>: <span class="pl-kos">[</span>

      <span class="pl-c">// we use babel-loader to load our jsx and tsx files</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>ts<span class="pl-c1">|</span>js<span class="pl-kos">)</span>x?<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">exclude</span>: <span class="pl-pds"><span class="pl-c1">/</span>node_modules<span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">use</span>: <span class="pl-kos">{</span>
          <span class="pl-c1">loader</span>: <span class="pl-s">'babel-loader'</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>

      <span class="pl-c">// css-loader to bundle all the css files into one file and style-loader to add all the styles  inside the style tag of the document</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>css<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">use</span>: <span class="pl-kos">[</span><span class="pl-s">'style-loader'</span><span class="pl-kos">,</span> <span class="pl-s">'css-loader'</span><span class="pl-kos">]</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>json<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">loader</span>: <span class="pl-s">'json-loader'</span><span class="pl-kos">,</span>
        <span class="pl-c1">type</span>: <span class="pl-s">'javascript/auto'</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>html<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">exclude</span>: <span class="pl-pds"><span class="pl-c1">/</span>node_modules<span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">loader</span>: <span class="pl-s">'html-loader'</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>a?png<span class="pl-c1">|</span>svg<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">loader</span>: <span class="pl-s">'url-loader'</span><span class="pl-kos">,</span>
        <span class="pl-c1">options</span>: <span class="pl-kos">{</span>
          <span class="pl-c1">limit</span>: <span class="pl-c1">8192</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>jpe?g<span class="pl-c1">|</span>gif<span class="pl-c1">|</span>bmp<span class="pl-c1">|</span>mp3<span class="pl-c1">|</span>mp4<span class="pl-c1">|</span>ogg<span class="pl-c1">|</span>wav<span class="pl-c1">|</span>eot<span class="pl-c1">|</span>ttf<span class="pl-c1">|</span>woff<span class="pl-c1">|</span>woff2<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">use</span>: <span class="pl-s">'file-loader'</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-kos">{</span>
        <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>ico<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
        <span class="pl-c1">loader</span>: <span class="pl-s">'file-loader'</span><span class="pl-kos">,</span>
        <span class="pl-c1">options</span>: <span class="pl-kos">{</span>
          <span class="pl-c1">name</span>: <span class="pl-s">'[name].[ext]'</span>
        <span class="pl-kos">}</span>
      <span class="pl-kos">}</span>
    <span class="pl-kos">]</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>

  <span class="pl-c">// development server configuration</span>
  <span class="pl-c1">devServer</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">hot</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
    <span class="pl-c1">port</span>: <span class="pl-c1">3000</span><span class="pl-kos">,</span>
    <span class="pl-c1">open</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
    <span class="pl-c">// must be `true` for SPAs</span>
    <span class="pl-c1">historyApiFallback</span>: <span class="pl-c1">true</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c1">optimization</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">splitChunks</span>: <span class="pl-kos">{</span>
      <span class="pl-c1">cacheGroups</span>: <span class="pl-kos">{</span>
        <span class="pl-c1">default</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
        <span class="pl-c1">vendors</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>

        <span class="pl-c">// vendor chunk</span>
        <span class="pl-c1">vendor</span>: <span class="pl-kos">{</span>
          <span class="pl-c1">minChunks</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span>
          <span class="pl-c">// name of the chunk</span>
          <span class="pl-c1">name</span>: <span class="pl-s">'vendor'</span><span class="pl-kos">,</span>

          <span class="pl-c">// async + async chunks</span>
          <span class="pl-c1">chunks</span>: <span class="pl-s">'all'</span><span class="pl-kos">,</span>

          <span class="pl-c">// import file path containing node_modules</span>
          <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span>node_modules<span class="pl-c1">/</span></span><span class="pl-kos">,</span>

          <span class="pl-c">// priority</span>
          <span class="pl-c1">priority</span>: <span class="pl-c1">20</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>

        <span class="pl-c">// common chunk</span>
        <span class="pl-c1">common</span>: <span class="pl-kos">{</span>
          <span class="pl-c1">name</span>: <span class="pl-s">'common'</span><span class="pl-kos">,</span>
          <span class="pl-c1">minChunks</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span>
          <span class="pl-c1">chunks</span>: <span class="pl-s">'all'</span><span class="pl-kos">,</span>
          <span class="pl-c1">priority</span>: <span class="pl-c1">10</span><span class="pl-kos">,</span>
          <span class="pl-c1">reuseExistingChunk</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
          <span class="pl-c1">enforce</span>: <span class="pl-c1">true</span>
        <span class="pl-kos">}</span>
      <span class="pl-kos">}</span>
    <span class="pl-kos">}</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span>
    <span class="pl-k">new</span> <span class="pl-v">HtmlWebpackPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
      <span class="pl-c1">favicon</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-c1">PATH_PUBLIC</span><span class="pl-kos">,</span> <span class="pl-s">'./favicon.ico'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
      <span class="pl-c1">template</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-c1">PATH_PUBLIC</span><span class="pl-kos">,</span> <span class="pl-s">'./index.html'</span><span class="pl-kos">)</span>
    <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
    <span class="pl-k">new</span> <span class="pl-v">BundleAnalyzerPlugin</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
    <span class="pl-k">new</span> <span class="pl-v">WebpackPwaManifest</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
      <span class="pl-c1">name</span>: <span class="pl-s">'example'</span><span class="pl-kos">,</span>
      <span class="pl-c1">short_name</span>: <span class="pl-s">'ex'</span><span class="pl-kos">,</span>
      <span class="pl-c1">display</span>: <span class="pl-s">'standalone'</span><span class="pl-kos">,</span>
      <span class="pl-c1">theme_color</span>: <span class="pl-s">'#ffffff'</span><span class="pl-kos">,</span>
      <span class="pl-c1">description</span>: <span class="pl-s">'desc'</span><span class="pl-kos">,</span>
      <span class="pl-c1">background_color</span>: <span class="pl-s">'#212121'</span><span class="pl-kos">,</span>
      <span class="pl-c1">crossorigin</span>: <span class="pl-c1">null</span><span class="pl-kos">,</span> <span class="pl-c">// can be null, use-credentials or anonymous</span>
      <span class="pl-c1">ios</span>: <span class="pl-kos">{</span>
        <span class="pl-s">'apple-mobile-web-app-title'</span>: <span class="pl-s">'Example'</span><span class="pl-kos">,</span>
        <span class="pl-s">'apple-mobile-web-app-status-bar-style'</span>: <span class="pl-s">'black'</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span>
      <span class="pl-c1">icons</span>: <span class="pl-kos">[</span>
        <span class="pl-kos">{</span>
          <span class="pl-c1">src</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'public/logo512.png'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
          <span class="pl-c1">size</span>: <span class="pl-s">'512x512'</span> <span class="pl-c">// you can also use the specifications pattern</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-kos">{</span>
          <span class="pl-c1">src</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'public/logo192.png'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
          <span class="pl-c1">size</span>: <span class="pl-s">'192x192'</span><span class="pl-kos">,</span>
          <span class="pl-c1">destination</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s">'icons'</span><span class="pl-kos">,</span> <span class="pl-s">'ios'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
          <span class="pl-c1">ios</span>: <span class="pl-c1">true</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-kos">{</span>
          <span class="pl-c1">src</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'public/logo192.png'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
          <span class="pl-c1">size</span>: <span class="pl-s">'192x192'</span><span class="pl-kos">,</span>
          <span class="pl-c1">destination</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s">'icons'</span><span class="pl-kos">,</span> <span class="pl-s">'android'</span><span class="pl-kos">)</span>
        <span class="pl-kos">}</span>
      <span class="pl-kos">]</span>
    <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
    <span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">HotModuleReplacementPlugin</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
    <span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">DefinePlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
      <span class="pl-s">'process.env'</span>: <span class="pl-kos">{</span>
        <span class="pl-c1">NODE_ENV</span>: <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s">'development'</span><span class="pl-kos">)</span>
      <span class="pl-kos">}</span>
    <span class="pl-kos">}</span><span class="pl-kos">)</span>
  <span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">package.json</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;name&quot;: &quot;hmv1&quot;,
  &quot;version&quot;: &quot;0.1.0&quot;,
  &quot;description&quot;: &quot;Example&quot;,
  &quot;main&quot;: &quot;index.js&quot;,
  &quot;scripts&quot;: {
    &quot;bundle&quot;: &quot;webpack --mode=production --config=webpack.config.js&quot;,
    &quot;start&quot;: &quot;webpack serve --config=webpack.config.dev.js --mode=development --host 127.0.0.1&quot;,
    &quot;start_docker&quot;: &quot;webpack serve --config=webpack.config.dev.js --mode=development --host 0.0.0.0&quot;,
    &quot;compose_start&quot;: &quot;docker-compose -f docker-compose-dev.yml up --build&quot;,
    &quot;docker_build_dev&quot;: &quot;docker build -f Dockerfile.dev -t react-dev-tag .&quot;,
    &quot;docker_start_dev&quot;: &quot;docker run -v \&quot;%cd%\&quot;:/var/www -v /var/www/node_modules -p 8080:8080 -ti --rm --name dev-react-name react-dev-tag&quot;,
    &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
  },
  &quot;keywords&quot;: [],
  &quot;author&quot;: &quot;Marcus Whelan&quot;,
  &quot;license&quot;: &quot;ISC&quot;,
  &quot;devDependencies&quot;: {
    &quot;@babel/core&quot;: &quot;^7.12.9&quot;,
    &quot;@babel/plugin-proposal-async-generator-functions&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-class-properties&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-export-namespace-from&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-logical-assignment-operators&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-nullish-coalescing-operator&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-numeric-separator&quot;: &quot;^7.12.7&quot;,
    &quot;@babel/plugin-proposal-object-rest-spread&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-optional-catch-binding&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-proposal-optional-chaining&quot;: &quot;^7.12.7&quot;,
    &quot;@babel/plugin-proposal-unicode-property-regex&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-arrow-functions&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-async-to-generator&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-block-scoped-functions&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-block-scoping&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-classes&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-computed-properties&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-destructuring&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-duplicate-keys&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-exponentiation-operator&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-for-of&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-function-name&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-instanceof&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-literals&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-member-expression-literals&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-object-super&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-parameters&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-property-literals&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-reserved-words&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-runtime&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-shorthand-properties&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-spread&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-sticky-regex&quot;: &quot;^7.12.7&quot;,
    &quot;@babel/plugin-transform-template-literals&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-typeof-symbol&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-typescript&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-unicode-escapes&quot;: &quot;^7.12.1&quot;,
    &quot;@babel/plugin-transform-unicode-regex&quot;: &quot;^7.12.1&quot;,
    &quot;@types/crypto-js&quot;: &quot;^4.0.1&quot;,
    &quot;@types/jest&quot;: &quot;^26.0.15&quot;,
    &quot;@types/js-cookie&quot;: &quot;^2.2.6&quot;,
    &quot;@types/react&quot;: &quot;^17.0.0&quot;,
    &quot;@types/react-dom&quot;: &quot;^17.0.0&quot;,
    &quot;@types/react-redux&quot;: &quot;^7.1.11&quot;,
    &quot;@types/react-router&quot;: &quot;^5.1.8&quot;,
    &quot;@types/react-router-dom&quot;: &quot;^5.1.6&quot;,
    &quot;@types/redux-logger&quot;: &quot;^3.0.8&quot;,
    &quot;@typescript-eslint/eslint-plugin&quot;: &quot;^4.9.0&quot;,
    &quot;@typescript-eslint/eslint-plugin-tslint&quot;: &quot;^4.9.0&quot;,
    &quot;@typescript-eslint/parser&quot;: &quot;^4.9.0&quot;,
    &quot;babel-loader&quot;: &quot;^8.2.2&quot;,
    &quot;clean-webpack-plugin&quot;: &quot;^3.0.0&quot;,
    &quot;css-loader&quot;: &quot;^5.0.1&quot;,
    &quot;eslint&quot;: &quot;^7.14.0&quot;,
    &quot;eslint-plugin-jsdoc&quot;: &quot;^30.7.8&quot;,
    &quot;eslint-plugin-no-null&quot;: &quot;^1.0.2&quot;,
    &quot;eslint-plugin-react-hooks&quot;: &quot;^4.2.0&quot;,
    &quot;fibers&quot;: &quot;^5.0.0&quot;,
    &quot;file-loader&quot;: &quot;^6.2.0&quot;,
    &quot;html-loader&quot;: &quot;^1.3.2&quot;,
    &quot;html-webpack-plugin&quot;: &quot;^4.5.0&quot;,
    &quot;identity-obj-proxy&quot;: &quot;^3.0.0&quot;,
    &quot;imports-loader&quot;: &quot;^1.2.0&quot;,
    &quot;json-loader&quot;: &quot;^0.5.7&quot;,
    &quot;redux-logger&quot;: &quot;^3.0.6&quot;,
    &quot;resolve-url-loader&quot;: &quot;^3.1.2&quot;,
    &quot;source-map-loader&quot;: &quot;^1.1.2&quot;,
    &quot;style-loader&quot;: &quot;^2.0.0&quot;,
    &quot;ts-loader&quot;: &quot;^8.0.11&quot;,
    &quot;typescript&quot;: &quot;^4.1.2&quot;,
    &quot;url-loader&quot;: &quot;^4.1.1&quot;,
    &quot;webpack&quot;: &quot;^5.9.0&quot;,
    &quot;webpack-bundle-analyzer&quot;: &quot;^4.2.0&quot;,
    &quot;webpack-cli&quot;: &quot;^4.2.0&quot;,
    &quot;webpack-dev-server&quot;: &quot;^4.0.0-beta.0&quot;,
    &quot;webpack-pwa-manifest&quot;: &quot;^4.3.0&quot;
  },
  &quot;dependencies&quot;: {
    &quot;@babel/preset-env&quot;: &quot;^7.12.7&quot;,
    &quot;@babel/preset-react&quot;: &quot;^7.12.7&quot;,
    &quot;@babel/preset-typescript&quot;: &quot;^7.12.7&quot;,
    &quot;@babel/runtime&quot;: &quot;^7.12.5&quot;,
    &quot;@babel/runtime-corejs3&quot;: &quot;^7.12.5&quot;,
    &quot;@material-ui/core&quot;: &quot;^4.11.1&quot;,
    &quot;@material-ui/icons&quot;: &quot;^4.9.1&quot;,
    &quot;@material-ui/lab&quot;: &quot;^4.0.0-alpha.56&quot;,
    &quot;axios&quot;: &quot;^0.21.0&quot;,
    &quot;connected-react-router&quot;: &quot;^6.8.0&quot;,
    &quot;crypto-js&quot;: &quot;^4.0.0&quot;,
    &quot;history&quot;: &quot;^5.0.0&quot;,
    &quot;jquery&quot;: &quot;^3.5.1&quot;,
    &quot;js-cookie&quot;: &quot;^2.2.1&quot;,
    &quot;react&quot;: &quot;^17.0.1&quot;,
    &quot;react-dom&quot;: &quot;^17.0.1&quot;,
    &quot;react-redux&quot;: &quot;^7.2.2&quot;,
    &quot;react-router&quot;: &quot;^5.2.0&quot;,
    &quot;react-router-dom&quot;: &quot;^5.2.0&quot;,
    &quot;react-spring&quot;: &quot;^8.0.27&quot;,
    &quot;redux&quot;: &quot;^4.0.5&quot;,
    &quot;redux-thunk&quot;: &quot;^2.3.0&quot;
  }
}
"><pre class="notranslate">{
  <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>hmv1<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.1.0<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"description"</span>: <span class="pl-s"><span class="pl-pds">"</span>Example<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>index.js<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"scripts"</span>: {
    <span class="pl-ent">"bundle"</span>: <span class="pl-s"><span class="pl-pds">"</span>webpack --mode=production --config=webpack.config.js<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"start"</span>: <span class="pl-s"><span class="pl-pds">"</span>webpack serve --config=webpack.config.dev.js --mode=development --host 127.0.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"start_docker"</span>: <span class="pl-s"><span class="pl-pds">"</span>webpack serve --config=webpack.config.dev.js --mode=development --host 0.0.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"compose_start"</span>: <span class="pl-s"><span class="pl-pds">"</span>docker-compose -f docker-compose-dev.yml up --build<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"docker_build_dev"</span>: <span class="pl-s"><span class="pl-pds">"</span>docker build -f Dockerfile.dev -t react-dev-tag .<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"docker_start_dev"</span>: <span class="pl-s"><span class="pl-pds">"</span>docker run -v <span class="pl-cce">\"</span>%cd%<span class="pl-cce">\"</span>:/var/www -v /var/www/node_modules -p 8080:8080 -ti --rm --name dev-react-name react-dev-tag<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"test"</span>: <span class="pl-s"><span class="pl-pds">"</span>echo <span class="pl-cce">\"</span>Error: no test specified<span class="pl-cce">\"</span> &amp;&amp; exit 1<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"keywords"</span>: [],
  <span class="pl-ent">"author"</span>: <span class="pl-s"><span class="pl-pds">"</span>Marcus Whelan<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"license"</span>: <span class="pl-s"><span class="pl-pds">"</span>ISC<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"devDependencies"</span>: {
    <span class="pl-ent">"@babel/core"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.9<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-async-generator-functions"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-class-properties"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-export-namespace-from"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-logical-assignment-operators"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-nullish-coalescing-operator"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-numeric-separator"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-object-rest-spread"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-optional-catch-binding"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-optional-chaining"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-proposal-unicode-property-regex"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-arrow-functions"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-async-to-generator"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-block-scoped-functions"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-block-scoping"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-classes"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-computed-properties"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-destructuring"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-duplicate-keys"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-exponentiation-operator"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-for-of"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-function-name"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-instanceof"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-literals"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-member-expression-literals"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-object-super"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-parameters"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-property-literals"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-reserved-words"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-runtime"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-shorthand-properties"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-spread"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-sticky-regex"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-template-literals"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-typeof-symbol"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-typescript"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-unicode-escapes"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/plugin-transform-unicode-regex"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/crypto-js"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/jest"</span>: <span class="pl-s"><span class="pl-pds">"</span>^26.0.15<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/js-cookie"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.2.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/react"</span>: <span class="pl-s"><span class="pl-pds">"</span>^17.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/react-dom"</span>: <span class="pl-s"><span class="pl-pds">"</span>^17.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/react-redux"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.1.11<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/react-router"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.1.8<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/react-router-dom"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.1.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/redux-logger"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.8<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@typescript-eslint/eslint-plugin"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.9.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@typescript-eslint/eslint-plugin-tslint"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.9.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@typescript-eslint/parser"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.9.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"babel-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^8.2.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"clean-webpack-plugin"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"css-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"eslint"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.14.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"eslint-plugin-jsdoc"</span>: <span class="pl-s"><span class="pl-pds">"</span>^30.7.8<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"eslint-plugin-no-null"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.0.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"eslint-plugin-react-hooks"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"fibers"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"file-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^6.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"html-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.3.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"html-webpack-plugin"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.5.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"identity-obj-proxy"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"imports-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"json-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.5.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"redux-logger"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"resolve-url-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.1.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"source-map-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.1.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"style-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ts-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^8.0.11<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"typescript"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.1.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"url-loader"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.1.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"webpack"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.9.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"webpack-bundle-analyzer"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"webpack-cli"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"webpack-dev-server"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.0.0-beta.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"webpack-pwa-manifest"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.3.0<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"dependencies"</span>: {
    <span class="pl-ent">"@babel/preset-env"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/preset-react"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/preset-typescript"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/runtime"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.5<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@babel/runtime-corejs3"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.12.5<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@material-ui/core"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.11.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@material-ui/icons"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.9.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@material-ui/lab"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.0.0-alpha.56<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"axios"</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.21.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"connected-react-router"</span>: <span class="pl-s"><span class="pl-pds">"</span>^6.8.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"crypto-js"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"history"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"jquery"</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.5.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"js-cookie"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.2.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"react"</span>: <span class="pl-s"><span class="pl-pds">"</span>^17.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"react-dom"</span>: <span class="pl-s"><span class="pl-pds">"</span>^17.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"react-redux"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.2.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"react-router"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"react-router-dom"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"react-spring"</span>: <span class="pl-s"><span class="pl-pds">"</span>^8.0.27<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"redux"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.0.5<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"redux-thunk"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.3.0<span class="pl-pds">"</span></span>
  }
}
</pre></div>
<h1 dir="auto">The error</h1>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="docker-compose -f docker-compose-dev.yml up
Recreating docker_react_dev_container ... done
Attaching to docker_react_dev_container
docker_react_dev_container |
docker_react_dev_container | &gt; hmv1@0.1.0 start_docker /var/www
docker_react_dev_container | &gt; webpack serve --config=webpack.config.dev.js --mode=development --host 0.0.0.0
docker_react_dev_container |
docker_react_dev_container | &lt;i&gt; [webpack-dev-server] Project is running at http://0.0.0.0:3000/
docker_react_dev_container | &lt;i&gt; [webpack-dev-server] Content not from webpack is served from /var/www
docker_react_dev_container | &lt;i&gt; [webpack-dev-server] 404s will fallback to /index.html
docker_react_dev_container | (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
docker_react_dev_container | BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
docker_react_dev_container |    Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
docker_react_dev_container |    Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
docker_react_dev_container | (Use `node --trace-deprecation ...` to show where the warning was created)
docker_react_dev_container | Error parsing bundle asset &quot;/var/www/dist/main.js&quot;: no such file
docker_react_dev_container |
docker_react_dev_container | No bundles were parsed. Analyzer will show only original module sizes from stats file.
docker_react_dev_container |
docker_react_dev_container | Webpack Bundle Analyzer is started at http://127.0.0.1:8888
docker_react_dev_container | Use Ctrl+C to close it
docker_react_dev_container | &lt;e&gt; [webpack-dev-middleware] assets by path icons/ 46.3 KiB
docker_react_dev_container | &lt;e&gt;   asset icons/android/icon_192x192.4b84f1f7e81945d33680dacbfc230eaa.png 23.1 KiB [emitted]
docker_react_dev_container | &lt;e&gt;   asset icons/ios/icon_192x192.4b84f1f7e81945d33680dacbfc230eaa.png 23.1 KiB [emitted]
docker_react_dev_container | &lt;e&gt; asset main.js 250 KiB [emitted] (name: main) 1 related asset
docker_react_dev_container | &lt;e&gt; asset icon_512x512.27f2880700cd02fe09aa71289ac8b7f7.png 29.8 KiB [emitted]
docker_react_dev_container | &lt;e&gt; asset favicon.ico 3.78 KiB [emitted]
docker_react_dev_container | &lt;e&gt; asset index.html 1.03 KiB [emitted]
docker_react_dev_container | &lt;e&gt; asset manifest.de05c92f23f6c327d93c915bc9ebcc42.json 656 bytes [emitted]
docker_react_dev_container | &lt;e&gt; runtime modules 24.8 KiB 10 modules
docker_react_dev_container | &lt;e&gt; cacheable modules 193 KiB
docker_react_dev_container | &lt;e&gt;   modules by path ./node_modules/webpack-dev-server/client/ 71 KiB 12 modules
docker_react_dev_container | &lt;e&gt;   modules by path ./node_modules/webpack/hot/*.js 4.3 KiB 4 modules
docker_react_dev_container | &lt;e&gt;   modules by path ./node_modules/html-entities/lib/*.js 57.9 KiB 4 modules
docker_react_dev_container | &lt;e&gt;   modules by path ./node_modules/url/ 37.4 KiB 3 modules
docker_react_dev_container | &lt;e&gt;   modules by path ./node_modules/querystring/*.js 4.51 KiB
docker_react_dev_container | &lt;e&gt;     ./node_modules/querystring/index.js 127 bytes [built] [code generated]
docker_react_dev_container | &lt;e&gt;     ./node_modules/querystring/decode.js 2.34 KiB [built] [code generated]
docker_react_dev_container | &lt;e&gt;     ./node_modules/querystring/encode.js 2.04 KiB [built] [code generated]
docker_react_dev_container | &lt;e&gt;   ./src/index.tsx 39 bytes [built] [code generated] [1 error]
docker_react_dev_container | &lt;e&gt;   ./node_modules/ansi-html/index.js 4.16 KiB [built] [code generated]
docker_react_dev_container | &lt;e&gt;   ./node_modules/events/events.js 13.8 KiB [built] [code generated]
docker_react_dev_container | &lt;e&gt; ./node_modules/webpack/hot/ sync nonrecursive ^\.\/log$ 170 bytes [built] [code generated]
docker_react_dev_container | &lt;e&gt;
docker_react_dev_container | &lt;e&gt; ERROR in ./src/index.tsx
docker_react_dev_container | &lt;e&gt; Module build failed (from ./node_modules/babel-loader/lib/index.js):
docker_react_dev_container | &lt;e&gt; Error: Cannot find module '@babel/plugin-transform-runtime' from '/var/www'
docker_react_dev_container | &lt;e&gt;     at Function.resolveSync [as sync] (/var/www/node_modules/resolve/lib/sync.js:90:15)
docker_react_dev_container | &lt;e&gt;     at resolveStandardizedName (/var/www/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
docker_react_dev_container | &lt;e&gt;     at resolvePlugin (/var/www/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
docker_react_dev_container | &lt;e&gt;     at loadPlugin (/var/www/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
docker_react_dev_container | &lt;e&gt;     at createDescriptor (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
docker_react_dev_container | &lt;e&gt;     at /var/www/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
docker_react_dev_container | &lt;e&gt;     at Array.map (&lt;anonymous&gt;)
docker_react_dev_container | &lt;e&gt;     at createDescriptors (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
docker_react_dev_container | &lt;e&gt;     at createPluginDescriptors (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
docker_react_dev_container | &lt;e&gt;     at plugins (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:40:19)
docker_react_dev_container | &lt;e&gt;
docker_react_dev_container | &lt;e&gt; webpack 5.9.0 compiled with 1 error in 5969 ms
docker_react_dev_container | &lt;i&gt; [webpack-dev-middleware] Failed to compile.
"><pre class="notranslate">docker-compose -f docker-compose-dev.yml up
Recreating docker_react_dev_container ... <span class="pl-k">done</span>
Attaching to docker_react_dev_container
docker_react_dev_container <span class="pl-k">|</span>
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&gt;</span> hmv1@0.1.0 start_docker /var/www
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&gt;</span> webpack serve --config=webpack.config.dev.js --mode=development --host 0.0.0.0
docker_react_dev_container <span class="pl-k">|</span>
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>i<span class="pl-k">&gt;</span> [webpack-dev-server] Project is running at http://0.0.0.0:3000/
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>i<span class="pl-k">&gt;</span> [webpack-dev-server] Content not from webpack is served from /var/www
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>i<span class="pl-k">&gt;</span> [webpack-dev-server] 404s will fallback to /index.html
docker_react_dev_container <span class="pl-k">|</span> (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen <span class="pl-k">in</span> future, all modifications are deprecated.
docker_react_dev_container <span class="pl-k">|</span> BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
docker_react_dev_container <span class="pl-k">|</span>    Do changes to assets earlier, e. g. <span class="pl-k">in</span> Compilation.hooks.processAssets.
docker_react_dev_container <span class="pl-k">|</span>    Make sure to <span class="pl-k">select</span> <span class="pl-smi">an</span> appropriate stage from Compilation.PROCESS_ASSETS_STAGE_<span class="pl-k">*</span>.
docker_react_dev_container <span class="pl-k">|</span> (Use <span class="pl-s"><span class="pl-pds">`</span>node --trace-deprecation ...<span class="pl-pds">`</span></span> to show where the warning was created)
docker_react_dev_container <span class="pl-k">|</span> Error parsing bundle asset <span class="pl-s"><span class="pl-pds">"</span>/var/www/dist/main.js<span class="pl-pds">"</span></span>: no such file
docker_react_dev_container <span class="pl-k">|</span>
docker_react_dev_container <span class="pl-k">|</span> No bundles were parsed. Analyzer will show only original module sizes from stats file.
docker_react_dev_container <span class="pl-k">|</span>
docker_react_dev_container <span class="pl-k">|</span> Webpack Bundle Analyzer is started at http://127.0.0.1:8888
docker_react_dev_container <span class="pl-k">|</span> Use Ctrl+C to close it
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> [webpack-dev-middleware] assets by path icons/ 46.3 KiB
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   asset icons/android/icon_192x192.4b84f1f7e81945d33680dacbfc230eaa.png 23.1 KiB [emitted]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   asset icons/ios/icon_192x192.4b84f1f7e81945d33680dacbfc230eaa.png 23.1 KiB [emitted]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> asset main.js 250 KiB [emitted] (name: main) 1 related asset
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> asset icon_512x512.27f2880700cd02fe09aa71289ac8b7f7.png 29.8 KiB [emitted]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> asset favicon.ico 3.78 KiB [emitted]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> asset index.html 1.03 KiB [emitted]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> asset manifest.de05c92f23f6c327d93c915bc9ebcc42.json 656 bytes [emitted]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> runtime modules 24.8 KiB 10 modules
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> cacheable modules 193 KiB
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   modules by path ./node_modules/webpack-dev-server/client/ 71 KiB 12 modules
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   modules by path ./node_modules/webpack/hot/<span class="pl-k">*</span>.js 4.3 KiB 4 modules
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   modules by path ./node_modules/html-entities/lib/<span class="pl-k">*</span>.js 57.9 KiB 4 modules
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   modules by path ./node_modules/url/ 37.4 KiB 3 modules
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   modules by path ./node_modules/querystring/<span class="pl-k">*</span>.js 4.51 KiB
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     ./node_modules/querystring/index.js 127 bytes [built] [code generated]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     ./node_modules/querystring/decode.js 2.34 KiB [built] [code generated]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     ./node_modules/querystring/encode.js 2.04 KiB [built] [code generated]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   ./src/index.tsx 39 bytes [built] [code generated] [1 error]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   ./node_modules/ansi-html/index.js 4.16 KiB [built] [code generated]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>   ./node_modules/events/events.js 13.8 KiB [built] [code generated]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> ./node_modules/webpack/hot/ sync nonrecursive ^<span class="pl-cce">\.\/</span>log$ 170 bytes [built] [code generated]
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> ERROR <span class="pl-k">in</span> ./src/index.tsx
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> Module build failed (from ./node_modules/babel-loader/lib/index.js):
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> Error: Cannot find module <span class="pl-s"><span class="pl-pds">'</span>@babel/plugin-transform-runtime<span class="pl-pds">'</span></span> from <span class="pl-s"><span class="pl-pds">'</span>/var/www<span class="pl-pds">'</span></span>
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at Function.resolveSync [as sync] (/var/www/node_modules/resolve/lib/sync.js:90:15)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at resolveStandardizedName (/var/www/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at resolvePlugin (/var/www/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at loadPlugin (/var/www/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at createDescriptor (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at /var/www/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at Array.map (<span class="pl-k">&lt;</span>anonymous<span class="pl-k">&gt;</span>)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at createDescriptors (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at createPluginDescriptors (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>     at plugins (/var/www/node_modules/@babel/core/lib/config/config-descriptors.js:40:19)
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span>
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>e<span class="pl-k">&gt;</span> webpack 5.9.0 compiled with 1 error <span class="pl-k">in</span> 5969 ms
docker_react_dev_container <span class="pl-k">|</span> <span class="pl-k">&lt;</span>i<span class="pl-k">&gt;</span> [webpack-dev-middleware] Failed to compile.
</pre></div>