After running below build worked but npm start is failing
npm install --arch=x64 --platform=linux sharp [ Apple M1 ]
TypeError: Cannot read property 'constructor' of undefined
at Object.<anonymous> (/api/node_modules/cli-highlight/src/theme.ts:4:26)
at Module.compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module.extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module.load (internal/modules/cjs/loader.js:781:14)
at Module.require (internal/modules/cjs/loader.js:964:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/api/node_modules/cli-highlight/src/index.ts:3:1)
at Module.compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)