I have an odd issue… Deploying to `stage` environ...
# seed
I have an odd issue… Deploying to
environment via Seed, everything works. In
, I have these plugins listed in `devDependencies`:
Copy code
"devDependencies": {
    "serverless": "3.19.0",
    "serverless-plugin-datadog": "5.1.1",
    "serverless-plugin-git-variables": "^5.2.0",
    "serverless-webpack": "^5.7.1",
In `serverless.yml`:
Copy code
service: my-service-name
frameworkVersion: '3.19.0'

  - serverless-plugin-datadog
  - serverless-plugin-git-variables
  - serverless-webpack
When deploying to
environment, I get this error:
Copy code
Environment: linux, node 14.18.1, framework 3.19.0, plugin 6.2.2, SDK 4.3.2
Docs:        <http://docs.serverless.com|docs.serverless.com>
Support:     <http://forum.serverless.com|forum.serverless.com>
Bugs:        <http://github.com/serverless/serverless/issues|github.com/serverless/serverless/issues>
Serverless plugin "serverless-plugin-datadog" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Run "serverless plugin install -n serverless-plugin-datadog" to install it.
ERROR: Failed to run: SLS_DEBUG=* serverless package --stage prod --package sls-package-output
Using build image “General Purpose 4.0”.
Oh, and I should add that a manual deploy (to all of these environments) is fine.
Hey @Tony Boggis, that’s weird. Can you manually trigger a build in the prod stage with the
Force Deploy
option checked?
That will clear out the node modules cache on prod, and does a clean install.