-
Notifications
You must be signed in to change notification settings - Fork 32
Installation Problem! #30
Comments
|
Thanks, but im really new to this, IE: started 3 days ago. What do i do with that link? |
The https://github.com/felixrieseberg/windows-build-tools/blob/master/README.md But I guess you found those as you closed this issue. :) |
wellll... i followed the readme and i still get an error |
D:\Software Development\Discord Bot\JS>npm install node-opus --save
D:\Software Development\Discord Bot\JS\node_modules\ref>if not defined npm_confi gyp ERR! build error npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: |
This is caused by https://github.com/TooTallNate/ref package failing to build on Windows. Unfortunately I don't really do any node development on Windows so can't help here. This isn't the first issue where this has been the case. This might be for reasons such as In any case I published version 0.2.6 of Can you try installing the 0.2.6 version? |
This could also be due to felixrieseberg/windows-build-tools#9 Do you have a proper Visual Studio installed locally instead of just the VC++ tools from the windows-build-tools package? Reading through the comments, these two are mutually exclusive. If you have Visual Studio installed separately, the VC++ tools won't install. When installing Visual Studio, it will not install the C++ compiler by default. I believe this is what node-gyp tries to use here. If this is the case, can you run the Visual Studio installer again and modify the installation to include the Visual C++ compiler? |
on that last point, is there anyway to add it because i installed VS 2015 WAAAYY before this project |
You can run the VS2015 installer again. It should prompt you to modify the installation, at which point you should get the chance to enable the C++ toolset. Once you progress, it'll download that and add it to your existing VS2015 installation. |
ok, i dont think i kept the installer, lets hope i can find it on their website |
https://gyazo.com/839d7ac4aeb623f19a9d5fa94cce450e would any of these do? |
Oh, sorry, had missed that last message. I don't know which edition of VS2015 you got so I can't really comment on that anyway. |
Ahh, no worries, i got it running on an ubuntu vps, thanks anyways!
…________________________________
From: Mikko Rantanen <[email protected]>
Sent: 01 May 2017 21:14
To: Rantanen/node-opus
Cc: TheUncannyScrub; State change
Subject: Re: [Rantanen/node-opus] Installation Problem! (#30)
Oh, sorry, had missed that last message.
I don't know which edition of VS2015 you got so I can't really comment on that anyway.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub<#30 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AZrbJWYgL18S4ZyHwmJRWyRGSE5fTtj_ks5r1j1BgaJpZM4M29wR>.
|
What? |
D:\Software Development\Discord Bot\JS>npm install discord.js node-opus --save
D:\Software Development\Discord Bot\JS\node_modules\ref>if not defined npm_confi
g_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\..
..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:404:11
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\grac
eful-fs\polyfills.js:264:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Software Development\Discord Bot\JS\node_modules\ref
gyp ERR! node -v v6.10.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
D:\Software Development\Discord Bot\JS
+-- [email protected]
+-- UNMET PEER DEPENDENCY erlpack@hammerandchisel/erlpack#master
+-- UNMET DEPENDENCY node-opus@latest
+-- UNMET PEER DEPENDENCY [email protected]
`-- UNMET PEER DEPENDENCY [email protected]
npm WARN enoent ENOENT: no such file or directory, open 'D:\Software Development
\Discord Bot\JS\package.json'
npm WARN [email protected] requires a peer of erlpack@hammerandchisel/erlpack#ma
ster but none was installed.
npm WARN [email protected] requires a peer of opusscript@^0.0.1 but none was ins
talled.
npm WARN [email protected] requires a peer of uws@^0.12.0 but none was installed
.
npm WARN JS No description
npm WARN JS No repository field.
npm WARN JS No README data
npm WARN JS No license field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "discord.js" "node-opus" "--save"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ref package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ref
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ref
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\Software Development\Discord Bot\JS\npm-debug.log
D:\Software Development\Discord Bot\JS>
The text was updated successfully, but these errors were encountered: