-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Reproduction Repo
https://github.com/ivan-kleshnin/unplugin-bug
Run npm run dev.
Performed Steps
- Bootstrap minimal template:
npx create-react-router@latest --template remix-run/react-router-templates/minimal - Modify
vite.config.tsaccording to the Vite section in the docs
(= the above repo link at this point) - Run
npm run dev - Get this:
node:internal/modules/cjs/loader:1970
throw new ERR_INVALID_ARG_VALUE('filename', filename, createRequireError);
^
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined
at createRequire (node:internal/modules/cjs/loader:1970:11)
at file:///Users/ivankleshnin/Sandboxes/my-rr/node_modules/@phosphor-icons/unplugin/dist/chunk-OEJUFV6D.js:24:24
at ModuleJob.run (node:internal/modules/esm/module_job:327:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:663:26)
at async loadConfigFromBundledFile (file:///Users/ivankleshnin/Sandboxes/my-rr/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:49416:15)
at async bundleAndLoadConfigFile (file:///Users/ivankleshnin/Sandboxes/my-rr/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:49259:22)
at async loadConfigFromFile (file:///Users/ivankleshnin/Sandboxes/my-rr/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:49222:44)
at async resolveConfig (file:///Users/ivankleshnin/Sandboxes/my-rr/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:48718:24)
at async _createServer (file:///Users/ivankleshnin/Sandboxes/my-rr/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:38329:18)
at async file:///Users/ivankleshnin/Sandboxes/my-rr/server.ts:17:23 {
code: 'ERR_INVALID_ARG_VALUE'
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels