Git Product home page Git Product logo

Comments (11)

nishnet2002 avatar nishnet2002 commented on May 22, 2024

Exactly same problem ! Any work around that you know of ?

npm http GET https://registry.npmjs.org/crawler
npm http 304 https://registry.npmjs.org/crawler

npm ERR! Unsupported
npm ERR! Not compatible with your operating system or architecture: [email protected].
2
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 (x86)\nodejs\node.exe" "C:\Program File
s (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "crawler"
npm ERR! cwd C:\Users***********
npm ERR! node -v v0.6.16
npm ERR! npm -v 1.1.19
npm ERR! code EBADPLATFORM
npm ERR! message Unsupported
npm ERR! errno {}
npm ERR!

from node-crawler.

joelhy avatar joelhy commented on May 22, 2024

Same issue. Can anyone fix this problem?

npm http GET https://registry.npmjs.org/crawler
npm http 200 https://registry.npmjs.org/crawler
npm http GET https://registry.npmjs.org/crawler/-/crawler-0.0.2.tgz
npm http 200 https://registry.npmjs.org/crawler/-/crawler-0.0.2.tgz

npm ERR! Unsupported
npm ERR! Not compatible with your operating system or architecture: [email protected]
npm ERR! Valid OS: linux,macos,win
npm ERR! Valid Arch: x86,ppc,x86_64
npm ERR! Actual OS: linux
npm ERR! Actual Arch: x64
npm ERR!
npm ERR! System Linux 3.3.3-1-ARCH
npm ERR! command "node" "/usr/bin/npm" "install" "crawler"
npm ERR! cwd /home/joelhy
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! code EBADPLATFORM
npm ERR! message Unsupported
npm ERR! errno {}
npm ERR!

from node-crawler.

daraosn avatar daraosn commented on May 22, 2024

I fixed this issue (+ more issues) on my fork:

npm install git://github.com/daraosn/node-crawler.git

You can do that while the author accepts my Pull Request.

from node-crawler.

Somebi avatar Somebi commented on May 22, 2024

Thanks mate. It's working. :)

from node-crawler.

kdabir avatar kdabir commented on May 22, 2024

I am getting this on c9.io

npm ERR! Valid OS:    linux,macos,win
npm ERR! Valid Arch:  x86,ppc,x86_64
npm ERR! Actual OS:   linux
npm ERR! Actual Arch: x64

from node-crawler.

yuanzhij avatar yuanzhij commented on May 22, 2024

widnows install
Download https://github.com/joshfire/node-crawler/zipball/master
copy https://github.com/daraosn/node-crawler/blob/master/package.json
daraosn (package.json) to joshfire(package.json)
npm -d install X:\XXX\XXXX\node_modules\node-crawler

from node-crawler.

sylvinus avatar sylvinus commented on May 22, 2024

@yuanzhij I just pushed a big update of the package w/ an updated package.json, can you confirm it works on windows?

from node-crawler.

MeanwhileMedia avatar MeanwhileMedia commented on May 22, 2024

I am trying to install this package on Windows and am coming across an error:

npm http GET https://registry.npmjs.org/crawler
npm http 304 https://registry.npmjs.org/crawler
npm http GET https://registry.npmjs.org/request/2.11.1
npm http GET https://registry.npmjs.org/jsdom/0.2.15
npm http GET https://registry.npmjs.org/generic-pool/2.0.
npm http GET https://registry.npmjs.org/htmlparser/1.7.6
npm http GET https://registry.npmjs.org/underscore/1.3.3
npm http GET https://registry.npmjs.org/jschardet/1.0.2
npm http GET https://registry.npmjs.org/iconv/1.2.3
npm http 304 https://registry.npmjs.org/jsdom/0.2.15
npm http 304 https://registry.npmjs.org/htmlparser/1.7.6
npm http 304 https://registry.npmjs.org/request/2.11.1
npm http 304 https://registry.npmjs.org/generic-pool/2.0.
npm http 304 https://registry.npmjs.org/jschardet/1.0.2
npm http 304 https://registry.npmjs.org/underscore/1.3.3
npm http 304 https://registry.npmjs.org/iconv/1.2.3
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings

> contextify@0.1.3 install mypath...\node_module
jsdom\node_modules\contextify
> node-gyp rebuild


mypath...\node_modules\crawler\node_modules\jsdo
fy>node "mypath...\node_modules\npm\bin\node-gyp
s\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Command failed:   File "<string>",
gyp ERR! stack     import platform; print platform.python
gyp ERR! stack                                   ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_pro
gyp ERR! stack     at ChildProcess.EventEmitter.emit (eve
gyp ERR! stack     at maybeClose (child_process.js:638:16
gyp ERR! stack     at Process._handle.onexit (child_proce
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "mypath...\\node_modu
\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd mypath...\node_modules\crawler\node
ules\contextify
gyp ERR! node -v v0.8.12
gyp ERR! node-gyp -v v0.7.0
gyp ERR! not ok
npm WARN optional dep failed, continuing contextify@0.1.3

from node-crawler.

sylvinus avatar sylvinus commented on May 22, 2024

@MeanwhileMedia thanks for the report! Despite the errors, did the module install and run correctly? The dependency is marked as optional so you should be able to use it without the forceUTF8 option.

thanks!

from node-crawler.

MeanwhileMedia avatar MeanwhileMedia commented on May 22, 2024

Hi Sylvinus. No, the module did not install correctly. Thanks for you response.

from node-crawler.

sylvinus avatar sylvinus commented on May 22, 2024

Thanks to the iconv-lite fallback you should now be set.

from node-crawler.

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.