log4js Error: Cannot find module 'semver'
var log4js = require('node-log4js/log4js.js');
log4js.configure({
appenders: [
{ type: 'console' },
{ type: 'file', filename: 'logs/cheese.log', category: 'cheese' }
]
});
log4js Error: Cannot find module 'semver'
log4js 是正常加载了的,这个错误怎么回事啊!
1 回复
没用过log4js,不过这个应该是log4js里面要引用的module!你要npm install下