Comments (11)
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.
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.
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.
Thanks mate. It's working. :)
from node-crawler.
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.
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.
@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.
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.
@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.
Hi Sylvinus. No, the module did not install correctly. Thanks for you response.
from node-crawler.
Thanks to the iconv-lite fallback you should now be set.
from node-crawler.
Related Issues (20)
- Detect Timeout Pages HOT 1
- How to skip URL with ECONNRESET or ETIMEDOUT errors HOT 3
- Can this tool actually crawl/spider, or just scrape pages? HOT 5
- maybe a bug ? HOT 1
- Maintained? HOT 1
- Crash ERR_INVALID_URL on Redirect HOT 1
- Queue size goes up and doesn't crawl new pages
- No retry when status code 404 HOT 1
- How to use with await? HOT 3
- Iconv-lite warning: decode()-ing strings is deprecated. HOT 2
- I would like to report a security concern HOT 1
- Jquery not work if response body is buffer HOT 2
- node-crawler.org url hijacked HOT 4
- Security concern HOT 1
- the encoding declaration in @types/crawler HOT 1
- cannot get section node HOT 4
- HTTP Agent with keepAlive HOT 1
- queue method should be a promise HOT 3
- Limit queue size HOT 2
- Dependency vulnerabilities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-crawler.