dougmoscrop / serverless-plugin-include-dependencies

MIT License
184 stars 40 forks source link

It does not deploy sns-mobile, aws-sms-send #26

Closed ashish-nodejs closed 5 years ago

ashish-nodejs commented 5 years ago

I require packages sns-mobile, aws-sms-send in my code but it does not deploy these. Can anyone tell me the reason of this issue and how to resolve this.

3boysdad commented 5 years ago

both seems like standard modules that would already be present. have you had a problem with the code once deployed?

ashish-nodejs commented 5 years ago

both seems like standard modules that would already be present. have you had a problem with the code once deployed?

Sir I deploy code and successfully done.. but when i invoke lambda it giving me error that 'node_module not found'

3boysdad commented 5 years ago

can you share your yml file? i'm not an expert...but i think it would help the developer to take a look as well.

ashish-nodejs commented 5 years ago
functions:  
 XXXXXXXXXXXXX:
    handler: index.handler     
plugins:
  - serverless-export-env
  - serverless-plugin-include-dependencies
package:
  exclude:    
    - .env

this is code in .yml and i install package that i mentioned in code Sorry it hard to send my whole yml file

dougmoscrop commented 5 years ago

Sorry for taking so long to reply. If you can put together a reproducible repo I cann take a look.

dougmoscrop commented 5 years ago

This has been inactive for a long time and I don't think it's related to this code, if that's wrong please reopen with more details (preferably a reproducible example in a repo or gist)