Skip to content

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Oct 2, 2023

Closes #9146

I did try to use await import('inspector') but I get:

Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'. ts(1323)

It looks like we don't have any module target in the tsconfig.

@timfish timfish marked this pull request as ready for review October 2, 2023 12:29
@timfish timfish requested a review from mydea October 2, 2023 12:30
@AbhiPrasad AbhiPrasad merged commit 7062449 into getsentry:develop Oct 2, 2023
@timfish timfish deleted the fix/anr-inspector-import branch October 2, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error [ERR_INSPECTOR_NOT_AVAILABLE] in ANR module when using vercel/pkg
3 participants