Skip to content

Instantly share code, notes, and snippets.

@syddo
Created June 18, 2020 03:18
Show Gist options
  • Save syddo/66a9c6075f2aa74c2c50cd7073995ee1 to your computer and use it in GitHub Desktop.
Save syddo/66a9c6075f2aa74c2c50cd7073995ee1 to your computer and use it in GitHub Desktop.
erb add css library Bootstrap error
yarn add react-bootstrap bootstrap  ✔ 43s  11:10:40 
yarn add v1.22.4
$ node ./internals/scripts/CheckYarn.js
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > connected-react-router@6.8.0" has unmet peer dependency "immutable@^3.8.1 || ^4.0.0-rc.1".
warning " > connected-react-router@6.8.0" has unmet peer dependency "seamless-immutable@^7.1.3".
warning " > @typescript-eslint/eslint-plugin@2.17.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning " > @typescript-eslint/parser@2.17.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.0.1" has incorrect peer dependency "eslint@^5.16.0 || ^6.1.0".
warning "eslint-config-airbnb-typescript > eslint-config-airbnb@18.0.1" has incorrect peer dependency "eslint-plugin-react-hooks@^1.7.0".
warning "eslint-config-airbnb-typescript > eslint-config-airbnb-base@14.0.0" has incorrect peer dependency "eslint@^5.16.0 || ^6.1.0".
warning " > eslint-config-erb@0.3.0" has incorrect peer dependency "eslint@^6.8.0".
warning " > eslint-plugin-jsx-a11y@6.2.3" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6".
warning "eslint-plugin-jsx-a11y > axobject-query@2.1.1" has incorrect peer dependency "eslint@^5 || ^6".
warning " > bootstrap@4.5.0" has unmet peer dependency "jquery@1.9.1 - 3".
warning " > bootstrap@4.5.0" has unmet peer dependency "popper.js@^1.16.0".
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
success Saved 12 new dependencies.
info Direct dependencies
├─ bootstrap@4.5.0
└─ react-bootstrap@1.0.1
info All dependencies
├─ @popperjs/core@2.4.2
├─ @restart/context@2.1.4
├─ @restart/hooks@0.3.25
├─ @types/warning@3.0.0
├─ bootstrap@4.5.0
├─ classnames@2.2.6
├─ dom-helpers@5.1.4
├─ prop-types-extra@1.1.1
├─ react-bootstrap@1.0.1
├─ react-overlays@3.2.0
├─ react-transition-group@4.4.1
└─ warning@4.0.3
$ node -r @babel/register internals/scripts/CheckNativeDep.js && electron-builder install-app-deps && yarn build-dll && opencollective-postinstall
• electron-builder version=22.3.6
• loaded configuration file=package.json ("build" field)
• installing production dependencies platform=darwin arch=x64 appDir=/Users/sydpao/Documents/temp/erb-latest/app
yarn run v1.22.4
$ cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors
Hash: d085648d226adea9cdf5
Version: webpack 4.41.5
Time: 2318ms
Built at: 06/18/2020 11:11:53 AM
Asset Size Chunks Chunk Names
renderer.dev.dll.js 5.4 MiB renderer [emitted] renderer
Entrypoint renderer = renderer.dev.dll.js
[0] dll renderer 12 bytes {renderer} [built]
[./node_modules/electron-debug sync recursive] ./node_modules/electron-debug sync 160 bytes {renderer} [built]
[./node_modules/webpack/buildin/harmony-module.js] (webpack)/buildin/harmony-module.js 573 bytes {renderer} [built]
[child_process] external "child_process" 42 bytes {renderer} [built]
[crypto] external "crypto" 42 bytes {renderer} [built]
[electron] external "electron" 42 bytes {renderer} [built]
[events] external "events" 42 bytes {renderer} [built]
[fs] external "fs" 42 bytes {renderer} [built]
[http] external "http" 42 bytes {renderer} [built]
[https] external "https" 42 bytes {renderer} [built]
[module] external "module" 42 bytes {renderer} [built]
[os] external "os" 42 bytes {renderer} [built]
[path] external "path" 42 bytes {renderer} [built]
[url] external "url" 42 bytes {renderer} [built]
[util] external "util" 42 bytes {renderer} [built]
+ 1018 hidden modules
WARNING in ./node_modules/electron-debug/index.js 96:45-58
Critical dependency: the request of a dependency is an expression
@ dll renderer
WARNING in ./node_modules/electron-debug/index.js 97:61-74
Critical dependency: the request of a dependency is an expression
@ dll renderer
ERROR in ./node_modules/bootstrap/dist/js/bootstrap.js
Module not found: Error: Can't resolve 'jquery' in '/Users/sydpao/Documents/temp/erb-latest/node_modules/bootstrap/dist/js'
@ ./node_modules/bootstrap/dist/js/bootstrap.js 7:82-99
@ dll renderer
ERROR in ./node_modules/bootstrap/dist/js/bootstrap.js
Module not found: Error: Can't resolve 'popper.js' in '/Users/sydpao/Documents/temp/erb-latest/node_modules/bootstrap/dist/js'
@ ./node_modules/bootstrap/dist/js/bootstrap.js 7:101-121
@ dll renderer
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment