Skip to content

ppx compilation is broken when used in a library #67

@jaredly

Description

@jaredly

e.g. my app has a dependency, and the dependency is doing a ppx on its own files.
It breaks because npm puts bs-platform in the node_modules directory of the app (b/c it's shared) but the ppx compilation step expects bs_tools_ppx.exe to be in the node_modules of the dependency.

The error:

sh: /[etc etc]/the-project/node_modules/the-library/node_modules/bs-platform/lib/bs_ppx_tools.exe: No such file or directory

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