lukeed / lukeed/tsm

Is this repo still maintained? --experimental-loader warning

Open
#52 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hard to use this package due to the constant output of warnings:
(node:11565) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///usr/local/share/nvm/versions/node/v20.9.0/lib/node_modules/tsm/loader.mjs", pathToFileURL("./"));'
(Use node --trace-warnings ... to show where the warning was created)

Can someone please fix and update the npm published version. It would be very much appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the warning with Node v20.9.0 using the package's loader invocation, then inspect the loader.mjs entry point and npm publication setup. Compare the current --experimental-loader usage with Node's register() guidance; done means the warning no longer appears and an updated npm version is published.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.