Skip to content

Example 1 Error #56

@DONTSTOPLOVINGMEBABY

Description

@DONTSTOPLOVINGMEBABY

What are you really trying to do?

I am trying to complete exercise 1 on the tutorial. I know that this already mentioned and solved on #49, but I am receiving the same issue. I have run npm install and have a node modules folder located under /exercises/hello-workflow/practice.

Describe the bug

2025-11-16T20:05:42.952Z [ERROR] asset workflow-bundle-7ea635b7cd34034777c3.js 851 KiB [emitted] [immutable] (name: main)
modules by path ./node_modules/@temporalio/ 214 KiB
  modules by path ./node_modules/@temporalio/common/lib/ 82.6 KiB
    modules by path ./node_modules/@temporalio/common/lib/*.js 57.8 KiB 16 modules
    modules by path ./node_modules/@temporalio/common/lib/converter/*.js 24.8 KiB 5 modules
  modules by path ./node_modules/@temporalio/workflow/ 131 KiB
    ./node_modules/@temporalio/workflow/lib/worker-interface.js 8.52 KiB [built] [code generated]
    ./node_modules/@temporalio/workflow/lib/global-overrides.js 4.12 KiB [built] [code generated]
    + 14 modules
modules by path ./src/ 511 bytes
  ./src/workflows-autogenerated-entrypoint.cjs 472 bytes [built] [code generated]
  ./src/workflows.ts 39 bytes [built] [code generated] [1 error]
__temporal_custom_payload_converter (ignored) 15 bytes [built] [code generated]
__temporal_custom_failure_converter (ignored) 15 bytes [built] [code generated]
./node_modules/long/umd/index.js 43.1 KiB [built] [code generated]
./node_modules/ms/dist/index.cjs 3.41 KiB [built] [code generated]

ERROR in ./src/workflows.ts
Module build failed (from ./node_modules/swc-loader/src/index.js):
Error: Bindings not found.
    at Compiler.<anonymous> (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/@swc/core/index.js:228:19)
    at Generator.next (<anonymous>)
    at /workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/@swc/core/index.js:34:71
    at new Promise (<anonymous>)
    at __awaiter (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/@swc/core/index.js:30:12)
    at Compiler.transform (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/@swc/core/index.js:205:16)
    at Object.transform (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/@swc/core/index.js:347:21)
    at Object.<anonymous> (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/swc-loader/src/index.js:86:21)
 @ ./src/workflows-autogenerated-entrypoint.cjs 9:9-133

webpack 5.95.0 compiled with 1 error in 769 ms { sdkComponent: 'worker', taskQueue: 'greeting-tasks' }
Error: Webpack finished with errors, if you're unsure what went wrong, visit our troubleshooting page at https://docs.temporal.io/develop/typescript/debugging#webpack-errors
    at /workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/@temporalio/worker/src/workflow/bundler.ts:273:17
    at finalCallback (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/webpack/lib/Compiler.js:498:32)
    at /workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/webpack/lib/Compiler.js:576:17
    at /workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/webpack/lib/HookWebpackError.js:67:2
    at Hook.eval [as callAsync] (eval at create (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/tapable/lib/Hook.js:18:14)
    at Cache.storeBuildDependencies (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/webpack/lib/Cache.js:126:37)
    at /workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/webpack/lib/Compiler.js:572:19
    at Hook.eval [as callAsync] (eval at create (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/workspaces/edu-101-typescript-code/exercises/hello-workflow/practice/node_modules/tapable/lib/Hook.js:18:14)

Minimal Reproduction

Environment/Versions

Running in GH Codespaces

  • OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
  • Temporal Version: [e.g. 1.14.0?] and/or SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions