Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flashsnake-so opened this issue Aug 27, 2016 · 1 comment
Open

Comments

@flashsnake-so
Copy link

flashsnake-so commented Aug 27, 2016

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.

@flashsnake-so
Copy link
Author

flashsnake-so commented Aug 29, 2016

This plugin seems not support v0.5.6.

Updated: After putting the correct settings in custom object. This error goes away.

flashsnake-so added a commit to flashsnake-so/serverless-webpack-plugin that referenced this issue Aug 29, 2016
flashsnake-so added a commit to flashsnake-so/serverless-webpack-plugin that referenced this issue Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant