I'm facing this:
Error: Command "npm run build" exited with 1
Deployment completed
BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1
I also tried, by setting environment variable CI to false. It would look like this:
CI = false
What to…
I've created a little api using micro.
Running localhost:3000/get-status should return the data object.
So far the console.log() is printing the expected object.
But on the browser I get Endpoint not found and on the server I get the error Si7021…
I am trying some IoT stuff and i use USR-K2 to receive data and send them to website api where I proccess them. Website is hosted on Vercel.
The problem is I cant really read data on production. When i send the data to my localhost, it works…
UPDATE: Added the full server code. Notice that the route for static content is working fine, only the one relative to Dat fails. Also, I'm running node 10.8.0 with no transpiler or anything, server is ran with micro -l tcp://0.0.0.0:$PORT
I'm…
Is there a possibility to set an API limit for a specific endpoint in Vercel?.
I am Building an Next.js Application for a certain endpoint I want to limit the number of incoming request from the user's is there a possibility to do it?
Is there a…
I have Micro endpoints for my API that uses Mongoose. All of them work fine, except the one that uses .findOne(). This one returns the right data locally, but not when deployed to Now v2. Here is the endpoint:
const { createError, run, send } =…
Let's say I have this routes.js in micro:
const hello = async (req, res) => {
send(res, 200, `Hello, ${req.params.who}`);
});
module.exports = router(
post('/hello/:who', hello),
);
I have the following test set-up, but unfortunately I am…