[x] I am using the latest version of Snowpack and all plugins.
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the bug
Man... no idea wth is going on. Keep getting the error:
:~/plasma$ npm run start
> plasma@1.0.0 start
> snowpack dev
[14:33:25] [snowpack] Ready!
[14:33:25] [snowpack] Server started in 55ms.
[14:33:25] [snowpack] Local: http://localhost:8080
[14:33:25] [snowpack] Network: http://192.168.178.76:8080
[14:33:26] [snowpack] [404] Not Found (/src/index.jsx)
⠹ watching for file changes..
I run snowpack init leaving default config, my packages.json looks like so:
{
"name": "plasma",
"version": "1.0.0",
"description": "Converting a vanilla JS app (plasma) into React",
"main": "index.js",
"scripts": {
"start": "snowpack dev",
"build": "snowpack build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "author1",
"license": "UNLICENSED",
"dependencies": {
"snowpack": "^3.8.8"
},
// I tried doing things without the following, but here it's included:
"snowpack": {
"entrypoints": [
"src/index.jsx"
]
}
}
Quick checklist
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the bug
Man... no idea wth is going on. Keep getting the error:
I run snowpack init leaving default config, my packages.json looks like so:
Files for a project titled 'plasma':
index.html references index.jsx like so
(also tried naming it .js instead of .jsx)
index.jsx imports react, react-dom, and App, then renders into dom like so:
Looked at the above several times over, and could not find an issue.
Steps to reproduce
Link to minimal reproducible example (optional)
No response