Skip to content

Resolve node_modules using the node resolution algorithm #623

Open
@dan-cooke

Description

Is your feature request related to a problem? Please describe.
Right now the framework does not support monorepos, so we cannot have nested configs

apps/
      lambda
            - app.arc
       other-service
            - app.arc
node_modules

If I try to run npx arc init in any of these directories I get "Cannot find plugin 'architect/plugin-typescript'! Are you sure you have installed or created it correctly?"

It seems that arc is just looking for a sibling node_modules directory, instead of trying to resolve modules using the tried and tested resolve function from node.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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