question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Qwik City Netlify starter does not build

See original GitHub issue

Qwik Version

0.0.39

Operating System (or Browser)

Ubuntu 22.04.1

Node Version (if applicable)

v16.15.0

Which component is affected?

Starters / CLI

Expected Behaviour

  1. npm init qwik@latest - select Qwik City with Netlify
  2. npm install
  3. npm build - current build throw error, and I manually fixed errors following #938
  4. deploy to netlify

Expected: should show the initial start example

following

Actual Behaviour

Netlify site shows “TypeError: Cannot read properties of undefined (reading ‘write’)” on the page, with a 500 HTTP error when fetching /

Additional Information

// ./netlify/edge-functions/entry.netlify/entry.netlify.js

// ...
const write = opts.stream.write.bind(opts.stream);
const createDocTimer = createTimer();
const doc = _createDocument(opts);
// ...

renderToStream function in entry.ssr.tsx expects ops argument has a stream object with a write function.

Maybe the starter needs a proper @builder.io/qwik

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
Priestchcommented, Aug 12, 2022

@youngboy I tried 0.0.42 and the latest 0.0.100, and both worked without any issues!

1reaction
nnelgxorzcommented, Aug 6, 2022

Hmm. Have you tried to clear the cache and redeploy? Other than that we might have to wait for the edge log to get working again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Deploy the Qwik JavaScript Framework - Netlify
In this tutorial, I will show you how to deploy a Qwik application on Netlify. There is a great step-by-step guide to deploying...
Read more >
Qwik City - Netlify Edge Adaptor and Middleware - Builder.io
No hydration, auto lazy-loading, edge-optimized, and fun !
Read more >
Developer go-to-market next steps - HackMD
Motivation problem: Developers need to integrate, but builder.io does not serve them. ... AWARENESS: Allow developers to start using QWIK Brings developer ...
Read more >
Aziz Abbas (@teleaziz) / Twitter
We are building technology for real business, where performance is not the ONLY thing that matters. Qwik is a fundamental part of this,...
Read more >
Build Resumable Apps with Qwik - Learn With Jason
Qwik lets us build "resumable apps" by requiring nearly zero JavaScript for pages ... So now, I don't know, maybe it's time to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found