Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running server from docker image #164

Closed
odysseusulysses opened this issue Jul 9, 2020 · 9 comments
Closed

Issue running server from docker image #164

odysseusulysses opened this issue Jul 9, 2020 · 9 comments

Comments

@odysseusulysses
Copy link

Hi,

I was trying to play around with the docker container for the epigenome browser, however unfortunately I cannot get it to run.

I followed the instructions here https://eg.readthedocs.io/en/latest/installation.html#use-docker
When I navigate to the localhost:3000 however I get two errors

"TypeError: Cannot read property 'LineBasicMaterial' of undefined"

and

"Unhandled Rejection (TypeError): Cannot read property 'FontLoader' of undefined"

The full error traces are given in the attached zip file. Is this a known issue?

Washu_errors.zip

@lidaof
Copy link
Owner

lidaof commented Jul 9, 2020

Hi @odysseusulysses , see the update on Aframe library breaks the app. I will do a update to the docker image. Thanks for using the browser.

@odysseusulysses
Copy link
Author

Thanks

@mariko728
Copy link

Hello, I have the same issue when I tried to run WashU genome browser using the docker image.
I followed the instruction. https://eg.readthedocs.io/en/latest/installation.html#use-docker
It asked to run 'npm update" when I run 'npm start'.
and I got error messages when I run 'npm update' (see below)

Could you please help?
Thank you!

Here are the error messages when I run 'npm update'

root@be641af4f0e5:/eg-react/frontend# npm update
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-15T13_19_50_415Z-debug.log

Here are the error messages when I open the http://localhost:3000/.---

TypeError: Cannot read property 'LineBasicMaterial' of undefined
Module../src/components/vr/VrRuler.js
src/components/vr/VrRuler.js:15:22
12 | const fontLoader = new window.THREE.FontLoader();
13 | fontLoader.load(FONT_URL, resolve, undefined, reject);
14 | });

15 | const LINE_MATERIAL = new window.THREE.LineBasicMaterial({color: "black"});
| ^ 16 | const MATERIAL = new window.THREE.MeshBasicMaterial({color: "black"});
17 |
18 | /**
View compiled
webpack_require
/eg-react/frontend/webpack/bootstrap:781
778 | };
779 |
780 | // Execute the module function
781 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 782 |
783 | // Flag the module as loaded
784 | module.l = true;
View compiled
fn
/eg-react/frontend/webpack/bootstrap:149
146 | );
147 | hotCurrentParents = [];
148 | }
149 | return webpack_require(request);
| ^ 150 | };
151 | var ObjectFactory = function ObjectFactory(name) {
152 | return {
View compiled
Module../src/components/vr/BrowserScene.js
http://localhost:3000/static/js/main.chunk.js:30415:66
webpack_require
/eg-react/frontend/webpack/bootstrap:781
778 | };
779 |
780 | // Execute the module function
781 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 782 |
783 | // Flag the module as loaded
784 | module.l = true;
View compiled
fn
/eg-react/frontend/webpack/bootstrap:149
146 | );
147 | hotCurrentParents = [];
148 | }
149 | return webpack_require(request);
| ^ 150 | };
151 | var ObjectFactory = function ObjectFactory(name) {
152 | return {
View compiled
Module../src/App.js
http://localhost:3000/static/js/main.chunk.js:546:86
webpack_require
/eg-react/frontend/webpack/bootstrap:781
778 | };
779 |
780 | // Execute the module function
781 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 782 |
783 | // Flag the module as loaded
784 | module.l = true;
View compiled
fn
/eg-react/frontend/webpack/bootstrap:149
146 | );
147 | hotCurrentParents = [];
148 | }
149 | return webpack_require(request);
| ^ 150 | };
151 | var ObjectFactory = function ObjectFactory(name) {
152 | return {
View compiled
Module../src/AppRouter.js
src/AppRouter.js:1
1 | import React from 'react';
2 | import { BrowserRouter, Route, Switch } from 'react-router-dom';
3 | import App from './App';
4 | import NotFoundPage from './NotFound';
View compiled
webpack_require
/eg-react/frontend/webpack/bootstrap:781
778 | };
779 |
780 | // Execute the module function
781 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 782 |
783 | // Flag the module as loaded
784 | module.l = true;
View compiled
fn
/eg-react/frontend/webpack/bootstrap:149
146 | );
147 | hotCurrentParents = [];
148 | }
149 | return webpack_require(request);
| ^ 150 | };
151 | var ObjectFactory = function ObjectFactory(name) {
152 | return {
View compiled
Module../src/index.tsx
http://localhost:3000/static/js/main.chunk.js:33054:68
webpack_require
/eg-react/frontend/webpack/bootstrap:781
778 | };
779 |
780 | // Execute the module function
781 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 782 |
783 | // Flag the module as loaded
784 | module.l = true;
View compiled
fn
/eg-react/frontend/webpack/bootstrap:149
146 | );
147 | hotCurrentParents = [];
148 | }
149 | return webpack_require(request);
| ^ 150 | };
151 | var ObjectFactory = function ObjectFactory(name) {
152 | return {
View compiled
0
http://localhost:3000/static/js/main.chunk.js:48450:18
webpack_require
/eg-react/frontend/webpack/bootstrap:781
778 | };
779 |
780 | // Execute the module function
781 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 782 |
783 | // Flag the module as loaded
784 | module.l = true;
View compiled
checkDeferredModules
/eg-react/frontend/webpack/bootstrap:45
42 | }
43 | if(fulfilled) {
44 | deferredModules.splice(i--, 1);
45 | result = webpack_require(webpack_require.s = deferredModule[0]);
| ^ 46 | }
47 | }
48 | return result;
View compiled
Array.webpackJsonpCallback [as push]
/eg-react/frontend/webpack/bootstrap:32
29 | deferredModules.push.apply(deferredModules, executeModules || []);
30 |
31 | // run deferred modules when all chunks ready
32 | return checkDeferredModules();
| ^ 33 | };
34 | function checkDeferredModules() {
35 | var result;
View compiled
(anonymous function)
http://localhost:3000/static/js/main.chunk.js:1:53
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.

@lidaof
Copy link
Owner

lidaof commented Oct 15, 2020

Hi @mariko728 can you please try npm install --force? also I will update the docker sometime.

@mariko728
Copy link

Hello @lidaof
Thank you for your quick reply!
I run "npm install --force' but it did not work....
Here is what I did.

  1. npm install --force
  2. npm audit fix
  3. npm start......

Are there any suggestions?
Thank you!

Here is the long line of log.....

root@be641af4f0e5:/eg-react/frontend# npm install --force
npm WARN using --force I sure hope you know what you are doing.
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN html-webpack-plugin@2.30.1 requires a peer of webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3 but none is installed. You must install peer dependencies yourself.
npm WARN jest-image-snapshot@1.0.1 requires a peer of jest@^20.0.0 || ^21.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-dev-middleware@1.12.2 requires a peer of webpack@^1.0.0 || ^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.

audited 3088 packages in 16.952s
found 43403 vulnerabilities (43346 low, 31 moderate, 25 high, 1 critical)
run npm audit fix to fix them, or npm audit for details
root@be641af4f0e5:/eg-react/frontend# npm audit fix
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated eslint-loader@3.0.3: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @Hapi organization and moving back to 'joi' (hapijs/joi#2411)
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/react-app-polyfill/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/@babel/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidarAt2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/react-scripts/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/fork-ts-checker-webpack-plugin/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/@babel/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidarAt2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/react-scripts/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/fork-ts-checker-webpack-plugin/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN html-webpack-plugin@2.30.1 requires a peer of webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3 but none is installed. You must install peer dependencies yourself.
npm WARN jest-image-snapshot@1.0.1 requires a peer of jest@^20.0.0 || ^21.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-dev-middleware@1.12.2 requires a peer of webpack@^1.0.0 || ^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of webpack@^4.36.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.3.1 requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.

  • jquery@3.5.1

  • lodash@4.17.20

  • react-scripts@3.4.3

  • @babel/cli@7.12.0
    added 537 packages from 166 contributors, removed 98 packages, updated 375 packages and moved 14 packages in 106.636s
    fixed 43058 of 43403 vulnerabilities in 3088 scanned packages
    315 vulnerabilities required manual review and could not be updated
    7 package updates for 30 vulnerabilities involved breaking changes
    (use npm audit fix --force to install breaking changes; or refer to npm audit for steps to fix these manually)
    root@be641af4f0e5:/eg-react/frontend# npm audit

                     === npm audit security report ===                        
    

Run npm install --save-dev jest-image-snapshot@4.2.0 to resolve 1 vulnerability

SEMVER WARNING: Recommended action is a potentially breaking change

Low Regular Expression Denial of Service

Package debug

Dependency of jest-image-snapshot [dev]

Path jest-image-snapshot > blink-diff > preceptor-core > log4js >
streamroller > debug

More info https://npmjs.com/advisories/534

Run npm install --save-dev tcp-port-used@1.0.1 to resolve 1 vulnerability

SEMVER WARNING: Recommended action is a potentially breaking change

Low Regular Expression Denial of Service

Package debug

Dependency of tcp-port-used [dev]

Path tcp-port-used > debug

More info https://npmjs.com/advisories/534

Run npm install --save-dev @storybook/react@6.0.26 to resolve 17 vulnerabilities

SEMVER WARNING: Recommended action is a potentially breaking change

Moderate Denial of Service

Package js-yaml

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > css-loader > cssnano >
postcss-svgo > svgo > js-yaml

More info https://npmjs.com/advisories/788

Moderate Regular Expression Denial of Service

Package marked

Dependency of @storybook/react [dev]

Path @storybook/react > markdown-loader > marked

More info https://npmjs.com/advisories/812

High Code Injection

Package js-yaml

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > css-loader > cssnano >
postcss-svgo > svgo > js-yaml

More info https://npmjs.com/advisories/813

Low Denial of Service

Package mem

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > webpack > yargs >
os-locale > mem

More info https://npmjs.com/advisories/1084

Low Denial of Service

Package mem

Dependency of @storybook/react [dev]

Path @storybook/react > webpack > yargs > os-locale > mem

More info https://npmjs.com/advisories/1084

Moderate Cross-Site Scripting

Package serialize-javascript

Dependency of @storybook/react [dev]

Path @storybook/react > uglifyjs-webpack-plugin >
serialize-javascript

More info https://npmjs.com/advisories/1426

Low Prototype Pollution

Package yargs-parser

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > webpack > yargs >
yargs-parser

More info https://npmjs.com/advisories/1500

Low Prototype Pollution

Package yargs-parser

Dependency of @storybook/react [dev]

Path @storybook/react > webpack > yargs > yargs-parser

More info https://npmjs.com/advisories/1500

High Remote Code Execution

Package serialize-javascript

Dependency of @storybook/react [dev]

Path @storybook/react > uglifyjs-webpack-plugin >
serialize-javascript

More info https://npmjs.com/advisories/1548

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/addon-actions >
@storybook/components > glamor > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/addon-links >
@storybook/components > glamor > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > @storybook/ui >
@storybook/components > glamor > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/ui > @storybook/components >
glamor > fbjs > isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/addon-actions > glamor > fbjs
> isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > glamor > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > @storybook/ui >
@storybook/mantra-core > @storybook/react-simple-di >
create-react-class > fbjs > isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/ui > @storybook/mantra-core >
@storybook/react-simple-di > create-react-class > fbjs >
isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Run npm install --save-dev firebase@7.23.0 to resolve 4 vulnerabilities

SEMVER WARNING: Recommended action is a potentially breaking change

Low Prototype Pollution

Package minimist

Dependency of firebase [dev]

Path firebase > @firebase/firestore > grpc > node-pre-gyp >
mkdirp > minimist

More info https://npmjs.com/advisories/1179

Low Prototype Pollution

Package minimist

Dependency of firebase [dev]

Path firebase > @firebase/firestore > grpc > node-pre-gyp > tar >
mkdirp > minimist

More info https://npmjs.com/advisories/1179

Low Prototype Pollution

Package minimist

Dependency of firebase [dev]

Path firebase > @firebase/firestore > grpc > node-pre-gyp > rc >
minimist

More info https://npmjs.com/advisories/1179

Low Denial of Service

Package node-fetch

Dependency of firebase [dev]

Path firebase > @firebase/functions > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Run npm install --save-dev @storybook/addon-actions@6.0.26 to resolve 2 vulnerabilities

SEMVER WARNING: Recommended action is a potentially breaking change

Low Denial of Service

Package node-fetch

Dependency of @storybook/addon-actions [dev]

Path @storybook/addon-actions > @storybook/components > glamor >
fbjs > isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of @storybook/addon-actions [dev]

Path @storybook/addon-actions > glamor > fbjs > isomorphic-fetch
> node-fetch

More info https://npmjs.com/advisories/1556

Run npm install --save-dev @storybook/addon-links@6.0.26 to resolve 1 vulnerability

SEMVER WARNING: Recommended action is a potentially breaking change

Low Denial of Service

Package node-fetch

Dependency of @storybook/addon-links [dev]

Path @storybook/addon-links > @storybook/components > glamor >
fbjs > isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Run npm install --save-dev react-speech-recognition@3.2.3 to resolve 2 vulnerabilities

SEMVER WARNING: Recommended action is a potentially breaking change

Low Denial of Service

Package node-fetch

Dependency of react-speech-recognition [dev]

Path react-speech-recognition > react > create-react-class > fbjs
> isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Dependency of react-speech-recognition [dev]

Path react-speech-recognition > react > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Run npm update acorn --depth 11 to resolve 9 vulnerabilities

Moderate Regular Expression Denial of Service

Package acorn

Dependency of @storybook/react [dev]

Path @storybook/react > @storybook/core > webpack > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of @storybook/react [dev]

Path @storybook/react > webpack > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > @jest/core >
@jest/reporters > jest-runtime > jest-config >
jest-environment-jsdom > jsdom > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > @jest/core > jest-runner >
jest-jasmine2 > jest-runtime > jest-config >
jest-environment-jsdom > jsdom > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > @jest/core > jest-runner >
jest-runtime > jest-config > jest-environment-jsdom > jsdom
> acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > @jest/core > jest-runtime
> jest-config > jest-environment-jsdom > jsdom > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > @jest/core > jest-runner >
jest-config > jest-environment-jsdom > jsdom > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > @jest/core > jest-config >
jest-environment-jsdom > jsdom > acorn

More info https://npmjs.com/advisories/1488

Moderate Regular Expression Denial of Service

Package acorn

Dependency of react-scripts [dev]

Path react-scripts > jest > jest-cli > jest-config >
jest-environment-jsdom > jsdom > acorn

More info https://npmjs.com/advisories/1488

                             Manual Review                                  
         Some vulnerabilities require your attention to resolve             
                                                                            
      Visit https://go.npm.me/audit-guide for additional guidance           

Low Arbitrary File Write

Package cli

Patched in >=1.0.0

Dependency of code-mirror [dev]

Path code-mirror > jshint > cli

More info https://npmjs.com/advisories/95

High Regular Expression Denial of Service

Package minimatch

Patched in >=3.0.2

Dependency of code-mirror [dev]

Path code-mirror > jshint > minimatch

More info https://npmjs.com/advisories/118

Moderate Regular Expression Denial of Service

Package underscore.string

Patched in >=3.3.5

Dependency of code-mirror [dev]

Path code-mirror > js-yaml > argparse > underscore.string

More info https://npmjs.com/advisories/745

Low Regular Expression Denial of Service

Package braces

Patched in >=2.3.1

Dependency of babel-cli [dev]

Path babel-cli > chokidar > anymatch > micromatch > braces

More info https://npmjs.com/advisories/786

Moderate Denial of Service

Package js-yaml

Patched in >=3.13.0

Dependency of code-mirror [dev]

Path code-mirror > js-yaml

More info https://npmjs.com/advisories/788

High Code Injection

Package js-yaml

Patched in >=3.13.1

Dependency of code-mirror [dev]

Path code-mirror > js-yaml

More info https://npmjs.com/advisories/813

Low Prototype Pollution

Package minimist

Patched in >=0.2.1 <1.0.0 || >=1.2.3

Dependency of babel-cli [dev]

Path babel-cli > chokidar > fsevents > node-pre-gyp > mkdirp >
minimist

More info https://npmjs.com/advisories/1179

Low Prototype Pollution

Package minimist

Patched in >=0.2.1 <1.0.0 || >=1.2.3

Dependency of babel-cli [dev]

Path babel-cli > chokidar > fsevents > node-pre-gyp > tar >
mkdirp > minimist

More info https://npmjs.com/advisories/1179

Low Prototype Pollution

Package minimist

Patched in >=0.2.1 <1.0.0 || >=1.2.3

Dependency of babel-cli [dev]

Path babel-cli > chokidar > fsevents > node-pre-gyp > rc >
minimist

More info https://npmjs.com/advisories/1179

Low Denial of Service

Package node-fetch

Patched in >=2.6.1 <3.0.0-beta.1|| >= 3.0.0-beta.9

Dependency of react-radio-buttons [dev]

Path react-radio-buttons > react > create-react-class > fbjs >
isomorphic-fetch > node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Patched in >=2.6.1 <3.0.0-beta.1|| >= 3.0.0-beta.9

Dependency of react-radio-buttons [dev]

Path react-radio-buttons > react > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

Low Denial of Service

Package node-fetch

Patched in >=2.6.1 <3.0.0-beta.1|| >= 3.0.0-beta.9

Dependency of react-radio-buttons [dev]

Path react-radio-buttons > react-dom > fbjs > isomorphic-fetch >
node-fetch

More info https://npmjs.com/advisories/1556

found 49 vulnerabilities (31 low, 14 moderate, 4 high) in 3399 scanned packages
run npm audit fix to fix 9 of them.
28 vulnerabilities require semver-major dependency updates.
12 vulnerabilities require manual review. See the full report for details.
root@be641af4f0e5:/eg-react/frontend# npm sudit fix --force
npm WARN using --force I sure hope you know what you are doing.

Usage: npm

where is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami

npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview

Specify configs in the ini-formatted file:
/root/.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config

npm@6.11.3 /usr/local/n/versions/node/10.13.0/lib/node_modules/npm

Did you mean one of these?
audit
edit
root@be641af4f0e5:/eg-react/frontend# npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
npm WARN deprecated minimatch@0.2.9: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.1.14: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

fsevents@1.2.13 install /eg-react/frontend/node_modules/chokidarAt2/node_modules/fsevents
node install.js

Skipping 'fsevents' build as platform linux is not supported

fsevents@1.2.13 install /eg-react/frontend/node_modules/jest-haste-map/node_modules/fsevents
node install.js

Skipping 'fsevents' build as platform linux is not supported

fsevents@1.2.13 install /eg-react/frontend/node_modules/watchpack-chokidar2/node_modules/fsevents
node install.js

Skipping 'fsevents' build as platform linux is not supported

fsevents@1.2.13 install /eg-react/frontend/node_modules/webpack-dev-server/node_modules/fsevents
node install.js

Skipping 'fsevents' build as platform linux is not supported

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@firebase/polyfill/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/addon-actions/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/addon-links/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/api/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/channel-postmessage/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/channels/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/client-api/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/client-logger/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/components/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/core-events/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/core/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/node-logger/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/react/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/router/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/theming/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/@storybook/ui/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

core-js@3.6.5 postinstall /eg-react/frontend/node_modules/lazy-universal-dotenv/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

protobufjs@6.10.1 postinstall /eg-react/frontend/node_modules/protobufjs
node scripts/postinstall

npm WARN acorn-jsx@5.3.1 requires a peer of acorn@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of webpack@^4.36.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.

  • tcp-port-used@1.0.1
  • react-speech-recognition@3.2.3
  • @storybook/addon-actions@6.0.26
  • @storybook/react@6.0.26
  • jest-image-snapshot@4.2.0
  • @storybook/addon-links@6.0.26
  • firebase@7.23.0
    added 924 packages from 648 contributors, removed 641 packages, updated 167 packages and moved 8 packages in 89.519s
    fixed 37 of 49 vulnerabilities in 3399 scanned packages
    12 vulnerabilities required manual review and could not be updated
    7 package updates for 28 vulnerabilities involved breaking changes
    (installed due to --force option)
    root@be641af4f0e5:/eg-react/frontend# npm start

epgg@50.0.4 start /eg-react/frontend
react-app-rewired start

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

"babel-loader": "8.1.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-loader was detected higher up in the tree:

/eg-react/frontend/node_modules/babel-loader (version: 8.0.5)

Manually installing incompatible versions is known to cause hard-to-debug issues.

If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

To fix the dependency tree, try following the steps below in the exact order:

  1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
  2. Delete node_modules in your project folder.
  3. Remove "babel-loader" from dependencies and/or devDependencies in the package.json file in your project folder.
  4. Run npm install or yarn, depending on the package manager you use.

In most cases, this should be enough to fix the problem.
If this has not helped, there are a few other things you can try:

  1. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
    This may help because npm has known issues with package hoisting which may get resolved in future versions.

  2. Check if /eg-react/frontend/node_modules/babel-loader is outside your project directory.
    For example, you might have accidentally installed something in your home folder.

  3. Try running npm ls babel-loader in your project folder.
    This will tell you which other package (apart from the expected react-scripts) installed babel-loader.

If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.

P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! epgg@50.0.4 start: react-app-rewired start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the epgg@50.0.4 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-15T14_16_41_032Z-debug.log
root@be641af4f0e5:/eg-react/frontend#

@lidaof
Copy link
Owner

lidaof commented Oct 15, 2020

ok, I will try update the docker image asap. thanks for reporting!

@mariko728
Copy link

Thank you very much!

@lidaof
Copy link
Owner

lidaof commented Oct 28, 2020

sorry for late reply! @mariko728 I have updated docker images. feel free to let me know if you encounter any problem using them. Thanks!

@lidaof
Copy link
Owner

lidaof commented Feb 10, 2022

Closing this one but feel free to open any new issue. Thank you!

@lidaof lidaof closed this as completed Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants