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
I was trying to utilize the pm2 API for a Next.js project, but when I imported it into the API directory and connected it, an exception was thrown: "Module not found: Can't resolve 'term.js'."
How could we reproduce this issue?
Create a nextjs 14 app using create-next-app and install pm2. After installation inside /app/api/test/route.ts write a simple route as below.
What's going wrong?
I was trying to utilize the pm2 API for a Next.js project, but when I imported it into the API directory and connected it, an exception was thrown: "Module not found: Can't resolve 'term.js'."
How could we reproduce this issue?
Create a nextjs 14 app using create-next-app and install pm2. After installation inside /app/api/test/route.ts write a simple route as below.
Traceback
Supporting information
The text was updated successfully, but these errors were encountered: