3
我按照http://learn.mean.io/中指定的步驟進行操作。 我運行cmd作爲adiminstrator。 但我發現了以下錯誤上運行,但得到以下錯誤:windows上的mean.io安裝
On windows platform - Please check permissions independently
All permissions should be run with the local users permissions
Cloning branch: master into destination folder: myApp2
git clone --depth 1 -bmaster https://github.com/linnovate/mean.git "myApp2"
FIND: Parameter format not correct
There are 2 files in your ~/.npm owned by root
Please change the permissions by running - chown -R `whoami` ~/.npm
C:\Users\CE\AppData\Roaming\npm\node_modules\mean-cli\lib\utils.js:67
throw('ROOT PERMISSIONS IN NPM');
^
ROOT PERMISSIONS IN NPM
感謝您指出這一點。令人討厭的是爲了開始一個新項目而必須編輯平均資源來源。 – djskinner 2015-04-03 20:14:06
我創建了一個刪除令人反感的代碼的分支。使用:'npm install -g git:// github.com/djskinner/mean-cli.git' – djskinner 2015-04-03 20:21:18
that worked ...謝謝 – 2015-04-06 05:55:05