Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on windows #20

Open
zhangpy opened this issue May 26, 2017 · 0 comments
Open

build error on windows #20

zhangpy opened this issue May 26, 2017 · 0 comments

Comments

@zhangpy
Copy link

zhangpy commented May 26, 2017

here is the log

45145 silly doSerial global-install 0
45146 silly doParallel fetch 942
45147 silly rollbackFailedOptional Starting
45148 silly rollbackFailedOptional Finishing
45149 silly runTopLevelLifecycles Finishing
45150 silly install printInstalled
45151 verbose stack Error: Unsupported platform for [email protected]: wanted {"name":"fsevents","version":"0.3.8","description":"Native Access to Mac OS-X FSEvents","main":"fsevents.js","dependencies":{"nan":"^2.0.2"},"os":["darwin"],"engines":{"node":">=0.8.0"},"scripts":{"test":"tap ./test","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git+https://github.com/strongloop/fsevents.git"},"keywords":["fsevents","mac"],"author":{"name":"Philipp Dunkel","email":"[email protected]"},"license":"MIT","bugs":{"url":"https://github.com/strongloop/fsevents/issues"},"homepage":"https://github.com/strongloop/fsevents","devDependencies":{"tap":"~0.4.8"},"gypfile":true,"readme":"# FSEvents [![NPM](https://nodei.co/npm/fsevents.png)](https://nodei.co/npm/fsevents/)\n## Native Access to Mac OS-X FSEvents\n\n * [Node.js](http://nodejs.org/)\n * [Github repo](https://github.com/strongloop/fsevents.git)\n * [Module Site](https://github.com/strongloop/fsevents)\n * [NPM Page](https://npmjs.org/package/fsevents)\n\n## Installation\n\n\t$ npm install -g node-gyp\n\t$\tgit clone https://github.com/strongloop/fsevents.git fsevents\n\t$ cd fsevents\n\t$ node-gyp configure build\n\nOR SIMPLY\n\n\t$ npm install fsevents\n\n## Usage\n\n```js\nvar fsevents = require('fsevents');\nvar watcher = fsevents(__dirname);\nwatcher.on('fsevent', function(path, flags, id) { }); // RAW Event as emitted by OS-X\nwatcher.on('change', function(path, info) {}); // Common Event for all changes\nwatcher.start() // To start observation\nwatcher.stop()  // To end observation\n```\n\n### Events\n\n * *fsevent* - RAW Event as emitted by OS-X\n * *change* - Common Event for all changes\n * *created* - A File-System-Item has been created\n * *deleted* - A File-System-Item has been deleted\n * *modified* - A File-System-Item has been modified\n * *moved-out* - A File-System-Item has been moved away from this location\n * *moved-in* - A File-System-Item has been moved into this location\n\nAll events except *fsevent* take an *info* object as the second parameter of the callback. The structure of this object is:\n\n```js\n{\n  \"event\": \"<event-type>\",\n  \"id\": <eventi-id>,\n  \"path\": \"<path-that-this-is-about>\",\n  \"type\": \"<file|directory|symlink>\",\n  \"changes\": {\n    \"inode\": true, // Has the iNode Meta-Information changed\n    \"finder\": false, // Has the Finder Meta-Data changed\n    \"access\": false, // Have the access permissions changed\n    \"xattrs\": false // Have the xAttributes changed\n  },\n  \"flags\": <raw-flags>\n}\n```\n\n## MIT License\n\nCopyright (C) 2010-2014 Philipp Dunkel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","readmeFilename":"Readme.md","_id":"[email protected]","_shasum":"9992f1032c925c829554d0d59801dca0313a5356","_resolved":"https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","_from":"fsevents@>=0.3.1 <0.4.0","_inCache":true,"_requested":{"raw":"fsevents@https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","scope":null,"escapedName":"fsevents","name":"fsevents","rawSpec":"https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","spec":"https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","type":"remote"},"_spec":"fsevents@https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","_where":"C:\\Users\\lvxi\\project\\matc\\ghedit","_args":[[{"raw":"fsevents@https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","scope":null,"escapedName":"fsevents","name":"fsevents","rawSpec":"https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","spec":"https://registry.npmjs.org/fsevents/-/fsevents-0.3.8.tgz","type":"remote"},"C:\\Users\\lvxi\\project\\matc\\ghedit"]],"_shrinkwrap":null,"optionalDependencies":{}} (current: {"os":"win32","cpu":"x64"})
45151 verbose stack     at checkPlatform (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-install-checks\index.js:45:14)
45151 verbose stack     at thenWarnEngineIssues (C:\Program Files\nodejs\node_modules\npm\lib\install\validate-args.js:41:5)
45151 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\iferr\index.js:13:50
45151 verbose stack     at checkEngine (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-install-checks\index.js:24:10)
45151 verbose stack     at module.exports.isInstallable (C:\Program Files\nodejs\node_modules\npm\lib\install\validate-args.js:38:3)
45151 verbose stack     at actions.(anonymous function) (C:\Program Files\nodejs\node_modules\npm\lib\install\actions.js:52:14)
45151 verbose stack     at execAction (C:\Program Files\nodejs\node_modules\npm\lib\install\actions.js:114:7)
45151 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:52:35
45151 verbose stack     at Array.forEach (native)
45151 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:52:11
45152 verbose pkgid [email protected]
45153 verbose cwd C:\Users\lvxi\project\matc\ghedit
45154 error Windows_NT 6.1.7601
45155 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
45156 error node v6.9.5
45157 error npm  v3.10.10
45158 error code EBADPLATFORM
45159 error notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
45160 error notsup Valid OS:    darwin
45160 error notsup Valid Arch:  any
45160 error notsup Actual OS:   win32
45160 error notsup Actual Arch: x64
45161 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant