D:\frontend\vercel\experiment>npm run build
stax@1.1.0 build
next build
(node:12548) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///D:frontend/vercel/experiment/next.config.js is not specified and it doesn't parse as CommonJS.
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
To eliminate this warning, add "type": "module" to D:\Awais\metricoid-site\frontend\vercel\experiment\package.json.
(Use node --trace-warnings ... to show where the warning was created)
⚠ Invalid next.config.js options detected:
⚠ Unrecognized key(s) in object: 'optimizeFonts'
⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
▲ Next.js 15.1.4
- Environments: .env
Creating an optimized production build ...
(node:13852) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///D:/Awais/metricoid-site/frontend/vercel/experiment/next.config.js is not specified and it doesn't parse as CommonJS.
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
To eliminate this warning, add "type": "module" to D:\Awais\metricoid-site\frontend\vercel\experiment\package.json.
(Use node --trace-warnings ... to show where the warning was created)
uncaughtException [Error: kill EPERM] { errno: -4048, code: 'EPERM', syscall: 'kill' }
getting this build error