swc-project / swc-project/swc-node
`ERR_INVALID_URL_SCHEME`: `data:text/javascript,` is not supported like `ts-node`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 95
- Avg merge
- 14d 11h
- Merged PRs (30d)
- 1
Description
I'm trying to workaround ERR_UNKNOWN_FILE_EXTENSION error for .mts files. 🤣
related:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ERR_INVALID_URL_SCHEME failure for data:text/javascript, and compare the behavior with the related ts-node workaround described in the issue. Done means .mts files can use the reported data URL scenario without the unsupported-scheme error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100