Skip to content

Error: Cannot find module '<<root>>'] code: 'MODULE_NOT_FOUND' #27

Description

@flashsnake-so

I am getting this error after following the instruction from README.md.

Serverless: Deploying the specified functions in "demo" to the following regions: us-east-1  
Serverless: | { [Error: Cannot find module '<<root_folder>>'] code: 'MODULE_NOT_FOUND' }
Serverless: ------------------------  
Serverless: Successfully deployed the following functions in "demo" to the following regions:   
Serverless: us-east-1 ------------------------  
....
metric filters created

My configuration in s-function.json is:

"custom": {
    "excludePatterns": [],
    "webpack": {
      "configPath": "./"
    }
  }

Not such what I am doing wrong.

Activity

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