Moralis Self Hosted Server Not Working - Yarn Build

when ever i try and install the self hosted server from moralis , the yarn build gives an error

i did run yarn install before this , yet it says it cant find cors

and also i did try and install cors still dosent work . i did run the npm i --save–dev @types/cors too and this is the error it gives me

I think that I saw something about cors on this forum before

what versions are you using for that build? what version of node js you have?

Can you show your node_modules folder? If the project hasn’t installed correctly, try moving the parse-server-migration folder to a different location and installing it again with npm install.

1 Like