Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

don't install wasm-pack for webpack projects #745

Closed
TownLake opened this issue Sep 29, 2019 · 3 comments Β· Fixed by #1344
Closed

don't install wasm-pack for webpack projects #745

TownLake opened this issue Sep 29, 2019 · 3 comments Β· Fixed by #1344
Assignees
Labels
bug Something isn't working
Milestone

Comments

@TownLake
Copy link

πŸ› Bug Report

Environment

  • operating system: macOS Mojav 10.14.6
  • output of rustc -V: rustc 1.38.0 (625451e37 2019-09-23)
  • output of node -v:
  • output of wrangler -V: πŸ‘· ✨ wrangler 1.4.0

Steps to reproduce

I have a static site generated from Hugo and am attempting to publish with Wrangler. It worked the first few times, but timed out trying to get to crates.io

What did you expect to see?

Publish success

What did you see instead?

Total in 30 ms C02WF0XWHV2R:blog-samrhea samrhea$ wrangler publish πŸŒ€ Using namespace for Workers Site "__blog-samrhea-workers_sites_assets" πŸ’ ignoring file .DS_Store πŸ’ ignoring file .DS_Store πŸ’ Uploading... ✨ Success ⬇️ Installing wranglerjs... Error: https://crates.io/api/v1/crates/wasm-pack: error trying to connect: connect timed out

@ashleygwilliams
Copy link
Contributor

seems like crates.io may have had some down time or an incident when this happened. the real bug here is that it was attempting to install wasm-pack but it didn't need to be. this is similar to #768! @EverlastingBugstopper as you work on 768 can you also take a look at this? will be in the exact same part of the (bad) code (i wrote) :P

@ashleygwilliams ashleygwilliams added the bug Something isn't working label Oct 9, 2019
@ashleygwilliams ashleygwilliams changed the title crates.io timeout don't attempt to install wasm-pack if we don't need it Oct 9, 2019
@berstend
Copy link

berstend commented Oct 30, 2019

Same issue here - a way to bypass wasm dependencies would be great (don't need them)

⬇️ Installing wranglerjs...
Error: https://crates.io/api/v1/crates/wasm-pack: error trying to connect: connect timed out

@ashleymichal ashleymichal added this to the 1.6.0 milestone Nov 5, 2019
@EverlastingBugstopper EverlastingBugstopper self-assigned this Nov 7, 2019
@EverlastingBugstopper EverlastingBugstopper modified the milestones: 1.6.0, 1.7.0 Nov 14, 2019
@ashleymichal ashleymichal modified the milestones: 1.7.0, 1.8.0 Dec 17, 2019
@ashleygwilliams ashleygwilliams modified the milestones: 1.8.0, 1.9.0 Feb 25, 2020
@EverlastingBugstopper EverlastingBugstopper modified the milestones: 1.9.0, 1.10.0 May 1, 2020
@EverlastingBugstopper EverlastingBugstopper changed the title don't attempt to install wasm-pack if we don't need it don't install wasm-pack for webpack projects May 27, 2020
@EverlastingBugstopper
Copy link
Contributor

first attempt to do this in #849 didn't pan out. will try again with a new approach

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
6 participants