DEV Community

Dimitrios Desyllas
Dimitrios Desyllas

Posted on

1 1

Why Bref cannot load bootstrap: “Error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]”?

Hello may I have some help on #running my first #serverless #php #aws #lambda

I am investigating on how I can create an AWS lambda in php using the bref library

Therefore, according to documentation I set up the environment with the following command cocktail:

sudo -H npm install -g serverless
composer require bref/bref

Then using the following command created my first php lambda:

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →