This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Intro Example should not be broken #10
Comments
Thank you @frol, That's really helpful. I'll fix it soon. |
Aslemammad
added a commit
that referenced
this issue
Aug 31, 2021
* remove: rollup-plugin-esbuild * feat: new rollup config * fix: eslint warnings * fix: removing esbuild-rollup completely * fix: add (skip) tests * fix: fix Document error * fix: add new item to .gitignore * fix: handle no Script * fix: build * fix: resolve fsp * fix: something * feat: add codesandbox * fix: resolve react-dom/server * fix: resolve js extension * fix: something * fix: app component * fix: cjs default export * fix: resolve cjs packages * fix: resovle cjs packages
@Aslemammad Hey! I hope you are doing well now 🙏 I tried it again:
Open the browser and see the same (or very similar error):
Still does not work for me |
OH, I think you need to do |
That's really weird! BTW, why does the error shows `import p from './@vitext/_app'? because I changed it from a simple import to a dynamic import in the latest release! Link |
@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"]
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried intro example and bumped into a few problems:
0.0.2
in theintro/package.json
npm run dev
failed to start due to:Error: Cannot find module 'react-refresh/cjs/react-refresh-runtime.development.js'
. I Resolved it withnpm add -D react-refresh
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:Environment:
P.S. Cool project! 👍
The text was updated successfully, but these errors were encountered: