Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

Getting 404 on web_modules/react.js using TypeScript React template #77

Closed
mohsen1 opened this issue May 27, 2020 · 5 comments
Closed

Comments

@mohsen1
Copy link

mohsen1 commented May 27, 2020

This is the first time I'm using Snowpack. Here is what I did:

My history:

yarn start
cd new-dir/
npx create-snowpack-app new-dir --template @snowpack/app-template-react-typescript --use-yarn
nvm use 12
cd Desktop/
cd
GET http://localhost:8080/web_modules/react.js net::ERR_ABORTED 404 (Not Found)

I ran all of the commands from VSCode. It prompted me to allow VSCode to control Chrome. I'm on Mac.

Other files are ok. I aw App.js being downloaded fine.

@stevenpetryk
Copy link
Contributor

stevenpetryk commented May 27, 2020

Same, and with the non-TypeScript template too. Also on a Mac, but just from iTerm.

@stevenpetryk
Copy link
Contributor

Getting the same with Preact. Perhaps it's just an issue with Snowpack... investigating.

@stevenpetryk
Copy link
Contributor

Ah yep, I'm only seeing it in 2.0.1. Snowpack 2.0.0 loads all three of them just fine.

Diff between the two: FredKSchott/snowpack@v2.0.0...v2.0.1. Lots of potentially breaking things in there as far as I can tell.

@FredKSchott
Copy link
Owner

bah 1 second, looking...

@FredKSchott
Copy link
Owner

Fixed in v1.0.2: https://github.com/pikapkg/snowpack/releases/tag/v2.0.2

Sorry about that! Our dev code is hard to test, but getting something to catch this in the future is priority #1 atm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants