Skip to content
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

Squidwarc on Windows 10 (using npm) #31

Open
mw0000 opened this issue Oct 3, 2018 · 1 comment
Open

Squidwarc on Windows 10 (using npm) #31

mw0000 opened this issue Oct 3, 2018 · 1 comment

Comments

@mw0000
Copy link

mw0000 commented Oct 3, 2018

I have trouble installing Squidwarc on Windows 10 (using npm).

node-warc directory remains empty - is that correct?

λ node index.js -c conf.json
module.js:550
    throw err;
    ^

Error: Cannot find module '../../node-warc/lib/requestCapturers/remoteChrome'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\Users\m\Projekty\crawler\squidwarc\lib\crawler\chrome.js:18:24)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)


Also tried installing with yarn - the same effect.

@N0taN3rd
Copy link
Owner

N0taN3rd commented Oct 4, 2018

@mw0000 Squidwarc uses gitmodules to bring in the node-warc dependencies.

For non-windows systems Squidwarc provides a boostrap stript boostrap.sh which should be usable by Windows Subsystem for Linux.

But the commands shown below should work (maybe minus cd) on plain old Windows.

git submodule init
git submodule update
yarn install install
cd node-warc
yarn install

Hopefully this helps you getting up and going

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants