2
每次我試圖通過在命令行中輸入「故宮安裝-g早午餐」安裝早午餐,我得到了以下錯誤消息:錯誤消息,當全球安裝的早午餐
> [email protected] install /usr/local/share/npm/lib/node_modules/brunch/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:86:
../src/constants.cc:10:66: warning: template argument uses unnamed type [-Wunnamed-type-template-args]
object->Set(NanNew<v8::String>("kFSEventStreamEventFlagNone"), NanNew<v8::Integer>(kFSEventStreamEvent...
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h:290:1: note:
unnamed type used in template argument was declared here
enum {
^
1 warning generated.
SOLINK_MODULE(target) Release/fse.node
SOLINK_MODULE(target) Release/fse.node: Finished
/usr/local/share/npm/bin/brunch -> /usr/local/share/npm/lib/node_modules/brunch/bin/brunch
[email protected] /usr/local/share/npm/lib/node_modules/brunch
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
這只是一個警告,而不是一個錯誤。 – Scimonster 2014-10-12 09:03:30
我找不到源代碼(它在SO的某個地方),但是您可以通過更改npm權限來解決它 – xShirase 2014-10-12 09:06:01
如何更改npm權限? – elenawalom 2014-10-12 16:38:53