You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to be running into an issue when I try to execute the package command within a CircleCI job using the Docker image circleci/rust:latest-node:
$ npx sls package
Serverless: Building native Rust myfunction func...
error: could not find `Cargo.toml`in`/code` or any parent directory
Serverless: Dockerized Rust build encountered an error: undefined 1.
Error --------------------------------------------------
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 10.16.1
Serverless Version: 1.49.0
Enterprise Plugin Version: 1.3.8
Platform SDK Version: 2.1.0
Listing the directory in fact reveals the expected Cargo.toml so the error seems a bit misleading:
I seem to be running into an issue when I try to execute the
package
command within a CircleCI job using the Docker imagecircleci/rust:latest-node
:Listing the directory in fact reveals the expected
Cargo.toml
so the error seems a bit misleading:Any help is appreciated.
The text was updated successfully, but these errors were encountered: