首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装npm模块telldus core-js

无法安装npm模块telldus core-js
EN

Stack Overflow用户
提问于 2013-08-21 04:07:31
回答 1查看 385关注 0票数 0

你好,我想知道你是否可以帮助我在覆盆子pi上构建telldus core-js。

我得到了下面的错误,但找不出我做错了什么。

我尝试安装的模块是这个带有npm install telldus https://github.com/evilmachina/telldus-core-js -js -g的核心

代码语言:javascript
复制
>make: Entering directory /home/pi/piHomeAuto/node_modules/telldus-core-js/build'
>  CXX(target) Release/obj.target/telldus-core-js/telldus.o
>../telldus.cc:231:34: error: eio_req was not declared in this scope
>../telldus.cc:231:43: error: req was not declared in this scope
>../telldus.cc:231:48: error: expected , or ; before { token
>../telldus.cc:390:1: error: expected } at end of input
>make: *** [Release/obj.target/telldus-core-js/telldus.o] Fel 1
>make: Leaving directory /home/pi/piHomeAuto/node_modules/telldus-core-js/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:100:17)
>gyp ERR! stack     at Process.ChildProcess._handle.onexit         (child_process.js:789:12)
>gyp ERR! System Linux 3.6.11+
>gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-                gyp/bin/node->gyp.js" "configure" "build"
>gyp ERR! cwd /home/pi/piHomeAuto/node_modules/telldus-core-js
>gyp ERR! node -v v0.11.2
>gyp ERR! node-gyp -v v0.9.5
>gyp ERR! not ok
>npm ERR! weird error 1
EN

回答 1

Stack Overflow用户

发布于 2014-02-11 03:40:39

https://github.com/evilmachina/telldus-core-js/issues/6-core-js不适用于0.10.x版本的Node.js (参见此问题: Telldus-core-js )。使用问题中提到的核心,而不是telldus node-telldus fork -js。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18344093

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档