Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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) #1006

Open
bugb opened this issue Aug 10, 2021 · 1 comment

Comments

@bugb
Copy link

bugb commented Aug 10, 2021

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)  

image

@julienvallet
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants