Cannot find module 'net'

Hey,

I am following this post https://www.wix.com/corvid/forum/community-discussion/file-attachment-using-sendgrid-api/p-1/dl-5de5e750b8026f0099280dd8 and getting the following error
There was an error in your script
Error: Cannot find module ‘net’

Any idea?
Thanks

Hi,
the post in question requires two npm modules added, not only in code but also in the package manager. Click here to learn how.

To add to Aleks post above, you can see the example here about using Sendgrid nodes within Wix
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-send-email-with-the-sendgrid-npm-interface