You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the package.json it appears to point to to index.js at the root of the project. This does not exist.
Looking through the code it appears the entrypoint is api/index.js however the project gives no indication of where the entrypoint is.
When deploying to vercel is an index.js created at the root of the project in order for this to work?
I am curious because I would like to run this project locally on my machine and make modifications from a local node environment before deploying to vercel.
The text was updated successfully, but these errors were encountered:
If you want to create an installable module with npm package manager then your module's entry point should be the same as the main: index.js (you can check it by going to the node_modules folder's packages), otherwise, the main key does not play any role in these kinds of development except in some cases. If you delete the param, development environment should be run well but it's necessary to use it to create npm packages.
Looking at the package.json it appears to point to to
index.js
at the root of the project. This does not exist.Looking through the code it appears the entrypoint is
api/index.js
however the project gives no indication of where the entrypoint is.When deploying to vercel is an
index.js
created at the root of the project in order for this to work?I am curious because I would like to run this project locally on my machine and make modifications from a local node environment before deploying to vercel.
The text was updated successfully, but these errors were encountered: