0
我在Express Node.js應用程序中使用connect-assetmanager將幾個JavaScript文件合併爲一個。但是,在Windows Azure網站進行部署時,我收到以下錯誤:在Windows Azure網站中使用connect-assetmanager時出現'EPERM'錯誤
Application has thrown an uncaught exception and is terminated:
Error: watch EPERM
at errnoException (fs.js:1019:11)
at FSWatcher.start (fs.js:1051:11)
at Object.fs.watch (fs.js:1076:11)
...
Note: I enabled debugger errors as explained here .
的連接,assetmanager當前的配置是:
var assetManager = require('connect-assetmanager');
var assetManagerGroups = {
'clientJs': {
'debug': true
, 'stale' : false
, 'route': /\/js\/reviews-app.js/
, 'path': __dirname + '/static/js/'
, 'dataType': 'javascript'
, 'files': [
, '/store/jquery.raty.js'
, '/store/jquery.placeholder.js'
, '/store/handlebars.js'
, '/lib.helpers.js'
, '/store/reviews.js'
]
}
};
app.use(express.static(__dirname + '/static'));
app.use(assetManager(assetManagerGroups));
app.use(app.router);
任何想法?