PrestonKnopp / language-gdscript

gdscript language grammar package for atom.io
https://atom.io/packages/lang-gdscript
MIT License
32 stars 9 forks source link

Error when installing #23

Closed Dixon1380 closed 5 years ago

Dixon1380 commented 5 years ago

When I tried to install direct from Atom.io, I get the following error below:

tree-sitter-gdscript@0.2.3 install C:\Users\Dixon\AppData\Local\Temp\apm-install-dir-119726-19608-1ur5w7f.6t4o\node_modules\lang-gdscript\node_modules\tree-sitter-gdscript prebuild-install || node-gyp rebuild

C:\Users\Dixon\AppData\Local\Temp\apm-install-dir-119726-19608-1ur5w7f.6t4o\node_modules\lang-gdscript\node_modules\tree-sitter-gdscript>if not defined npm_config_node_gyp (node "C:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )

prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=node arch=x64 libc= platform=win32) 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:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19) gyp ERR! stack at PythonFinder. (C:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:517:16) gyp ERR! stack at C:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:182:21) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\bin\node.exe" "C:\Users\Dixon\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Dixon\AppData\Local\Temp\apm-install-dir-119726-19608-1ur5w7f.6t4o\node_modules\lang-gdscript\node_modules\tree-sitter-gdscript gyp ERR! node -v v10.2.1 gyp ERR! node-gyp -v v3.7.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Dixon\AppData\Local\Temp\apm-install-dir-119726-19608-1ur5w7f.6t4o\package.json' npm WARN apm-install-dir-119726-19608-1ur5w7f.6t4o No description npm WARN apm-install-dir-119726-19608-1ur5w7f.6t4o No repository field. npm WARN apm-install-dir-119726-19608-1ur5w7f.6t4o No README data npm WARN apm-install-dir-119726-19608-1ur5w7f.6t4o No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! tree-sitter-gdscript@0.2.3 install: prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the tree-sitter-gdscript@0.2.3 install 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\Dixon.atom.apm_logs\2019-08-27T04_01_05_072Z-debug.log

Dixon1380 commented 5 years ago

I resolved the issue by reopening and closing the application.