Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Npm install -- Throws be python error #93

Open
ShunmugamAiyappan opened this issue Aug 31, 2017 · 2 comments
Open

Npm install -- Throws be python error #93

ShunmugamAiyappan opened this issue Aug 31, 2017 · 2 comments

Comments

@ShunmugamAiyappan
Copy link

E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Users\Shan-Aeturnum\AppData\Roaming\nvm\v6.11.2\node.exe',
gyp verb cli 'E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed at getNotFoundError (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:13:12)
gyp verb which failed at F (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:68:19)
gyp verb which failed at E (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:80:29)
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:89:16
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\index.js:42:5
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb which failed python2 { Error: not found: python2
gyp verb which failed at getNotFoundError (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:13:12)
gyp verb which failed at F (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:68:19)
gyp verb which failed at E (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:80:29)
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:89:16
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\index.js:42:5
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb which failed stack: 'Error: not found: python2\n at getNotFoundError (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:13:12)\n at F (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:68:19)\n at E (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:80:29)\n at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:89:16\n at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\index.js:42:5\n at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:123:15)',
gyp verb which failed code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which failed Error: not found: python
gyp verb which failed at getNotFoundError (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:13:12)
gyp verb which failed at F (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:68:19)
gyp verb which failed at E (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:80:29)
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:89:16
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\index.js:42:5
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb which failed python { Error: not found: python
gyp verb which failed at getNotFoundError (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:13:12)
gyp verb which failed at F (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:68:19)
gyp verb which failed at E (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:80:29)
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:89:16
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\index.js:42:5
gyp verb which failed at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb which failed stack: 'Error: not found: python\n at getNotFoundError (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:13:12)\n at F (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:68:19)\n at E (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:80:29)\n at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\which\which.js:89:16\n at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\index.js:42:5\n at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomplete (fs.js:123:15)',
gyp verb which failed code: 'ENOENT' }
gyp verb could not find "python". checking python launcher
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at Object.failNoPython (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at Object. (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Users\Shan-Aeturnum\AppData\Roaming\nvm\v6.11.2\node.exe" "E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\node-sass
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed
npm WARN Error: EPERM: operation not permitted, scandir 'E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\fsevents\node_modules\dashdash\node_modules'
npm WARN at Error (native)
npm WARN { Error: EPERM: operation not permitted, scandir 'E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\fsevents\node_modules\dashdash\node_modules'
npm WARN at Error (native)
npm WARN stack: 'Error: EPERM: operation not permitted, scandir 'E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\fsevents\node_modules\dashdash\node_modules'\n at Error (native)',
npm WARN errno: -4048,
npm WARN code: 'EPERM',
npm WARN syscall: 'scandir',
npm WARN path: 'E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\fsevents\node_modules\dashdash\node_modules' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@ShunmugamAiyappan
Copy link
Author

I have change the node-sass version, now its working

@ShunmugamAiyappan
Copy link
Author

Failed to set error notification.
E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\webpack-dev-server\lib\Server.js:29
const validationErrors = webpack.validateSchema(optionsSchema, options);
^

TypeError: webpack.validateSchema is not a function
at new Server (E:\Projects\FrontEnd\Incentivio\isomorphic500\node_modules\webpack-dev-server\lib\Server.js:29:35)
at exports.default (E:/Projects/FrontEnd/Incentivio/isomorphic500/webpack/server.js:24:28)
at E:\Projects\FrontEnd\Incentivio\isomorphic500\index.js:16:32
at Server. (E:/Projects/FrontEnd/Incentivio/isomorphic500/src/server.js:81:50)
at Server.g (events.js:292:16)
at emitNone (events.js:86:13)
at Server.emit (events.js:185:7)
at emitListeningNT (net.js:1284:10)
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
31 Aug 10:04:21 - [nodemon] app crashed - waiting for file changes before starting...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant