Comments (4)
可能是npm包没装完全,确认npm install没问题吗?能否把mylogs目录下的log文件内容贴出来
from jsgen.
mylogs没有日志输出, npm install 貌似是正常的
gmatoMacBook-Pro:jsgen gxb$ npm install
npm http GET https://registry.npmjs.org/rrestjs
npm http GET https://registry.npmjs.org/mongoskin
npm http GET https://registry.npmjs.org/marked
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/thenjs
npm http GET https://registry.npmjs.org/nodemailer
npm http GET https://registry.npmjs.org/xss
npm http 304 https://registry.npmjs.org/mongoskin
npm http 304 https://registry.npmjs.org/rrestjs
npm http 304 https://registry.npmjs.org/thenjs
npm http 304 https://registry.npmjs.org/redis
npm http 304 https://registry.npmjs.org/marked
npm http 304 https://registry.npmjs.org/xss
npm http 304 https://registry.npmjs.org/nodemailer
npm WARN prefer global [email protected] should be installed with -g
npm http GET https://registry.npmjs.org/mailcomposer
npm http GET https://registry.npmjs.org/simplesmtp
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/formidable/1.0.11
npm http GET https://registry.npmjs.org/generic-pool/1.0.6
npm http GET https://registry.npmjs.org/jade/0.20.0
npm http GET https://registry.npmjs.org/log4js/0.6.0
npm http GET https://registry.npmjs.org/mime/1.2.7
npm http GET https://registry.npmjs.org/mongodb/1.1.6
npm http GET https://registry.npmjs.org/socket.io/0.8.7
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/ejs/0.8.2
npm http GET https://registry.npmjs.org/less/1.3.0
npm http GET https://registry.npmjs.org/should/0.6.0
npm http GET https://registry.npmjs.org/now/0.8.1
npm http GET https://registry.npmjs.org/http-proxy/0.8.5
npm http GET https://registry.npmjs.org/request/2.11.4
npm http GET https://registry.npmjs.org/commander/1.0.5
npm http GET https://registry.npmjs.org/mkdirp/0.3.4
npm http GET https://registry.npmjs.org/qs/0.5.1
npm http GET https://registry.npmjs.org/xml2js/0.2.3
npm http GET https://registry.npmjs.org/data2xml/0.8.0
npm http 304 https://registry.npmjs.org/simplesmtp
npm http 304 https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/bson/0.2.2
npm http GET https://registry.npmjs.org/kerberos/0.0.3
npm http 304 https://registry.npmjs.org/log4js/0.6.0
npm http 304 https://registry.npmjs.org/jade/0.20.0
npm http 304 https://registry.npmjs.org/formidable/1.0.11
npm http 304 https://registry.npmjs.org/mailcomposer
npm http 304 https://registry.npmjs.org/socket.io/0.8.7
npm http 304 https://registry.npmjs.org/mongodb/1.1.6
npm http 304 https://registry.npmjs.org/mime/1.2.7
npm http GET https://registry.npmjs.org/xoauth2
npm http GET https://registry.npmjs.org/rai
npm http GET https://registry.npmjs.org/mime/1.2.9
npm http GET https://registry.npmjs.org/mimelib
npm http 304 https://registry.npmjs.org/should/0.6.0
npm http 304 https://registry.npmjs.org/less/1.3.0
npm http 304 https://registry.npmjs.org/ejs/0.8.2
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/now/0.8.1
npm http 304 https://registry.npmjs.org/commander/1.0.5
npm http 304 https://registry.npmjs.org/request/2.11.4
npm http 304 https://registry.npmjs.org/http-proxy/0.8.5
npm http 304 https://registry.npmjs.org/mkdirp/0.3.4
npm http 304 https://registry.npmjs.org/xml2js/0.2.3
npm http 304 https://registry.npmjs.org/data2xml/0.8.0
npm http 304 https://registry.npmjs.org/qs/0.5.1
npm http 304 https://registry.npmjs.org/bson/0.2.2
npm http 304 https://registry.npmjs.org/generic-pool/1.0.6
npm http 304 https://registry.npmjs.org/rai
npm http 304 https://registry.npmjs.org/xoauth2
npm http 304 https://registry.npmjs.org/kerberos/0.0.3
npm http GET https://registry.npmjs.org/sax
npm http 304 https://registry.npmjs.org/mimelib
npm http GET https://registry.npmjs.org/keypress
> [email protected] install /Users/gxb/softlight/Project/Git/jsgen/node_modules/mongoskin/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)
npm http GET https://registry.npmjs.org/socket.io-client/0.8.7
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/async/0.1.15
npm http GET https://registry.npmjs.org/dequeue/1.0.3
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/bson/0.1.3
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/redis/0.6.7
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/node-proxy
npm http 304 https://registry.npmjs.org/mime/1.2.9
npm http GET https://registry.npmjs.org/encoding
npm http GET https://registry.npmjs.org/addressparser
> [email protected] install /Users/gxb/softlight/Project/Git/jsgen/node_modules/mongoskin/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)
npm http 304 https://registry.npmjs.org/async/0.1.15
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
CXX(target) Release/obj.target/bson/ext/bson.o
CXX(target) Release/obj.target/kerberos/lib/worker.o
npm http 304 https://registry.npmjs.org/dequeue/1.0.3
CC(target) Release/obj.target/kerberos/lib/kerberosgss.o
CC(target) Release/obj.target/kerberos/lib/base64.o
CXX(target) Release/obj.target/kerberos/lib/kerberos_context.o
SOLINK_MODULE(target) Release/kerberos.node
SOLINK_MODULE(target) Release/bson.node
SOLINK_MODULE(target) Release/kerberos.node: Finished
SOLINK_MODULE(target) Release/bson.node: Finished
npm http 304 https://registry.npmjs.org/sax
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/commander
npm WARN engine [email protected]: wanted: {"node":">= 0.4.x < 0.7.0"} (current: {"node":"v0.8.11","npm":"1.1.62"})
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/socket.io-client/0.8.7
npm http 304 https://registry.npmjs.org/bson/0.1.3
npm WARN package.json [email protected] No README.md file found!
npm http 304 https://registry.npmjs.org/optimist
> [email protected] install /Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/mongodb/node_modules/bson
> node install.js
npm http 304 https://registry.npmjs.org/redis/0.6.7
npm http 304 https://registry.npmjs.org/pkginfo
================================================================================
= =
= To install with C++ bson parser do <npm install mongodb --mongodb:native> =
= =
================================================================================
npm http 304 https://registry.npmjs.org/node-proxy
npm http GET https://registry.npmjs.org/wordwrap
> [email protected] install /Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/now/node_modules/node-proxy
> node-gyp configure build
npm http 304 https://registry.npmjs.org/encoding
npm http 304 https://registry.npmjs.org/addressparser
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/uglify-js/1.0.6
npm http GET https://registry.npmjs.org/websocket-client/1.0.0
npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2
CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o
../src/node-proxy.cc:816:1: warning: control may reach end of non-void function
[-Wreturn-type]
}
^
npm http 304 https://registry.npmjs.org/keypress
1 warning generated.
SOLINK_MODULE(target) Release/nodeproxy.node
SOLINK_MODULE(target) Release/nodeproxy.node: Finished
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/websocket-client/1.0.0
npm http 304 https://registry.npmjs.org/uglify-js/1.0.6
npm http 304 https://registry.npmjs.org/iconv-lite
[email protected] node_modules/thenjs
[email protected] node_modules/xss
[email protected] node_modules/marked
[email protected] node_modules/redis
[email protected] node_modules/mongoskin
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/rrestjs
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/nodemailer
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
from jsgen.
调试的时候, 发现下面这段代码报错
require('rrestjs')
Error: Problem reading log4js config { appenders: [ { category: 'angularjs.cn', type: 'logLevelFilter', level: 'error', appender: [Object], makers: [Object] } ] }. Error was "Cannot find module 'file'" (Error: Cannot find module 'file' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object.loadAppender (/Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/log4js/lib/log4js.js:290:26) at Object.configure (/Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/log4js/lib/appenders/logLevelFilter.js:14:12) at /Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/log4js/lib/log4js.js:148:59 at Array.forEach (native) at configureAppenders (/Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/log4js/lib/log4js.js:144:22) at configureOnceOff (/Users/gxb/softlight/Project/Git/jsgen/node_modules/rrestjs/node_modules/log4js/lib/log4js.js:196:13))
from jsgen.
已经解决, 是Node 版本问题, 需要0.10.X
from jsgen.
Related Issues (20)
- 没有测试代码吗?
- 密码忘记无法找回,提示报告错误。
- 如何通过pm2启动? HOT 4
- [小麻烦]这货在安装过程中貌似遇到了一些麻烦。 HOT 6
- I don't find the file of "/tag/JavaScript"
- I don't find the file of "/tag/JavaScript" HOT 2
- 如何在开发模式调试 HOT 1
- [BUG] 全局loading有可能无法消失的问题. HOT 1
- node app.js install 执行失败 HOT 1
- { [Error: Cannot find module 'rrestjs'] code: 'MODULE_NOT_FOUND', domainThrown:true } HOT 3
- 第一次发文章,貌似有bug
- gulp build 遇到报错 大神!
- 官网怎么连个搜索功能都没有啊 HOT 1
- 关于rest api增强式设计的几点建议 HOT 1
- 安装不成功,求帮助,谢谢 HOT 3
- 关于mongodb版本3.0版本上运行jsgen解决方案
- npm start 报错 HOT 4
- Robot SEO 系统 怎么动态生成html代码?
- node app.js install 时报错 HOT 1
- check config file error: TypeError: check[key] is not a function rrestjs process 53266 Config file checking complete, errors:0/73, warns:0/73
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 jsgen.