Open paolini opened 7 years ago
I believe plugins
and custom
should be matched up with the same indentation.
With the same indentation I get this error:
Serverless plugin "serverless-client-s3" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file.
The package has been installed as described in the documentation.
added I suspect this is a problem of interaction between yarn (which I was using) and npm.
Can you include your package.json file here?
my package.json
{
"name": "notes",
"version": "0.0.1",
"description": "notes",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "emanuele.paolini@gmail.com",
"license": "ISC",
"devDependencies": {
"express": "^4.15.4"
},
"dependencies": {
"aws-sdk": "^2.108.0",
"serverless": "^1.21.0",
"serverless-client-s3": "^2.0.0"
}
}
Ok, this is actually issue #53. So the problem with the yml file should be solved by removing a space before custom:
in README.md
In REAMDE.md you suggest to add these line to serverless.yml:
however this seems not to be valid yml. When executing
serverless client deploy
I get the following YAML exception: