Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

twbotのlog4jsのバージョンUP #3

Closed
wants to merge 2 commits into from

Conversation

hachi-eiji
Copy link

初めまして。
下記のNode.jsのユーザグループのページを見て、Node.jsを勉強していました。
http://dl.dropbox.com/u/219436/node.js/handson/build/html/webapp/websocket.html

twbotを使ったサンプルを組んでいたところ、以下の様なエラーが出てきました。

Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
    at Function.Module._compile.Object.defineProperty.get (module.js:386:11)
    at module.exports (/Users/node_modules/twbot/node_modules/log4js/lib/log4js.js:532:41)
    at new Twitter (/Users/node_modules/twbot/lib/twitter/index.js:58:53)

twbotのlog4jsのバージョンが古く動かないと判断したため、バージョンを上げました。
テストコードがなくて申し訳ないです。

動作確認環境は下記のとおりです。
Node.js 0.8.14
log4js 0.5.2

おかしな所があればご指摘いただけると幸いです。

node 0.8.4ではrequire.pathが削除されているため
@hachi-eiji hachi-eiji closed this Jul 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant