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

Errors on first run #10

Open
terrance-orletsky-d7 opened this issue Apr 6, 2021 · 1 comment
Open

Errors on first run #10

terrance-orletsky-d7 opened this issue Apr 6, 2021 · 1 comment

Comments

@terrance-orletsky-d7
Copy link

terrance-orletsky-d7 commented Apr 6, 2021

I downloaded this repo, ran npm i and then apify run and I get:

The new version of Apify CLI uses a new format of the "apify.json" file. Your file will be automatically updated 
to the new format. Yes

I chose 'Yes' and then I get a fatal error:

Error: Cannot find module 'underscore'

Require stack:
- /Users/torletsky/Sites/domain7/actor-find-broken-links-master/main.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/Users/torletsky/Sites/domain7/actor-find-broken-links-master/main.js:1:11)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/torletsky/Sites/domain7/actor-find-broken-links-master/main.js'
  ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node main.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.

How do I proceed, please?

@jancurn
Copy link
Owner

jancurn commented Apr 6, 2021

Please note that the tool is designed to run on Apify. Have you tried running it there? See https://apify.com/jancurn/find-broken-links

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

No branches or pull requests

2 participants