New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing jsbin via NPM on Windows 7 x64 #353
Comments
|
Could you edit to put the npm output into a gist and then link to it? What errors are you getting now? |
|
Sure, I put everything I could get into the gist above. If there's a better way to capture all of the output show in the windows command prompt than > log.txt, let me know. |
|
Hmm. There's a couple of things you could try. I'm not too hot on Windows so you might have to adapt this... Clone the whole repo, npm install and then run it like that: git clone git://github.com/remy/jsbin.git
cd jsbin && npm install
grunt runOr, maybe try installing each of JSBin's dependencies individually and see if one of those errors. @remy might have a better opinion on this than me! |
|
From what I currently know, the sqlite modules don't compile - but it might For the very short term, the only solution I can suggest is using a virtual |
|
@remy I've already insulated myself against this somewhat--all of my dev environments are in VMs. Alas, they're all Windows VMs running on a Windows host. I've been punting on the need to image my host and install the linux distro de jour, but it's been low priority. Spinning up a Linux VM, though, is trivial. @PhUU I'll scrape some time together this week and give that a stab. |
|
Sounds good. I would crack out a Windows VM but I don't have any on this computer to play with, sorry! |
|
@PhUU I can install of of jsbin's dependencies without error. sqlite3 throws a lot of warnings, but it succeeds. Once done, I get the same series of errors from npm install -g jsbin Cloning jsbin and installing locally yields the same results. The VM solution works; however, I can't get my team on board until there's a working Windows version. Thanks for the help; I'll wait for a proper Windows fix. |
|
I'd like to get jsbin working on windows too - so we'll be looking at this next week to narrow down what's causing the issues. |
|
I'm also unable to install the latest master on Windows 7 64-bit and Windows Server 2008 R2 64-bit |
|
I have this working on windows, the problem I think is bcrypt, I compiled it myself from the latest v0.7.3. However I now have an sqlite error: |
|
@PhUU - can you update the full-v3 sql and add a separate SQL patch for the On 11 January 2013 09:03, cetchells notifications@github.com wrote:
|
|
For the record, its working winxp 32bit. I'm running it under node 0.8.14. I have Visual Studio c++ express. I also installed openssl http://slproweb.com/products/Win32OpenSSL.html |
|
@cetchells it's because the sqlite table structure is out of date to the latest code. @PhUU is working on it now to get a fix up to github that you can apply to your database to fix the issue. |
|
@cetchells I've added an upgrade file that you can run against the jsbin database. I'll write some instructions on how to do that if you need! |
|
Yes, I got that. It's fixed. |
|
I got this to build in win8 64bit. You need 64bit open ssl from here: |
|
Jsbin installation still fails for me on Windows 7x64. I have the same environment as previously reported. The log for this run is at https://gist.github.com/bc3c77f5694c7858b5a7. jsbin If I clone jsbin and manually set the bcrypt depency to 0.7.3 as @cetchells noted, the installation does succeed; however, I get this error when trying to exec 'jsbin': C:\Users\me\Downloads\jsbin-master>jsbin C:\Users\me\AppData\Roaming\npm\node_modules\jsbin\lib\store.js:9 |
|
@somecallmechief It looks like this is a bug - Method archiveBin is missing from lib/db/sqlite.js. To fix it up just add |
|
That's right - it was added to the mysql adapter, but missed on the sqlite On 1 February 2013 09:01, cetchells notifications@github.com wrote:
|
Windows users (linux and osx maybe too) must try install node-gyp with dependency first (openssl and so on https://github.com/TooTallNate/node-gyp)
why?
as you can see problem near node-gyp, node-gyp try build native (C,C++) modules for sqlite and bcrypt
you can (must)
// bcrypt = require('bcrypt'),
bcrypt = require('bcryptjs'),
if you still have errors in console -> this is sqlite3 native library too
as i know mysql have no node-gyp dependency
if all fine?
|
|
THANKS @mibamur !!! Worked for me on windows 8.1! |
|
@mibamur has a solution that works, but I would prefer to use sqlite over mysql. Even when I have updated and installed sqlite3 to the latest version and built it properly I'm getting "Warning: Something went wrong while saving." |
|
Windows and Mavericks installs via npm are now all working (as of version 3.11.23). |
|
windows10 node4.4.2 可以安装吗 |
|
The documentation says to install nodejs. I downloaded nodejs and the website said that it was for Windows 7. When I tried installing it, I got error saying that it won't install on anything less than Windows 8.1. Were you able to install nodejs on your Windows 7? If so, how? |
I'm trying to install jsbin using the command:
npm install -g jsbin
My first error was issue #338, which I resolved by adding Git (/bin) to my PATH. Then I hit the issue with bcrypt #94, which I solved by installing OpenSSL-Win32 (and OpenSSL-Win64 for good measure) and adding them (/lib and /bin) to my PATH.
From there, I updated my Python 2.7.3 to 2.75. I installed SQLite WIndows (and sqlite3 in node). I already had the Windows 7.1 SDK and Visual Studio 2010 and Visual Studio 2012 installed, but I also installed the C++ 2005, 2008, 2010 and 2012 (x86 and 84) libraries. I ran Windows Update. I also installed the Visual Studio 2010 C++ Express edition as recommended by other posts.
Nothing so far has prevailed. I should note I can install various other packages without issue (Grunt, Brunch, Yeoman, etc).
This is the result of my last attempt, running:
npm -dd install -g jsbin
Any hope?
NOTE: the npm-debug.log does not appear to fully reflect all of the errors I see in the command prompt (which I cannot see all of much less copy/paste, because this is Windows). Nonetheless, log begins: https://gist.github.com/3805457
The text was updated successfully, but these errors were encountered: