# help

Sulaiman Baig

02/19/2022, 4:48 AM
I just created serverless stack project by running
Copy code
npx create-serverless-stack@latest notes
after I run this command
Copy code
npx sst start
I got error shown in the image. plz guide me why it is happening even I did not change any code

Garret Harp

02/19/2022, 4:57 AM
Git is showing you have a change in lambda.js and the error message says the handler is malformed so I think you accidentally changed something in the file.

Sulaiman Baig

02/19/2022, 5:01 AM
export async function handler(event) {   // return {   //   statusCode: 200,   //   headers: { "Content-Type": "text/plain" },   //   body:
Hello, World! Your request was received at ${event.requestContext.time}.
,   // };   return {     statusCode: 200,     headers: { "Content-Type": "application/json" },     body: 'hi'   }; }
this is the change I made but I roled it back
Believe me, I created a new project three times and did not change anything, same time I got this error


02/19/2022, 7:20 AM
@Sulaiman Baig which version of SST r u using?
Can you try cloning the repo to a folder without spaces? I wonder if it’s the spaces in ur path
specto solutions
serverless notes
that’s messing things up.
Keep me posted!

Sulaiman Baig

02/19/2022, 1:44 PM
@Frank Thanks for your valuable time. Issue resolved by removing white spaces.
@Frank In the docs next topic is dynamoDB but my requirement is mySql with sequeilize. can you guide me ho to connect relational database in serverless stack. plz recommend me any article which explain all this. Thabks