ошибка в stream-browserify при установке реагирующего проекта - PullRequest
0 голосов
/ 02 апреля 2020

Я устанавливаю реактивный проект с jenkins, но каждый раз, когда jenkins показывает эту проблему:

ERROR in ./~/stream-browserify/index.js
Module not found: Error: Can't resolve 'readable-stream/writable.js' in '/data/jenkins/workspace/CHR_CAT_COLLECTE_FRONT/node_modules/stream-browserify'
 @ ./~/stream-browserify/index.js 29:18-56
 @ ./~/browserify-sign/browser/index.js
 @ ./~/crypto-browserify/index.js
 @ ./~/react-tooltip/dist/index.es.js
 @ ./src/components/modules/tournees-collecte/TableResultatRechercheTournee.tsx
 @ ./src/components/modules/tournees-collecte/ModuleTourneesCollecte.tsx
 @ ./src/components/App.tsx
 @ ./src/Index.tsx

ERROR in ./~/stream-browserify/index.js
Module not found: Error: Can't resolve 'readable-stream/duplex.js' in '/data/jenkins/workspace/CHR_CAT_COLLECTE_FRONT/node_modules/stream-browserify'
 @ ./~/stream-browserify/index.js 30:16-52
 @ ./~/browserify-sign/browser/index.js
 @ ./~/crypto-browserify/index.js
 @ ./~/react-tooltip/dist/index.es.js
 @ ./src/components/modules/tournees-collecte/TableResultatRechercheTournee.tsx
 @ ./src/components/modules/tournees-collecte/ModuleTourneesCollecte.tsx
 @ ./src/components/App.tsx
 @ ./src/Index.tsx

ERROR in ./~/stream-browserify/index.js
Module not found: Error: Can't resolve 'readable-stream/transform.js' in '/data/jenkins/workspace/CHR_CAT_COLLECTE_FRONT/node_modules/stream-browserify'
 @ ./~/stream-browserify/index.js 31:19-58
 @ ./~/browserify-sign/browser/index.js
 @ ./~/crypto-browserify/index.js
 @ ./~/react-tooltip/dist/index.es.js
 @ ./src/components/modules/tournees-collecte/TableResultatRechercheTournee.tsx
 @ ./src/components/modules/tournees-collecte/ModuleTourneesCollecte.tsx
 @ ./src/components/App.tsx
 @ ./src/Index.tsx

ERROR in ./~/stream-browserify/index.js
Module not found: Error: Can't resolve 'readable-stream/passthrough.js' in '/data/jenkins/workspace/CHR_CAT_COLLECTE_FRONT/node_modules/stream-browserify'
 @ ./~/stream-browserify/index.js 32:21-62
 @ ./~/browserify-sign/browser/index.js
 @ ./~/crypto-browserify/index.js
 @ ./~/react-tooltip/dist/index.es.js
 @ ./src/components/modules/tournees-collecte/TableResultatRechercheTournee.tsx
 @ ./src/components/modules/tournees-collecte/ModuleTourneesCollecte.tsx
 @ ./src/components/App.tsx
 @ ./src/Index.tsx
Child html-webpack-plugin for "index.html":
       [0] ./~/lodash/lodash.js 541 kB {0} [built]
       [1] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 532 bytes {0} [built]
       [2] (webpack)/buildin/global.js 509 bytes {0} [built]
       [3] (webpack)/buildin/module.js 517 bytes {0} [built]

    WARNING in DedupePlugin: This plugin was removed from webpack. Remove it from your configuration.
Child html-webpack-plugin for "index.html":
       [0] ./~/lodash/lodash.js 541 kB {0} [built]
       [1] ./~/html-webpack-plugin/lib/loader.js!./src/index-prod.html 642 bytes {0} [built]
       [2] (webpack)/buildin/global.js 509 bytes {0} [built]
       [3] (webpack)/buildin/module.js 517 bytes {0} [built]

Может кто-нибудь помочь мне решить эту проблему? отметил, что сборка работает, наконец, раньше и ничего не изменилось. Я попытался восстановить старую сборку, но теперь она показывает ту же ошибку.

Спасибо!

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...