temporalio / temporalio/samples-typescript

[Bug] Cannot find module 'ts-node/register/transpile-only'

Open
#355 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
465
Forks
148
Avg merge
1d 10h
Merged PRs (30d)
11

Description

What are you really trying to do?

I'm trying to run debugger plugin.

Describe the bug
Process exited with code 1
Uncaught Error Error: Cannot find module 'ts-node/register/transpile-only'
Require stack:
- internal/preload
    at Module._resolveFilename (internal/modules/cjs/loader:1144:15)
    at Module._load (internal/modules/cjs/loader:985:27)
    at internalRequire (internal/modules/cjs/loader:175:19)
    at Module._preloadModules (internal/modules/cjs/loader:1582:5)
    at loadPreloadModules (internal/process/pre_execution:731:5)
    at setupUserModules (internal/process/pre_execution:172:3)
    at prepareExecution (internal/process/pre_execution:132:5)
    at prepareMainThreadExecution (internal/process/pre_execution:55:10)
    at <anonymous> (internal/main/run_main_module:11:19)
Environment/Versions
  • OS and processor: [Linux Mint 20.2]
  • Temporal Version: [1.23.0] and/or SDK version Typescript SDK: 1.9.3
  • Docker

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

Start in the vscode-debugger sample/plugin and inspect how its Node process preloads ts-node/register/transpile-only. Reproduce the reported module-resolution failure in the stated Linux, Temporal, TypeScript SDK, and Docker environment; done means the debugger plugin starts without the missing-module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, node.js, typescript
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.