cloud
cloud copied to clipboard
How to install a package properly?
For example, if I would like to install aws-sdk
package, what should I do?
Hi @bencao. You are in a standard Node environment, so NPM packages work the same way. You can either npm i aws-sdk
from your terminal, or if you're in the Cloud Shell, you can type install aws-sdk
. You'll then import what you need into your main file (e.g. index.js
).
Having some difficulty installing a bigger package. If there's an option to force upload my local directory to an instance would be great.
The cloud process just quit after npm i aws-sdk
and the error looks like
Missing x records
@bencao is this still an issue? There have been fixes related to the sync process that should have fixed that error.
I guess my problem is related to this, I wonder what I am doing wrong on windows 10, node 14