-
Which package is this bug report for? If unsure which one to select, leave blank@crawlee/puppeteer (PuppeteerCrawler) Issue descriptionI created a Puppeteer TS project via the CLI. It was weird that
Probably a Code sampleimport { PuppeteerCrawler, log, Source, RequestList } from 'crawlee'
import random from 'random'
import Randomstring from 'randomstring'
import { router } from './routes'
import { proxyConfiguration } from './proxyConfiguration' Package version^3.0.0 Node.js versionv19.0.0 Operating systemUbuntu Apify platform
Priority this issue should haveLow (slightly annoying) I have tested this on the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to use the
|
Beta Was this translation helpful? Give feedback.
You need to use the
.js
extension in your imports if your project is ESM - even when inside TS files, it needs to be.js
.https://www.typescriptlang.org/docs/handbook/esm-node.html