jxnblk / react-icons

Building SVG Icons with React
http://jxnblk.com/react-icons
133 stars 13 forks source link

icon #1

Open cohesionmacau opened 8 years ago

Mannaio commented 8 years ago

i have the node 5.0.0 installed by nvm and when i run the npm run build in the tutorial i get this error

This is the npm-debug.log

0 info it worked if it ends with ok 1 verbose cli [ '/Users/villat/.nvm/versions/node/v5.0.0/bin/node', 1 verbose cli '/Users/villat/.nvm/versions/node/v5.0.0/bin/npm', 1 verbose cli 'run', 1 verbose cli 'build' ] 2 info using npm@3.3.6 3 info using node@v5.0.0 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle react-icons@1.0.0~prebuild: react-icons@1.0.0 6 silly lifecycle react-icons@1.0.0~prebuild: no script for prebuild, continuing 7 info lifecycle react-icons@1.0.0~build: react-icons@1.0.0 8 verbose lifecycle react-icons@1.0.0~build: unsafe-perm in lifecycle true 9 verbose lifecycle react-icons@1.0.0~build: PATH: /Users/villat/.nvm/versions/node/v5.0.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/villat/Downloads/Projects/react-icons/node_modules/.bin:/Users/villat/.nvm/versions/node/v5.0.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin 10 verbose lifecycle react-icons@1.0.0~build: CWD: /Users/villat/Downloads/Projects/react-icons 11 silly lifecycle react-icons@1.0.0~build: Args: [ '-c', 'node build' ] 12 silly lifecycle react-icons@1.0.0~build: Returned: code: 1 signal: null 13 info lifecycle react-icons@1.0.0~build: Failed to exec build script 14 verbose stack Error: react-icons@1.0.0 build: node build 14 verbose stack Exit status 1 14 verbose stack at EventEmitter. (/Users/villat/.nvm/versions/node/v5.0.0/lib/node_modules/npm/lib/utils/lifecycle.js:233:16) 14 verbose stack at emitTwo (events.js:87:13) 14 verbose stack at EventEmitter.emit (events.js:172:7) 14 verbose stack at ChildProcess. (/Users/villat/.nvm/versions/node/v5.0.0/lib/node_modules/npm/lib/utils/spawn.js:24:14) 14 verbose stack at emitTwo (events.js:87:13) 14 verbose stack at ChildProcess.emit (events.js:172:7) 14 verbose stack at maybeClose (internal/child_process.js:818:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 15 verbose pkgid react-icons@1.0.0 16 verbose cwd /Users/villat/Downloads/Projects/react-icons 17 error Darwin 15.4.0 18 error argv "/Users/villat/.nvm/versions/node/v5.0.0/bin/node" "/Users/villat/.nvm/versions/node/v5.0.0/bin/npm" "run" "build" 19 error node v5.0.0 20 error npm v3.3.6 21 error code ELIFECYCLE 22 error react-icons@1.0.0 build: node build 22 error Exit status 1 23 error Failed at the react-icons@1.0.0 build script 'node build'. 23 error This is most likely a problem with the react-icons package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error node build 23 error You can get their info via: 23 error npm owner ls react-icons 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]

This is the error in my terminal, it is complaining about React.renderToStaticMarkup

screen shot 2016-05-26 at 16 57 51

See the screenshot