遇到构建错误,如:EPERM:不允许操作,打开'.. \ tmp \ build.lock',同时在编辑javascript文件后需要对网页进行重新加载。前端使用Ember Js,Ember-cli版本为2.4.3,node.js为7.9.0。 Windows 10 64位是操作系统。在此错误之后,余烬服务停止并且终端挂断。但这对Mac很好用。请帮帮我。
Error details are as follws:
EPERM: operation not permitted, open '..\tmp\build.lock'
________________________________________
Error: EPERM: operation not permitted, open '..\tmp\build.lock'
at Object.fs.openSync (fs.js:558:18)
at Class.preBuild (..\node_modules\ember-cli-rails-addon\index.js:38:10)
at ..\node_modules\ember-cli\lib\models\builder.js:144:34
at Array.map (native)
at Class.processAddonBuildSteps (..\node_modules\ember-cli\lib\models\builder.js:142:43)
at Class.build (..\node_modules\ember-cli\lib\models\builder.js:163:17)
at Watcher_build [as build] (..\node_modules\broccoli-sane-watcher\index.js:75:6)
at Watcher.<anonymous> (..\node_modules\broccoli-sane-watcher\index.js:43:17)
at tryCatch (..\node_modules\rsvp\dist\rsvp.js:525:12)
at invokeCallback (..\node_modules\rsvp\dist\rsvp.js:538:13)
答案 0 :(得分:1)
答案 1 :(得分:0)
重新启动您的计算机,可能正在使用该文件