0x61726b / electron-vibrancy

Make your electron windows vibrant!
MIT License
655 stars 50 forks source link

Installing vibrancy on electron-react-boilerplate #40

Open rendomnet opened 3 years ago

rendomnet commented 3 years ago

Cant install vibrancy on electron-react-boilerplate.

yarn add electron-vibrancy

OS: MacOs BigSur

error /****/node_modules/electron-vibrancy: Command failed.
Exit code: 1
Command: npm run rebuild
Arguments:
Directory: /****/node_modules/electron-vibrancy
Output:
npm WARN lifecycle The node binary used for scripts is /var/folders/lm/hpgnlwh51xl1_g8xm4f97_700000gn/T/yarn--1611489394893-0.5543748546272231/node but npm is using /*******/.nvm/versions/node/v10.19.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> electron-vibrancy@0.1.3 rebuild /*****/node_modules/electron-vibrancy
> node-gyp rebuild --target=1.4.2 --arch=x64 --debug --dist-url=https://atom.io/download/atom-shell

  CXX(target) Debug/obj.target/Vibrancy/src/Vibrancy.o
  CXX(target) Debug/obj.target/Vibrancy/src/vibrancy_mac.o
  CXX(target) Debug/obj.target/Vibrancy/src/Init.o
  SOLINK_MODULE(target) Debug/Vibrancy.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Debug/Vibrancy.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
xvilo commented 3 years ago

I'm seeing a similar error:

8 warnings generated.
  CXX(target) Release/obj.target/Vibrancy/src/Init.o
  SOLINK_MODULE(target) Release/Vibrancy.node

> electron-vibrancy@0.1.3 postinstall /Users/xvilo/projects/electron-test/node_modules/electron-vibrancy
> npm run rebuild

> electron-vibrancy@0.1.3 rebuild /Users/xvilo/projects/electron-test/node_modules/electron-vibrancy
> node-gyp rebuild --target=1.4.2 --arch=x64 --debug --dist-url=https://atom.io/download/atom-shell

  CXX(target) Debug/obj.target/Vibrancy/src/Vibrancy.o
  CXX(target) Debug/obj.target/Vibrancy/src/vibrancy_mac.o
  CXX(target) Debug/obj.target/Vibrancy/src/Init.o
  SOLINK_MODULE(target) Debug/Vibrancy.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Debug/Vibrancy.node] Error 1