trazyn / ieaseMusic

网易云音乐第三方
MIT License
8.78k stars 995 forks source link

请问怎么在ubuntu上编译 #401

Open eric-gitta-moore opened 5 years ago

eric-gitta-moore commented 5 years ago

请问怎么在ubuntu上编译

eric-gitta-moore commented 5 years ago

pi@raspberrypi:~/Program/ieaseMusic-1.3.4 $ npm run dev

iease-music@1.3.4 dev /home/pi/Program/ieaseMusic-1.3.4 concurrently --kill-others "npm run hot-server" "npm run start-hot"

[0] [0] > iease-music@1.3.4 hot-server /home/pi/Program/ieaseMusic-1.3.4 [0] > cross-env NODE_ENV=development DEBUG_COLORS=true DEBUG=dev:,-not_this node -r babel-register server/dev.js [0] [1] [1] > iease-music@1.3.4 start-hot /home/pi/Program/ieaseMusic-1.3.4 [1] > cross-env HOT=1 NODE_ENV=development DEBUG_COLORS=true DEBUG=dev:,-not_this ./node_modules/.bin/electron -r babel-register -r babel-polyfill ./main [1] [1] /home/pi/Program/ieaseMusic-1.3.4/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.27' not found (required by /home/pi/Program/ieaseMusic-1.3.4/node_modules/electron/dist/electron) [1] npm ERR! code ELIFECYCLE npm ERR! errno 1 [1] npm ERR! iease-music@1.3.4 start-hot:cross-env HOT=1 NODE_ENV=development DEBUG_COLORS=true DEBUG=dev:*,-not_this ./node_modules/.bin/electron -r babel-register -r babel-polyfill ./main [1] npm ERR! Exit status 1 [1] npm ERR! [1] npm ERR! Failed at the iease-music@1.3.4 start-hot script. [1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above. [1] [1] npm ERR! A complete log of this run can be found in: [1] npm ERR! /home/pi/.npm/_logs/2019-04-06T10_16_19_790Z-debug.log [1] npm run start-hot exited with code 1 --> Sending SIGTERM to other processes.. [0] npm run hot-server exited with code SIGTERM npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iease-music@1.3.4 dev:concurrently --kill-others "npm run hot-server" "npm run start-hot"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iease-music@1.3.4 dev 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! /home/pi/.npm/_logs/2019-04-06T10_16_20_257Z-debug.log pi@raspberrypi:~/Program/ieaseMusic-1.3.4 $

ghost commented 5 years ago

缺少glibc,建议apt install build-essential