Skip to content
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

Add a little example to readme for why allowJs is required #120

Open
pitoniak32 opened this issue Nov 21, 2024 · 0 comments
Open

Add a little example to readme for why allowJs is required #120

pitoniak32 opened this issue Nov 21, 2024 · 0 comments

Comments

@pitoniak32
Copy link

I was fighting an error and couldn't find anyone seeing the same issue as me anywhere. It turned out I had allowJs true in my tsconfig.

The error:

TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file
...

This occurred when using the local-action but not when running the built JavaScript.

My proposal is add a section to "TsConfig Requirements". I would be more than happy to make a PR if it's welcomed!

Troubleshooting

Possible errors that can arise if these settings are incorrect

  • ...
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

No branches or pull requests

1 participant