cloverfield-tools / universal-react-boilerplate

A simple boilerplate Node app.
MIT License
904 stars 97 forks source link

npm ERR! notsup Unsupported platform for universal-react-boilerplate@3.0.0 #110

Closed karlpatrickespiritu closed 7 years ago

karlpatrickespiritu commented 7 years ago
$ npm install
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated cross-spawn-async@2.0.0: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
universal-react-boilerplate@3.0.0 C:\Users\Private\Development\web\links\food-shop
+-- ansi-regex@2.0.0  extraneous
+-- ansi-styles@2.2.1  extraneous
+-- babel-code-frame@6.16.0  extraneous
+-- babel-generator@6.19.0  extraneous
+-- babel-helpers@6.16.0  extraneous
+-- babel-register@6.18.0  extraneous
`-- d@0.1.1  extraneous

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Private\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.6.0
npm ERR! npm  v4.0.2
npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported platform for universal-react-boilerplate@3.0.0: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm ERR! notsup Valid OS:    darwin,linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: ia32

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Private\Development\web\links\food-shop\npm-debug.log
karlpatrickespiritu commented 7 years ago

Similar to npm issue #14042

karlpatrickespiritu commented 7 years ago

For windows users, try downgrading your npm to v3.10.7 and then adding this line in the package.json file.

"optionalDependencies": {
    "fsevents": "*"
},

Then run npm install. Worked for me.

karlpatrickespiritu commented 7 years ago

109