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 · 2 comments · May be fixed by #122
Open

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

pitoniak32 opened this issue Nov 21, 2024 · 2 comments · May be fixed by #122
Assignees

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

  • ...
@ncalteen
Copy link
Collaborator

Yeah I'm ashamed to say how long it took me to figure that problem out too...

I did add a small snippet here, however if you'd like to expand on that a PR is more than welcome!

@ncalteen ncalteen self-assigned this Nov 22, 2024
@pitoniak32 pitoniak32 linked a pull request Nov 22, 2024 that will close this issue
@pitoniak32
Copy link
Author

crated a pr adding the extra details!

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 a pull request may close this issue.

2 participants