部署流星应用程序时出错

时间:2013-05-19 01:23:07

标签: deployment meteor

部署流星应用时,我遇到了这个错误:

Errors prevented deploying:
Exception while bundling application:
Error: EACCES, permission denied '/Users/andyjiang/Developer/hackathon/meteor/instachat/.meteor/local/build_tar/bundle/app/instachat.js'
    at Object.fs.unlinkSync (fs.js:582:18)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:280:10)
    at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
    at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
    at _.extend.write_to_directory (/Users/andyjiang/.meteor/tools/11f45b3996/tools/bundler.js:808:11)
    at Object.exports.bundle (/Users/andyjiang/.meteor/tools/11f45b3996/tools/bundler.js:887:12)
    at deployToServer (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:95:24)
    at deployCmd (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:78:7)
    at exports.inFiber (/Users/andyjiang/.meteor/tools/11f45b3996/tools/fiber-helpers.js:24:12)

/Users/andyjiang/.meteor/tools/11f45b3996/tools/fiber-helpers.js:25
    }).run();
       ^
Error: EACCES, permission denied '/Users/andyjiang/Developer/hackathon/meteor/instachat/.meteor/local/build_tar/bundle/app/instachat.js'
    at Object.fs.unlinkSync (fs.js:582:18)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:280:10)
    at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
    at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
    at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
    at Array.forEach (native)
    at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
    at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
    at deployToServer (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:101:11)
    at deployCmd (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:78:7)
    at exports.inFiber (/Users/andyjiang/.meteor/tools/11f45b3996/tools/fiber-helpers.js:24:12)

该应用在本地运行良好。我也没有任何问题地部署了其他Meteor应用程序。知道错误是什么吗?

谢谢, 安迪

0 个答案:

没有答案