gpt4 book ai didi

node.js - couchapp 不起作用! ( Node .couchapp.js)

转载 作者:太空宇宙 更新时间:2023-11-03 23:46:58 26 4
gpt4 key购买 nike

我有一个问题:我已经安装了 couchapp,但它运行得不太好。我尝试重复此处所示:http://vimeo.com/26147136但是:

master@master:~/WebDev/superblog$ couchapp push app.js http://localhost:5984/superblog

“sys”模块现在称为“util”。它应该有类似的界面。

node.js:201 扔 e;//process.nextTick 错误,或第一个刻度上的“error”事件 ^

Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. at Function. (module.js:376:11) at Object. (/home/master/.node_libraries/couchapp@9999.0.0-LINK-b6f5885b/index.js:4:21) at Module._compile (module.js:432:26) at Object..js (module.js:450:10) at Module.load (module.js:351:31) at Function._load (module.js:310:12) at Module.require (module.js:357:17) at require (module.js:368:17) at Object. (/home/master/WebDev/superblog/app.js:1:79) at Module._compile (module.js:432:26)

我不知道是否要纠正。请帮助我!

最佳答案

您还可以使用 Kanso 推送写入 node.couchapp.js API 的应用程序:http://kan.so/docs/Kanso_for_node.couchapp.js_and_reupholster_developers

关于node.js - couchapp 不起作用! ( Node .couchapp.js),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8268261/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com