So i had a mern project whcih had 2 folder iblog as frontend and server as backend. I’ve deployed my frontend on vercel and now i’m trying to deploy my backend on render. I followed the steps and when i deployed it. I’m getting this error
Apr 26 08:21:11 PM ==> Cloning from GitHub - Aniket1026/Iblog…
Apr 26 08:21:11 PM ==> Checking out commit c32bbd6ada1b9bcc0bb174e522b290b7c57e4919 in branch main
Apr 26 08:21:16 PM ==> Running build command 'npm '…
Apr 26 08:21:17 PM
Apr 26 08:21:17 PM Usage: npm
Apr 26 08:21:17 PM
Apr 26 08:21:17 PM where is one of:
Apr 26 08:21:17 PM access, adduser, audit, bin, bugs, c, cache, ci, cit,
Apr 26 08:21:17 PM clean-install, clean-install-test, completion, config,
Apr 26 08:21:17 PM create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
Apr 26 08:21:17 PM edit, explore, fund, get, help, help-search, hook, i, init,
Apr 26 08:21:17 PM install, install-ci-test, install-test, it, link, list, ln,
Apr 26 08:21:17 PM login, logout, ls, org, outdated, owner, pack, ping, prefix,
Apr 26 08:21:17 PM profile, prune, publish, rb, rebuild, repo, restart, root,
Apr 26 08:21:17 PM run, run-script, s, se, search, set, shrinkwrap, star,
Apr 26 08:21:17 PM stars, start, stop, t, team, test, token, tst, un,
Apr 26 08:21:17 PM uninstall, unpublish, unstar, up, update, v, version, view,
Apr 26 08:21:17 PM whoami
Apr 26 08:21:17 PM
Apr 26 08:21:17 PM npm -h quick help on
Apr 26 08:21:17 PM npm -l display full usage info
Apr 26 08:21:17 PM npm help search for help on
Apr 26 08:21:17 PM npm help npm involved overview
Apr 26 08:21:17 PM
Apr 26 08:21:17 PM Specify configs in the ini-formatted file:
Apr 26 08:21:17 PM /opt/render/.npmrc
Apr 26 08:21:17 PM or on the command line via: npm --key value
Apr 26 08:21:17 PM Config info can be viewed via: npm help config
Apr 26 08:21:17 PM
Apr 26 08:21:17 PM npm@6.14.13 /usr/local/lib/node_modules/npm
Apr 26 08:21:17 PM ==> Build failed
Apr 26 08:21:17 PM ==> Generating container image from build. This may take a few minutes…
This is the error i’m getting while trying to deploy, This is my first time trying to deploy backend . So there might be something i’m missing but I’ve been looking for the issue and i’m unable to find it. Looking for some help. Thanks