Comments (5)
SR1 5 小时 31 分钟前
ubuntu下显示node版本需要0.8+
又升级不了,好遗憾
from douban.fm.
意思是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.
发布了 0.0.8 版本,你再试试看~
from douban.fm.
alsa/asoundlib.h:没有那个文件或目录
看上去是没有安装
libasound2-dev
from douban.fm.
遇到同样的问题,node版本是0.10.22
from douban.fm.
Related Issues (20)
- 树莓派 B+ 获取声卡失败 HOT 3
- 豆瓣 FM 官方歌词 API HOT 3
- 无法登陆账号 HOT 6
- 程序崩溃
- 编译出错。。 HOT 2
- Could node version 0.12.2 work
- 无法安装 HOT 7
- 登录失败,没有提示信息 HOT 1
- Mac os x 安装出错了 [email protected] install: `node-gyp rebuild` HOT 2
- 无法打开
- 尝试用Docker生成镜像,不知道要怎么加载声卡驱动 HOT 4
- 建议将 UI 与控制逻辑解耦 HOT 2
- douban.fm config 登录不了帐号 HOT 2
- Mac 下无法安装,请问支持多少版本的node?
- 安装失败 HOT 1
- GitHub release
- 树莓派运行douban.fm报错
- mac os
- 庆祝退休
- 退休
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from douban.fm.