Skip to content

Cannot find module for adjacent package #31

@neary-humane

Description

@neary-humane

Hi @martin-css — thanks for putting this up. I am sure I'm missing something obvious, but am getting a Cannot find module error.

  1. packages/background-sync/package.json lists "@humane/networking": "1.0.0", under "dependencies"
  2. packages/background-sync/serverless.yml includes serverless-plugin-monorepo as a plugin
  3. packages/networking/package.json has name @humane/networking and version "1.0.0"

We are using yarn workspaces without any nohoist features. We have a handful of apps, and they are all able to import from @humane/networking, but background-sync is our first serverless project.

It seems like it's able to figure out node_module imports. Am I missing something? Does anything stand out to you? How might you go about diagnosing this? Thanks so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions