components
components copied to clipboard
Getting strange error: 28s › Serverless › There's a problem with your files and they could not be loaded by this Component. Original error: Response code 403 (Forbidden)
Description
I can not use serverless to deploy.
Additional Data
name: myapp
org: myorg
inputs: # The configuration the Component accepts
src:
src: ./src
hook: npm run build
dist: ./dist
domain: mydomain
I have set AWS as my default provider but I can not make it works.
Getting strange error:
28s › Serverless › There's a problem with your files and they could not be loaded by this Component. Original error: Response code 403 (Forbidden)
I had the same problem while using create-react-app, the issue was that the dist
folder is set to ./build
by default when using CRA.
try changing your dist to:
dist: ./build