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.

Intro Example should not be broken

See original GitHub issue

I tried intro example and bumped into a few problems:

  1. vitext 0.0.1 is deleted, so I had to update it to 0.0.2 in the intro/package.json
  2. next, npm run dev failed to start due to: Error: Cannot find module 'react-refresh/cjs/react-refresh-runtime.development.js'. I Resolved it with npm add -D react-refresh
  3. next, while npm run dev brought the server up and running, it does not work well (“increase” and “decrease” buttons do not work), and I see the following error in the terminal, if that helps: image

Environment:

  • Arch Linux, x86-64
  • node.js 16.6.1
  • npm 7.20.5
  • vitext example from master branch

P.S. Cool project! 👍

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Aslemammadcommented, Aug 8, 2021

Thank you @frol, That’s really helpful. I’ll fix it soon.

0reactions
frolcommented, Sep 18, 2021

@Aslemammad Here is the Dockerfile to reporduce the issue:

FROM node

RUN git clone https://github.com/Aslemammad/vitext.git
RUN cd vitext && \
    yarn && \
    cd packages/examples/intro && \
    yarn

WORKDIR /vitext/packages/examples/intro
CMD ["yarn", "dev", "--host"]
$ docker build --tag vitext-intro-example
$ docker run -it --rm -p 3000:3000 vitext-intro-example
Read more comments on GitHub >

github_iconTop Results From Across the Web

4 Ways to Not Write an Introduction | by Niklas Göke
Most of the time, bad introductions are the result of laziness rather than lack of skill or imagination. The mistake would have been...
Read more >
How to Write an Introduction Paragraph in 3 Steps
Wondering how to write an introduction paragraph? Check out our complete guide including a great example of introduction paragraphs.
Read more >
How to Write an Introduction: A Simplified Guide - HubSpot Blog
Get the formula for writing an introduction to your marketing content; it'll make it quick and painless.
Read more >
5 Things to Avoid When Writing an Introduction - Podcast ...
BRITTANY: In this episode we'll be talking about five things to avoid when writing an introduction. BETH: So this month we published a...
Read more >
How Do I Write an Intro, Conclusion, & Body Paragraph?
An introduction is usually the first paragraph of your academic essay. If you're writing a long essay, you might need 2 or 3...
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