Skip to content

Getting "failed to load source for a dependency" when it's specified by "path"聽#47

Open

Description

@atroche

馃悰 Bug description

When I do sls deploy with this in my Cargo.toml:

headless_chrome = {path = "../headless_chrome/"}

I get this error: https://gist.github.com/atroche/661d7b0df67889635e44317fafb6ec48

And I've also tried changing that path to be absolute.

When I change that line to

headless_chrome = "0.9.0"

Then sls deploy succeeds.

馃 Expected Behavior

It should've built and deployed without an error.

馃憻 Steps to reproduce

Change a dependency to point to a local crate, then do sls deploy.

馃實 Your environment

Your Environment Information ---------------------------
Operating System: linux
Node Version: 10.15.3
Framework Version: 1.51.0
Plugin Version: 1.3.10
SDK Version: 2.1.0

Activity

  1. robertohuertasm commented on Sep 16, 2019

    @robertohuertasm

    Your serverless.yaml is on the root of the workspace? or is it at a specific crate level? If that's your case you can take a look at this example that shows how to use the plugin in a workspace.

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

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