Skip to content

alpha - Could not resolve "tanstack:server-fn-manifest" and "tanstack:start-manifest" #4195

Closed
@UngusCode

Description

@UngusCode

Which project does this relate to?

Router

Describe the bug

I have been trying to set up lingui with tanstack start and have run into the above issue. More detailed logs:

✘ [ERROR] Could not resolve "tanstack:start-manifest"

    node_modules/@tanstack/start-server-core/dist/esm/router-manifest.js:1:33:
      1 │ import { tsrStartManifest } from "tanstack:start-manifest";~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "tanstack:start-manifest" as external to exclude it from the bundle, which
  will remove this error and leave the unresolved path in the bundle.

/Users/ungus/Documents/temp/js-lingui/examples/tanstack-start/node_modules/esbuild/lib/main.js:1463
  let error = new Error(text);
              ^

Error: Build failed with 2 errors:
node_modules/@tanstack/start-server-core/dist/esm/router-manifest.js:1:33: ERROR: Could not resolve "tanstack:start-manifest"
node_modules/@tanstack/start-server-core/dist/esm/server-functions-handler.js:4:30: ERROR: Could not resolve "tanstack:server-fn-manifest"
    at failureErrorWithLog (/Users/ungus/Documents/temp/js-lingui/examples/tanstack-start/node_modules/esbuild/lib/main.js:1463:15)
    at /Users/ungus/Documents/temp/js-lingui/examples/tanstack-start/node_modules/esbuild/lib/main.js:924:25
    at /Users/ungus/Documents/temp/js-lingui/examples/tanstack-start/node_modules/esbuild/lib/main.js:1341:9
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  errors: [Getter/Setter],
  warnings: [Getter/Setter]
}

Your Example Website or App

https://github.com/UngusCode/tanstack-lingui

Steps to Reproduce the Bug or Issue

Go to stack blitz : https://stackblitz.com/~/github.com/UngusCode/tanstack-lingui

Expected behavior

Should not be an error, similar setup was working on beta.

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: Chrome and Brave
  • Version: 136

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions