colinmeinke / ghost-storage-adapter-s3

An AWS S3 storage adapter for Ghost
Other
182 stars 87 forks source link

Files not being uploaded to S3 #72

Open swastikmishra opened 4 years ago

swastikmishra commented 4 years ago

Even though all the config were correct and the s3 folder was there in the content/adapters/storage, files weren't uploaded to S3, instead were uploaded to local.

swastikmishra commented 4 years ago

I fixed the issue by copying node_modules/* (excluding ghost-storage-adapter-s3 folder) into content/adapters/storage/s3/node_modules/.

cp -R node_modules/* content/adapters/storage/s3/node_modules/.

mnebuerquo commented 2 years ago

Could this be done with a symlink instead? What about in a npm post-install hook?

swastikmishra commented 2 years ago

I haven't tried it, but I guess that should work.