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
yarn add --dev serverless-plugin-typescript typescript
# Add the following plugin to your serverless.yml:
plugins:
- serverless-plugin-typescript
But when I try sls deploy -s test it throws:
Serverless plugin "serverless-plugin-typescript" 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-typescript" to install it.
Well, I know if I do that above it will install in node_modules but this conflicts with yarn zero install and the folder is automatically removed if I issue e.g. yarn.
So, what am I missing?
The text was updated successfully, but these errors were encountered:
same problem here. I have installed "serverless": "^2.72.3" and "serverless-plugin-typescript": "^2.1.2", and I don't get why I get this error message while deyploying via Github workflow to AWS.
Edit:
Adding run: npm ci to the yml for my github workflow did the trick
My project is set as
yarn zero install
so I thought this plugin was about it.I did the steps in README:
But when I try
sls deploy -s test
it throws:Well, I know if I do that above it will install in
node_modules
but this conflicts withyarn zero install
and the folder is automatically removed if I issue e.g.yarn
.So, what am I missing?
The text was updated successfully, but these errors were encountered: