My first time working with npn/api. I follow instructions listed here https://github.com/gameflip/gfapi
and i am tuck at installing.
After typing npm install it shows
C:\Users\filli\Desktop\gfapi-master>npm install
dtrace-provider@0.8.6 install C:\Users\filli\Desktop\gfapi-master\node_modules\dtrace-provider
node-gyp rebuild || node suppress-error.js
C:\Users\filli\Desktop\gfapi-master\node_modules\dtrace-provider>if not defined npm_config_node_gyp (node “C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild )
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 PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild”
gyp ERR! cwd C:\Users\filli\Desktop\gfapi-master\node_modules\dtrace-provider
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
added 89 packages in 6.477s
then after npm run-script docs
C:\Users\filli\Desktop\gfapi-master>npm run-script docs
gfapi@0.1.1 docs C:\Users\filli\Desktop\gfapi-master
jsdoc -c jsdoc_conf.js -d docs -P package.json index.js; docco -o docs/samples src/samples/.js src/samples/.rb
Unknown command-line option “o”.
JSDoc 3.5.5 (Thu, 14 Sep 2017 02:51:54 GMT)
Options:
-a, --access Only display symbols with the given access: “package”, public", “protected”,
“private” or “undefined”, or “all” for all access levels. Default: all except
“private”
-c, --configure The path to the configuration file. Default: path/to/jsdoc/conf.json
-d, --destination The path to the output folder. Default: ./out/
–debug Log information for debugging JSDoc.
-e, --encoding Assume this encoding when reading all source files. Default: utf8
-h, --help Print this message and quit.
–match When running tests, only use specs whose names contain .
–nocolor When running tests, do not use color in console output.
-p, --private Display symbols marked with the @private tag. Equivalent to “–access all”.
Default: false
-P, --package The path to the project’s package file. Default: path/to/sourcefiles/package.json
–pedantic Treat errors as fatal errors, and treat warnings as errors. Default: false
-q, --query A query string to parse and store in jsdoc.env.opts.query. Example:
foo=bar&baz=true
-r, --recurse Recurse into subdirectories when scanning for source files and tutorials.
-R, --readme The path to the project’s README file. Default: path/to/sourcefiles/README.md
-t, --template The path to the template to use. Default: path/to/jsdoc/templates/default
-T, --test Run all tests and quit.
-u, --tutorials Directory in which JSDoc should search for tutorials.
-v, --version Display the version number and quit.
–verbose Log detailed information to the console as JSDoc runs.
-X, --explain Dump all found doclet internals to console and quit.
Visit http://usejsdoc.org for more information.
There are no input files to process.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gfapi@0.1.1 docs: jsdoc -c jsdoc_conf.js -d docs -P package.json index.js; docco -o docs/samples src/samples/.js src/samples/.rb
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gfapi@0.1.1 docs script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\filli\AppData\Roaming\npm-cache_logs\2018-04-17T15_02_50_360Z-debug.log
C:\Users\filli\Desktop\gfapi-master>