Coder Social home page Coder Social logo

npm issue about adafruit-webide HOT 12 CLOSED

adafruit avatar adafruit commented on July 21, 2024
npm issue

from adafruit-webide.

Comments (12)

jwcooper avatar jwcooper commented on July 21, 2024

You were able to reach github.com on your browser? In that case, it's likely an issue with either a firewall, proxy, or something blocking the 'git://' protocol. Are you behind anything that would cause this?

If you are behind a proxy, you can try this:
npm config set proxy http://yourproxyinfo
or
git config --global http.proxy http://login:password@our-proxy-server:8088

You can manually test, without running the full installation by typing this at the command line:
git clone git://github.com/jwcooper/forever-monitor.git

from adafruit-webide.

porktree avatar porktree commented on July 21, 2024

Not behind a proxy here...

npm ERR! git clone git://github.com/jwcooper/forever-monitor.git Cloning into '/home/pi/Adafruit/WebIDE/tmp/npm-1349655309631/1349655309631-0.48198314174078405'...
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git error: index-pack died of signal 11
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git fatal: index-pack failed

npm ERR! Error: git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349655309631/1349655309631-0.48198314174078405" failed with 128
npm ERR! at ChildProcess. (/usr/share/npm/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:362:16)
npm ERR! at Process.onexit (child_process.js:398:5)
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/pi/Adafruit/WebIDE/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.27+
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/Adafruit/WebIDE
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message git "clone" "git://github.com/jwcooper/forever-monitor.git" "/home/pi/Adafruit/WebIDE/tmp/npm-1349655309631/1349655309631-0.48198314174078405" failed with 128
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/Adafruit/WebIDE/npm-debug.log
npm not ok
pi@raspberrypi ~ $ npm ERR! git clone git://github.com/jwcooper/forever-monitor.git Cloning into '/home/pi/Adafruit/WebIDE/tmp/npm-1349655309631/1349655309631-0.48198314174078405'...

Running npm install gets the same thing, but running "git clone git://github.com/jwcooper/forever-monitor.git" yeilds...

npm ERR! git clone git://github.com/jwcooper/forever-monitor.git
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git error: index-pack died of signal 11
npm ERR! git clone git://github.com/jwcooper/forever-monitor.git fatal: index-pack failed

Whats up with that :)

from adafruit-webide.

jwcooper avatar jwcooper commented on July 21, 2024

Interesting, I don't think that's even a very large repository. Are you running this from a command line while logged into the RPi GUI? Or are you SSH'ing into the box?

I'm wondering if it's a memory issue, but once again, this repository cloned in about 1 second on my Pi. I just tested it, and it worked. I'm running the latest Occidentalis.

Have you 'shutdown -r now' your Pi lately?

You can also try running the following:
git config pack.windowMemory 10m
git config pack.packSizeLimit 20m

Via Stackoverflow:
http://stackoverflow.com/questions/4826639/repack-of-git-repository-fails

from adafruit-webide.

bwsparxz avatar bwsparxz commented on July 21, 2024

Seems as thou my ISP blocks the git protocol, not a firewall or proxy issue. I have to take my Pi somewhere where git is not blocked. Could change to https as that works at the beginning from the adafruit git, but cannot find the npm entries to change.

from adafruit-webide.

porktree avatar porktree commented on July 21, 2024

Im ssh'ing into the box. I just did a reboot and that didn't fix anything
nor did the pack commands. This is vanilla raspbian wheezy; so it'll be
easier to re-image. It'll be interesting to see if it works.

Sent from my iPad

On Oct 7, 2012, at 8:03 PM, Justin Cooper [email protected] wrote:

Interesting, I don't think that's even a very large repository. Are you
running this from a command line while logged into the RPi GUI? Or are you
SSH'ing into the box?

I'm wondering if it's a memory issue, but once again, this repository
cloned in about 1 second on my Pi. I just tested it, and it worked. I'm
running the latest Occidentalis.

Have you 'shutdown -r now' your Pi lately?

You can also try running the following:
git config pack.windowMemory 10m
git config pack.packSizeLimit 20m

Via Stackoverflow:
http://stackoverflow.com/questions/4826639/repack-of-git-repository-fails


Reply to this email directly or view it on
GitHubhttps://github.com//issues/39#issuecomment-9214405.

from adafruit-webide.

porktree avatar porktree commented on July 21, 2024

Re-imaged. Got farther - now the install ends in ...

Inconsistency detected by ld.so: dl-lookup.c: 867: _dl_setup_hash: Assertion `(bitmask_nwords & (bitmask_nwords - 1)) == 0' failed!

I'll open a different issue.

from adafruit-webide.

jwcooper avatar jwcooper commented on July 21, 2024

Interesting! We haven't seen any of these issues. Did you re-image with Occidentalis? What size is your SD card?

What is right before that error?

from adafruit-webide.

porktree avatar porktree commented on July 21, 2024

I use Win32diskimager on win7 - same thing I've used on my other cards (Xbian for instance). The SD card is 8gb, I used raspi-config to resize it.

I think it's something to do with node - since I get the same error if I run 'node webide.js' from the $HOME/Adafruit/WebIDE directory.

from adafruit-webide.

jwcooper avatar jwcooper commented on July 21, 2024

What do you get if you run node -v? Node is pre-installed on Raspbian and Occidentalis, so it would be strange if that was the problem. You can 'cd editor', and see what happens if you run 'node server' too.

from adafruit-webide.

bwsparxz avatar bwsparxz commented on July 21, 2024

Took my Pi to work, was unblocked from git.

from adafruit-webide.

jwcooper avatar jwcooper commented on July 21, 2024

It's interesting that your home ISP would block git, but not your work. :) Usually, it's the other way around. I'll see if we can put in a workaround for that.

from adafruit-webide.

jwcooper avatar jwcooper commented on July 21, 2024

Closing this. It should install better on 0.2.0 as well. Instructions here: http://www.adafruit.com/blog/2012/10/18/raspberry-pi-webide-update-to-0-2-0/

from adafruit-webide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.