You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
tsr@1.3.4 when you import it like import tsr from 'tsr' then it gets imported from node_modules/tsr/dist/main.js, which has this on the first line import { tsr, Config } from "./tsr.js";
Config is only exported from the Typescript definition file, not from the js file, so import fails. Here's the raw error from nodejs
file:///.../node_modules/tsr/dist/main.js:1
import { tsr, Config } from "./tsr.js";
^^^^^^
SyntaxError: The requested module './tsr.js' does not provide an export named 'Config'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:177:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:260:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)
Node.js v22.11.0