我正在通过Get Started guide关注PhoneGap。
我已通过yarn global add phonegap
安装了Phonegap CLI。
然后我使用phonegap create
创建了一个新项目。
现在我尝试使用phonegap serve
运行它,但我立即收到错误。
[phonegap] starting app server...
/usr/local/share/.config/yarn/global/node_modules/q/q.js:126
throw e;
^
Error: watch /mnt/d/Dev/phonegap-test/www/css/ EPERM
at exports._errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1306:19)
at Object.fs.watch (fs.js:1331:11)
at Gaze._watchDir (/usr/local/share/.config/yarn/global/node_modules/gaze/lib/gaze.js:304:30)
at /usr/local/share/.config/yarn/global/node_modules/gaze/lib/gaze.js:377:10
at iterate (/usr/local/share/.config/yarn/global/node_modules/gaze/lib/helper.js:69:5)
at Object.forEachSeries (/usr/local/share/.config/yarn/global/node_modules/gaze/lib/helper.js:83:3)
at Gaze._initWatched (/usr/local/share/.config/yarn/global/node_modules/gaze/lib/gaze.js:373:10)
at Gaze.add (/usr/local/share/.config/yarn/global/node_modules/gaze/lib/gaze.js:192:8)
at new Gaze (/usr/local/share/.config/yarn/global/node_modules/gaze/lib/gaze.js:74:10)
我正在使用Ubuntu Bash for Windows 10.为什么它不起作用?