Open vezwork opened 7 months ago
On freshly cloned repo, pnpm i then pnpm start opens a web browser to http://localhost:3000/public/index.html and shows the following error:
pnpm i
pnpm start
http://localhost:3000/public/index.html
[plugin:vite:import-analysis] Failed to resolve import "./App" from "public/index.tsx". Does the file exist? /Users/elliot/Desktop/bluefish/public/index.tsx:4:16 3 | /* @refresh reload */ 4 | import { render } from "solid-js/web"; 5 | import App from "./App"; | ^ 6 | const root = document.getElementById("root"); 7 | if (import.meta.env.DEV && !(root instanceof HTMLElement)) { at formatError (file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42645:46) at TransformContext.error (file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42641:19) at normalizeUrl (file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:40508:33) at async file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:40651:47 at async Promise.all (index 3) at async TransformContext.transform (file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:40577:13) at async Object.transform (file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42919:30) at async loadAndTransform (file:///Users/elliot/Desktop/bluefish/node_modules/.pnpm/vite@4.3.9_@types+node@20.3.3/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53385:29
I am on Mac OS Sonoma 14.1, Apple M1 Pro, Arc Version 1.33 (Chromium Engine Version 122.0.6261.112). I have pnpm version 8.15.5.
pnpm
On freshly cloned repo,
pnpm i
thenpnpm start
opens a web browser tohttp://localhost:3000/public/index.html
and shows the following error:I am on Mac OS Sonoma 14.1, Apple M1 Pro, Arc Version 1.33 (Chromium Engine Version 122.0.6261.112). I have
pnpm
version 8.15.5.