I want to generate new importmap, but there is an error says there is no importmap. This is very strange
➜ ✗ pnpm generate:importmap
> [email protected] generate:importmap /Volumes/source_code/project
> cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap
Generating import map
node:internal/fs/promises:638
return new FileHandle(await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, open '/Volumes/source_code/personal/project/src/app/(payload)/admin/importMap.js'
at async open (node:internal/fs/promises:638:25)
at async Object.readFile (node:internal/fs/promises:1242:14)
at async writeImportMap (/Volumes/source_code/personal/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/payload/src/bin/generateImportMap/index.ts:150:30)
at async generateImportMap (/Volumes/source_code/personal/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/payload/src/bin/generateImportMap/index.ts:109:3)
at async start (file:///Volumes/source_code/personal
/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/payload/bin.js:30:7) {