Giter Club home page Giter Club logo

Comments (5)

guo-yu avatar guo-yu commented on July 17, 2024

SR1 5 小时 31 分钟前
ubuntu下显示node版本需要0.8+
又升级不了,好遗憾

from douban.fm.

baitouwei avatar baitouwei commented on July 17, 2024

意思是node的版本至少0.8+??
但是我的
node版本为 0.11.5
npm版本为1.3.6

结果还是有这个错误,我把错误贴给你看看

npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
> [email protected] install /usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/lame
> node-gyp rebuild
make:进入目录'/usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/speaker/build'
CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
make:进入目录'/usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/lame/build'
deps/mpg123/test.target.mk:118: 警告:覆盖关于目标“Release/test”的命令
deps/lame/test.target.mk:126: 警告:忽略关于目标“Release/test”的旧命令
CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/VbrTag.o
../deps/mpg123/src/output/alsa.c:19:28: 致命错误: alsa/asoundlib.h:没有那个文件或目录
编译中断。
make: *** [Release/obj.target/output/deps/mpg123/src/output/alsa.o] 错误 1
make:离开目录“/usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/speaker/build”
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:103:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:794:12)
gyp ERR! System Linux 3.8.0-19-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/speaker
gyp ERR! node -v v0.11.5
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok 
npm ERR! weird error 1
../deps/lame/libmp3lame/VbrTag.c:1082:1: 致命错误: 打开依赖文件 ./Release/.deps/Release/obj.target/mp3lame/deps/lame/libmp3lame/VbrTag.o.d.raw:没有那个文件或目录
编译中断。
Cannot create temporary file in /usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/lame/: 没有那个文件或目录
make: *** [Release/obj.target/mp3lame/deps/lame/libmp3lame/VbrTag.o] 已放弃 (core dumped)
make:离开目录“/usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/lame/build”
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:103:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:794:12)
gyp ERR! System Linux 3.8.0-19-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/douban.fm/node_modules/player/node_modules/lame
gyp ERR! node -v v0.11.5
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok 
npm ERR! not ok code 0

from douban.fm.

guo-yu avatar guo-yu commented on July 17, 2024

发布了 0.0.8 版本,你再试试看~

from douban.fm.

zhsj avatar zhsj commented on July 17, 2024

alsa/asoundlib.h:没有那个文件或目录
看上去是没有安装
libasound2-dev

from douban.fm.

xingzhixin avatar xingzhixin commented on July 17, 2024

遇到同样的问题,node版本是0.10.22

from douban.fm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.