silentrob / Apricot

A simple Hpricot Clone for nodejs.
MIT License
336 stars 65 forks source link

Unsupported Arch ia32 #16

Open naxhh opened 12 years ago

naxhh commented 12 years ago

Trying to install Apricot on a Windows machine get this error message:

C:\node\crawler>npm install apricot -g
npm http GET https://registry.npmjs.org/apricot
npm http 304 https://registry.npmjs.org/apricot

npm ERR! Unsupported
npm ERR! Not compatible with your operating system or architecture: apricot@0.0.
5
npm ERR! Valid OS:    linux,macos,win
npm ERR! Valid Arch:  x86,ppc,x86_64
npm ERR! Actual OS:   win32
npm ERR! Actual Arch: ia32
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "apricot" "-g"
npm ERR! cwd C:\node\crawler
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! code EBADPLATFORM
npm ERR! message Unsupported
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\node\crawler\npm-debug.log
npm not ok

Specifications:

Windows 7 Professional 32 bits Service Pack 1 Amd Athlon II x2 270 Processor 3.4Ghz

egorse commented 12 years ago

Have same trouble:

egorse@ubuntu:~$ sudo npm -g install apricot npm http GET https://registry.npmjs.org/apricot npm http 304 https://registry.npmjs.org/apricot

npm ERR! Unsupported npm ERR! Not compatible with your operating system or architecture: apricot@0.0.5 npm ERR! Valid OS: linux,macos,win npm ERR! Valid Arch: x86,ppc,x86_64 npm ERR! Actual OS: linux npm ERR! Actual Arch: ia32 npm ERR! npm ERR! System Linux 3.0.0-12-generic-pae npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "apricot" npm ERR! cwd /home/egorse npm ERR! node -v v0.6.15 npm ERR! npm -v 1.1.16 npm ERR! code EBADPLATFORM npm ERR! message Unsupported npm ERR! errno {} npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/egorse/npm-debug.log npm not ok

antani commented 12 years ago

Getting same error in ubuntu 12.04 % npm install apricot npm http GET https://registry.npmjs.org/apricot npm http 200 https://registry.npmjs.org/apricot npm http GET https://registry.npmjs.org/apricot/-/apricot-0.0.6.tgz npm http 200 https://registry.npmjs.org/apricot/-/apricot-0.0.6.tgz npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: apricot@0.0.6 npm ERR! notsup Valid OS: linux,macos,darwin,win npm ERR! notsup Valid Arch: x86,ppc,x86_64,x64 npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: ia32

npm ERR! System Linux 3.2.0-26-generic-pae npm ERR! command "nodejs" "/usr/bin/npm" "install" "apricot" npm ERR! cwd /home/ved/node_programs npm ERR! node -v v0.8.2 npm ERR! npm -v 1.1.39 npm ERR! code EBADPLATFORM npm ERR! message Unsupported npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ved/node_programs/npm-debug.log npm ERR! not ok code 0

antani commented 12 years ago

https://github.com/silentrob/Apricot/pull/21 - fixes this (pending review,etc)

Revlin commented 11 years ago

I guess this isn't fixed, or npm is auto-installing is downloading an outdated release or something...

So I'm using 'npm install' on Ubuntu 12.04 and I get this error:

npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: apricot@0.0.6 npm ERR! notsup Valid OS: linux,macos,darwin,win npm ERR! notsup Valid Arch: x86,ppc,x86_64,x64 npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: ia32

npm ERR! System Linux 3.2.0-36-generic-pae npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! cwd /usr/local/src/netentionjs2 npm ERR! node -v v0.8.18 npm ERR! npm -v 1.2.2 npm ERR! code EBADPLATFORM