Skip to content

Commit

Permalink
chore: add troubleshooting note for TypeScript (#122)
Browse files Browse the repository at this point in the history
fixes: #120

Just adding a little information that is searchable in case anyone else
finds themselves running into the error.

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

Thank you for this really cool project!

---------

Co-authored-by: Nick Alteen <[email protected]>
  • Loading branch information
ncalteen authored Dec 11, 2024
2 parents b55e1b9 + e1604ae commit 5177547
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@ values).
| ------------------------------------------------------------- | -------------- |
| [`allowJs`](https://www.typescriptlang.org/tsconfig/#allowJs) | `false` |

### Troubleshooting

Possible errors that can arise from not having `allowJs: false`:

- `TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file` from tsx
when trying to run `npx local-action`.

## Features

The following list links to documentation on how to use various features of the
Expand Down

0 comments on commit 5177547

Please sign in to comment.