I deploy nodejs api and have some error. any one can give me the solution.
Thanks
11:26:00 AM: app/routes/client.route.js -> dist/routes/client.route.js
11:26:00 AM: app/routes/post.route.js -> dist/routes/post.route.js
11:26:00 AM: app/routes/v1.js -> dist/routes/v1.js
11:26:00 AM: app/seeders/seeders.js -> dist/seeders/seeders.js
11:26:00 AM: > crawl-data@1.0.0 start-netlify /opt/build/repo
11:26:00 AM: > ./node_modules/netlify-lambda/lib serve app
11:26:00 AM: sh: 1: ./node_modules/netlify-lambda/lib: Permission denied
11:26:00 AM: npm
11:26:00 AM: ERR! code
11:26:00 AM: ELIFECYCLE
11:26:00 AM: npm
fool
2
Hi @tanngocit . We wouldn’t be able to host most API’s; you can’t run a server on our service.
Check out this article for more details: