Skip to content

Error: Cannot find module '../../ts-force' #115

@andrenarchy

Description

@andrenarchy

I am using ts-force-gen in a repository that is using rush/pnpm for handling dependencies and it fails with

Error: Cannot find module '../../ts-force'

I noticed there are indeed relative imports to import the ts-force module. They work locally in development and apparently also with npm because it places the dependency in the same relative position. In order to support all environments these relative imports should be changed to an absolute import of ts-force.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions