错误:EISDIR,使用cordova 3.5.0添加平台时对目录的非法操作

时间:2014-07-02 05:46:07

标签: android cordova

我已完成所有设置,但当我尝试将平台添加到我创建的项目时,我收到此错误。我真的不知道我应该从哪里开始调试。请帮忙

Creating android project...
Error: EISDIR, illegal operation on a directory
    at Object.fs.readSync (fs.js:481:19)
    at Object.fs.readSync (C:\Documents and Settings\Wong Wai Hong\Application D
ata\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\tar\node_modu
les\fstream\node_modules\graceful-fs\polyfills.js:218:23)
    at Object.fs.readFileSync (fs.js:320:28)
    at C:\Documents and Settings\Wong Wai Hong\Application Data\npm\node_modules
\cordova\node_modules\cordova-lib\src\cordova\platform.js:351:42
    at _fulfilled (C:\Documents and Settings\Wong Wai Hong\Application Data\npm\
node_modules\cordova\node_modules\q\q.js:798:54)
    at self.promiseDispatch.done (C:\Documents and Settings\Wong Wai Hong\Applic
ation Data\npm\node_modules\cordova\node_modules\q\q.js:827:30)`enter code here`
    at Promise.promise.promiseDispatch (C:\Documents and Settings\Wong Wai Hong\
Application Data\npm\node_modules\cordova\node_modules\q\q.js:760:13)
    at C:\Documents and Settings\Wong Wai Hong\Application Data\npm\node_modules
\cordova\node_modules\q\q.js:821:14
    at flush (C:\Documents and Settings\Wong Wai Hong\Application Data\npm\node_
modules\cordova\node_modules\q\q.js:108:17)
    at process._tickCallback (node.js:419:13)

0 个答案:

没有答案