TSConfig in Crawlee projects.
The linter is giving this error even on the template project.
This needs attention or can I let it like this ?
12 Replies
Hi @NeoNomade can you please describe which template exactly are you using?
Puppeteer
@Pepa J
@NeoNomade JavaScript or Typescript, have you tried updating the
apify-cli
to the newest version?TypeScript, I'm not using the apify-cli .
So are you using
npx crawlee create my-crawler
? Or how did you get to the template?yes
which imho would run a billion times faster with bun :)) .
If that could be implemented on crawlee's end.
I am checking the template now...
Crawlee is open-source, feel free to make Pull Request with possible improvements š
I will try to make some times for this...
Off topic a little bit. I'm using github for my business work. For contributing to open source stuff, should I create a different github or use the same one ?
For contributing to open source stuff.That is totally up to you, your username then may be mentioned in the Contributors section so it depends on if you want your business account to be mentioned there or not, also I believe the contributions to public directories are visible directly from your GitHub Profile... @NeoNomade So I ran
npx crawlee create my-crawler
Selected PuppeteerCrawler template project [TypeScript]
Waited till the instalation finished and run
npm run start
Everything is working for me š¤
I see package crawlee
installed in node_modules and also mentioned as a dependency in package.json
tested in WebStorm and VSCode.
Are you using some custom non-template related linter? Can you try to reopen the project when you see this error? Does is help?No, Iām using Prettier
the script runs perfectly for me too, it's just I don't understand why Prettier is sending that message.
I had installed
Prettier - Code formatter
extension and also Prettier ESLint
no warnings so ever. Since there is no configuration for prettier inside the template I assume the issue may be in your extension, or your prettier configuration - This is not Crawlee related. Sorry I cannot help you with that.hmm strange. ok.
I'll keep looking.
thank you anyhow.