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
add "generates-routes": "delir ./routes.ts" to package.json
run npm run generates-routes
error occurs
Error details
Start delir v0.0.1 - Generates a Route Manifest for you. It allows you to refer to a page by name instead of location
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, open '/pages/index.tsx'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/pages/index.tsx'
}
What I tried:
changing workspace entry
using sudo
installing delir globaly
What could cause this issue ?
The text was updated successfully, but these errors were encountered:
I could not make it generate the route manifest.
Steps followed
npx create-next-app@latest
npm install delir --save-dev
"generates-routes": "delir ./routes.ts"
to package.jsonnpm run generates-routes
Error details
What I tried:
What could cause this issue ?
The text was updated successfully, but these errors were encountered: