Skip to content

pnpm dev throws Could not resolve "../../../lib/codegen-registry" #126

@homanp

Description

@homanp

Description

Trying to run pnpm dev throws:

Discovering plugins...
Found 12 plugin(s):
   - ai-gateway
   - blob
   - fal
   - firecrawl
   - github
   - linear
   - perplexity
   - resend
   - slack
   - stripe
   - superagent
   - v0

Generating plugins/index.ts...
Updating README.md...
No integrations found, skipping README update
Generating lib/types/integration.ts...
Generated lib/types/integration.ts with 1 type(s)
Generating lib/step-registry.ts...
Generated lib/step-registry.ts with 0 step(s)
Generating lib/output-display-configs.ts...
Generated lib/output-display-configs.ts with 0 config(s)

Processing step files for codegen templates...
Generating lib/codegen-registry.ts...
No codegen templates generated
Done! Plugin registry updated.

[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
(node:89626) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Discovering workflow directives 486ms
✘ [ERROR] Could not resolve "../../../lib/codegen-registry"

    components/workflow/utils/code-generators.ts:3:45:
      3 │  */ import { AUTO_GENERATED_TEMPLATES } from "../../../lib/codegen-registry";
        ╵                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: Build failed with 1 error:
components/workflow/utils/code-generators.ts:3:45: ERROR: Could not resolve "../../../lib/codegen-registry"
    at new Promise (<anonymous>) {
  errors: [Array],
  warnings: []
}
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
(node:89620) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Discovering workflow directives 421ms
✘ [ERROR] Could not resolve "../../../lib/codegen-registry"

    components/workflow/utils/code-generators.ts:3:45:
      3 │  */ import { AUTO_GENERATED_TEMPLATES } from "../../../lib/codegen-registry";

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