-
Notifications
You must be signed in to change notification settings - Fork 740
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
TypeScript builds fail when generated from 'npx crawlee create' #2257
Comments
Have the same issue |
Can we get any clarity on what version this is and isn't affecting? |
This is available in crawlee@next, and will also be available in 3.7.1 whenever we release (probably after new years but don't quote me on it!) |
Thanks @vladfrangu! FWIW to anyone reading this, downgrading to |
As a workaround, try adding {
"extends": "@apify/tsconfig",
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022",
"outDir": "dist",
"noUnusedLocals": false,
"lib": [
"DOM",
"ES2021.String"
],
"skipLibCheck": true
},
"include": [
"./src/**/*"
]
}
|
Which package is this bug report for? If unsure which one to select, leave blank
None
Issue description
Using "npx crawlee create my-crawler" and then choosing a TypeScript template results in a project that fails to build.
To reproduce:
Error log:
Code sample
No response
Package version
3.7.0
Node.js version
21.4.0
Operating system
macOS
Apify platform
I have tested this on the
next
releaseNo response
Other context
No response
The text was updated successfully, but these errors were encountered: