plugin:vite:import-analysis] Failed to resolve import “./components/timeline.js” from “src/main.js”. Does the file exist?
/home/project/src/main.js:15:9
13 | displayEvents,
14 | displayVisualTimeline
15 | } from ‘./components/timeline.js’;
| ^
16 |
17 | let events = ;
at TransformPluginContext._formatError (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:49304:41)
at TransformPluginContext.error (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:49299:16)
at normalizeUrl (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:64090:23)
at async eval (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:64222:39)
at async TransformPluginContext.transform (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:64149:7)
at async PluginContainer.transform (file:///home/project/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:49145:18)
at async loadAndTransform (file:///home/project/node_modules/vite/dist/
The file and contents are displayed but still give this error. I have reloaded pnpm install and deleted the nodes_modules dir. Still crashing.