-
-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Description
Configuration
version: [result of npm ls website-scraper --depth 0 command]
options: [provide your full options object]
Description
I am trying to find 'puppeteer' in the website scraper puppeteer lib for import into the scraper.js file.
i moved the 'master' folder to my /js directory and renamed it "scraper". then I changed the references to all the referenced classes in each file to reflect my folder move and rename (added '/js/scraper/' to the beginning of all them basically.
now, in debug on chrome, i am getting
scraper.js:1 Uncaught ReferenceError: require is not defined
and it's pointing to
const puppeteer = require('puppeteer');
any help is appreciated!
Additional Information
[Any additional information, configuration or data that might be necessary to reproduce the issue]
Metadata
Metadata
Assignees
Labels
No labels