Skip to content

where to find puppeteer #452

@CodeStudent09

Description

@CodeStudent09

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions