Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

douban.fm: command not found #1

Closed
xuemengfei opened this issue Jul 31, 2013 · 7 comments
Closed

douban.fm: command not found #1

xuemengfei opened this issue Jul 31, 2013 · 7 comments

Comments

@xuemengfei
Copy link

不知道为什么报这个错误

douban.fm: command not found

就是用

$ sudo npm install douban.fm -g

安装的

@guo-yu
Copy link
Owner

guo-yu commented Jul 31, 2013

我看看哈,稍等~

因为没达到完美的功能,我好几个版本都没有发布到npm了貌似~

@guo-yu
Copy link
Owner

guo-yu commented Aug 1, 2013

好了,卤煮再重新安装一遍即可:sudo npm install douban.fm -g

@guo-yu guo-yu closed this as completed Aug 1, 2013
@xuemengfei
Copy link
Author

node-gyp rebuild
deps/mpg123/test.target.mk:147: warning: overriding commands for target Release/test' deps/lame/test.target.mk:155: warning: ignoring old commands for targetRelease/test'
CC(target) Release/obj.target/output/deps/mpg123/src/output/coreaudio.o
CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/VbrTag.o
CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/bitstream.o
../deps/lame/libmp3lame/bitstream.c:991:32: warning: unused variable 'rsv' [-Wunused-variable]
RpgStateVar_t const const rsv = &gfc->sv_rpg;
^
../deps/lame/libmp3lame/bitstream.c:992:24: warning: unused variable 'rov' [-Wunused-variable]
RpgResult_t *const rov = &gfc->ov_rpg;
^
../deps/lame/libmp3lame/bitstream.c:990:34: warning: unused variable 'cfg' [-Wunused-variable]
SessionConfig_t const *const cfg = &gfc->cfg;
^
LIBTOOL-STATIC Release/liboutput.a
libtool: unrecognized option -static' libtool: Trylibtool --help' for more information.
make: *
* [Release/liboutput.a] Error 1
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:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 12.4.0
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.10.15
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm ERR! weird error 1
error: error opening './Release/.deps/Release/obj.target/mp3lame/deps/lame/libmp3lame/bitstream.o.d.raw': Error opening output
file './Release/.deps/Release/obj.target/mp3lame/deps/lame/libmp3lame/bitstream.o.d.raw'
3 warnings and 1 error generated.
make: *** [Release/obj.target/mp3lame/deps/lame/libmp3lame/bitstream.o] Error 1
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:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 12.4.0
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.10.15
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm ERR! not ok code 0

我不知道是不是我环境有问题……没查到这个错误的原因,求助 😆

@guo-yu
Copy link
Owner

guo-yu commented Aug 2, 2013

windows环境嘛?装player依赖的包失败了。。。douban.fm也就没装好。
是xp还是win7还是啥?

@xuemengfei
Copy link
Author

mac 上的

@xuemengfei
Copy link
Author

还需要装什么依赖吗?

@guo-yu
Copy link
Owner

guo-yu commented Aug 2, 2013

客官稍等片刻,我查查原因

@guo-yu guo-yu mentioned this issue Aug 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants