Handling Dependent Promises-Lesson problem

https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-async-javascript-and-http-requests/modules/fecp-learn-javascript-syntax-async-await/lessons/async-await/exercises/multiple-awaits

While doing the above lesson I did what was told and I got all the green ticks but an error occured, saying unexpected identifier

here is my app.js

const {shopForBeans, soakTheBeans, cookTheBeans} = require('./library.js');

// Write your code below:
//const makeBeans = async () ={};
const makeBeans = async () ={
  let type = await shopForBeans();
  let isSoft = await soakTheBeans(type);
  let dinner = await cookTheBeans(isSoft);
  console.log(dinner);
};
// async function makeBeans()
// {

// }
makeBeans();

and the following is the error that i’m getting after executing using node

/home/ccuser/workspace/async-await-multiple-awaits/app.js:6
let type = await shopForBeans();
^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:53:10)
at Object.runInThisContext (vm.js:95:10)
at Module._compile (module.js:543:28)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:427:7)
at startup (bootstrap_node.js:151:9)

Please help me resolve the error

I think you have an extra = at the beginning of the function

const makeBeans = async () ={

should actually be

const makeBeans = async () {

Thank you, I understood
I did not make it a arrow function, which I intended to make’
Just an FYI

const makeBeans = async () ={

should have been

const makeBeans = async () =>{

not

const makeBeans = async () {