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

Got package dependencies issues when install bazaar #7

Open
guxiahui opened this issue Jul 31, 2019 · 2 comments
Open

Got package dependencies issues when install bazaar #7

guxiahui opened this issue Jul 31, 2019 · 2 comments

Comments

@guxiahui
Copy link

guxiahui commented Jul 31, 2019

Hi guys,
I just followed read me to install DataTurks. I can successfully install and build hope backend. But when I tried to install bazaar by running npm install under bazaar folder. I got a lot of packages dependencies issues. Seems there are conflictions of some packages. Such as some package needs react@15, but some others need react@0.13
/workspace/DataTurks/bazaar$ sudo npm install
npm WARN lifecycle DataTurks@0.9.0~postinstall: cannot run in wd DataTurks@0.9.0 npm run build (wd=/home/ubuntu/workspace/DataTurks/bazaar)
npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN box-annotator@0.0.3 requires a peer of react@^15.2.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-addons-test-utils@0.14.8 requires a peer of react@^0.14.8 but none is installed. You must install peer dependencies yourself.
npm WARN react-dom@15.6.2 requires a peer of react@^15.6.2 but none is installed. You must install peer dependencies yourself.
npm WARN react-fullstory-component@2.1.0 requires a peer of react@15.x.x but none is installed. You must install peer dependencies yourself.
npm WARN react-google-login@3.0.2 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-konva@1.7.1 requires a peer of react-dom@16.x but none is installed. You must install peer dependencies yourself.
npm WARN react-lazy-load@3.0.12 requires a peer of react@^0.14.0 || ^15.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN react-leaflet@1.1.0 requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-leaflet-draw@0.18.0 requires a peer of react-leaflet@^1.1.6 but none is installed. You must install peer dependencies yourself.
npm WARN react-leaflet-draw@0.18.0 requires a peer of leaflet-draw@^0.4.9 but none is installed. You must install peer dependencies yourself.
npm WARN react-pdf@0.0.10 requires a peer of react@^0.13.3 || ^0.14 but none is installed. You must install peer dependencies yourself.
npm WARN react-pdf@0.0.10 requires a peer of react-dom@^0.13.3 || ^0.14 but none is installed. You must install peer dependencies yourself.
npm WARN react-resizable-rotatable-draggable@0.1.8 requires a peer of react-dom@^16 but none is installed. You must install peer dependencies yourself.
npm WARN react-router@2.4.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-router-dom@4.0.0 requires a peer of react@^15 but none is installed. You must install peer dependencies yourself.
npm WARN react-slick@0.15.4 requires a peer of react@^0.14.0 || ^15.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN redux-async-connect@1.0.0-rc4 requires a peer of react@0.14.x but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools-dock-monitor@1.1.2 requires a peer of react@^0.14.9 || ^15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN schema-utils@0.4.5 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN video-react@0.7.5 requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN violet-paginator@1.11.12 requires a peer of react@^0.14.8 || ^15.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN worker-loader@1.1.1 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/gulp-watch/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/gulp-copy/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 22702 packages in 23.674s
found 98 vulnerabilities (22 low, 19 moderate, 56 high, 1 critical)
run npm audit fix to fix them, or npm audit for details

@GokulNC
Copy link

GokulNC commented Nov 11, 2019

These are just warnings, not errors. You can ignore them.
Also, don't use sudo for npm install.

@bsriganesh
Copy link

root@dataturks:/home/dataturks/bazaar# npm install && npm run build-onprem
npm WARN lifecycle DataTurks@0.9.0~postinstall: cannot run in wd DataTurks@0.9.0 npm run build (wd=/home/dataturks/bazaar)
npm WARN ajv-keywords@3.3.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN box-annotator@0.0.3 requires a peer of react@^15.2.1 but none is installed. You must install peer dependencies yourself.
npm WARN box-annotator@0.0.3 requires a peer of react-dom@^15.2.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-jsx-a11y@6.2.0 requires a peer of eslint@^3 || ^4 || ^5 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN react-addons-test-utils@0.14.8 requires a peer of react@^0.14.8 but none is installed. You must install peer dependencies yourself.
npm WARN react-bootstrap@0.31.5 requires a peer of react@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-bootstrap@0.31.5 requires a peer of react-dom@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-ga@2.5.7 requires a peer of react@^15.6.2 || ^16.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-google-login@3.2.1 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-google-login@3.2.1 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-konva@1.7.16 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-leaflet-draw@0.18.0 requires a peer of leaflet-draw@^0.4.9 but none is installed. You must install peer dependencies yourself.
npm WARN react-overlays@0.7.4 requires a peer of react@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-overlays@0.7.4 requires a peer of react-dom@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-pdf@0.0.10 requires a peer of react@^0.13.3 || ^0.14 but none is installed. You must install peer dependencies yourself.
npm WARN react-pdf@0.0.10 requires a peer of react-dom@^0.13.3 || ^0.14 but none is installed. You must install peer dependencies yourself.
npm WARN react-reconciler@0.15.0 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-resizable-rotatable-draggable@0.1.8 requires a peer of react@^16 but none is installed. You must install peer dependencies yourself.
npm WARN react-resizable-rotatable-draggable@0.1.8 requires a peer of react-dom@^16 but none is installed. You must install peer dependencies yourself.
npm WARN react-slick@0.15.4 requires a peer of react@^0.14.0 || ^15.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-slick@0.15.4 requires a peer of react-dom@^0.14.0 || ^15.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN redux-async-connect@1.0.0-rc4 requires a peer of react@0.14.x but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools@3.5.0 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools-dock-monitor@1.1.3 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN violet-paginator@1.11.12 requires a peer of react@^0.14.8 || ^15.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN worker-loader@1.1.1 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (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.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/gulp-copy/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.13 (node_modules/gulp-watch/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"})

audited 2818 packages in 16.243s
found 417 vulnerabilities (321 low, 23 moderate, 72 high, 1 critical)
run npm audit fix to fix them, or npm audit for details

DataTurks@0.9.0 build-onprem /home/dataturks/bazaar
better-npm-run build-onprem

running better-npm-run in /home/dataturks/bazaar
Executing script: build-onprem

to be executed: webpack --verbose --colors --display-error-details --config webpack/onprem.config.js
clean-webpack-plugin: /home/dataturks/bazaar/static/dist has been removed.
Hash: 573e5fae24509371f104
Version: webpack 1.15.0
Time: 25384ms
Asset Size Chunks Chunk Names
main-573e5fae24509371f104.js 1.39 MB 0 [emitted] main
main-573e5fae24509371f104.js.map 10.9 MB 0 [emitted] main
[0] multi main 52 bytes {0} [built] [2 errors]
+ 1474 hidden modules

ERROR in multi main
Module not found: Error: Cannot resolve 'file' or 'directory' ./src/theme/bootstrap.config.prod.js in /home/dataturks/bazaar
resolve file
/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js doesn't exist
/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js.json doesn't exist
/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js.js doesn't exist
/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js.jsx doesn't exist
resolve directory
/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js doesn't exist (directory default file)
/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js/package.json doesn't exist (directory description file)
[/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js]
[/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js.json]
[/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js.js]
[/home/dataturks/bazaar/src/theme/bootstrap.config.prod.js.jsx]
@ multi main

ERROR in multi main
Module not found: Error: Cannot resolve 'file' or 'directory' ./src/theme/font-awesome.config.prod.js in /home/dataturks/bazaar
resolve file
/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js doesn't exist
/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js.json doesn't exist
/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js.js doesn't exist
/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js.jsx doesn't exist
resolve directory
/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js doesn't exist (directory default file)
/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js/package.json doesn't exist (directory description file)
[/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js]
[/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js.json]
[/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js.js]
[/home/dataturks/bazaar/src/theme/font-awesome.config.prod.js.jsx]
@ multi main

ERROR in ./src/routes.js
Module not found: Error: Cannot resolve module 'containers' in /home/dataturks/bazaar/src
resolve module containers in /home/dataturks/bazaar/src
looking for modules in /home/dataturks/bazaar/src
/home/dataturks/bazaar/src/containers doesn't exist (module as directory)
resolve 'file' containers in /home/dataturks/bazaar/src
resolve file
/home/dataturks/bazaar/src/containers doesn't exist
/home/dataturks/bazaar/src/containers.json doesn't exist
/home/dataturks/bazaar/src/containers.js doesn't exist
/home/dataturks/bazaar/src/containers.jsx doesn't exist
looking for modules in /home/dataturks/bazaar/node_modules
/home/dataturks/bazaar/node_modules/containers doesn't exist (module as directory)
resolve 'file' containers in /home/dataturks/bazaar/node_modules
resolve file
/home/dataturks/bazaar/node_modules/containers doesn't exist
/home/dataturks/bazaar/node_modules/containers.json doesn't exist
/home/dataturks/bazaar/node_modules/containers.js doesn't exist
/home/dataturks/bazaar/node_modules/containers.jsx doesn't exist
[/home/dataturks/bazaar/src/containers]
[/home/dataturks/bazaar/src/containers]
[/home/dataturks/bazaar/src/containers.json]
[/home/dataturks/bazaar/src/containers.js]
[/home/dataturks/bazaar/src/containers.jsx]
[/home/dataturks/bazaar/node_modules/containers]
[/home/dataturks/bazaar/node_modules/containers]
[/home/dataturks/bazaar/node_modules/containers.json]
[/home/dataturks/bazaar/node_modules/containers.js]
[/home/dataturks/bazaar/node_modules/containers.jsx]
@ ./src/routes.js 13:18-39

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