Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4061 seems like break running vite in dev mode #4165

Closed
6 tasks done
dejour opened this issue Jul 7, 2021 · 1 comment · Fixed by #4183
Closed
6 tasks done

#4061 seems like break running vite in dev mode #4165

dejour opened this issue Jul 7, 2021 · 1 comment · Fixed by #4183

Comments

@dejour
Copy link
Contributor

dejour commented Jul 7, 2021

Describe the bug

i was gonna do some testing in resolve playground with vite running in dev mode. then got following error.

Error: Cannot find module 'vite/dist/client/client.mjs'
Require stack:
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/constants.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/utils.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/plugins/reporter.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/build.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/config.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/index.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/dist/node/cli.js
- /Users/taylorliu/Projects/dev-vite/vite/packages/vite/bin/vite.js

it looks like it's caused by #4061.

Reproduction

you can test it in any playground using vite in dev mode.

System Info

System:
    OS: macOS 10.15.2
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
    Memory: 433.47 MB / 8.00 GB
    Shell: 3.2.2 - /usr/local/bin/fish
  Binaries:
    Node: 14.15.4 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.10 - /usr/local/bin/npm
  Browsers:
    Chrome: 91.0.4472.114
    Firefox: 75.0
    Safari: 13.0.4

Used Package Manager

yarn

Logs

No response

Validations

@sodatea
Copy link
Member

sodatea commented Jul 10, 2021

Will be fixed by #4183

@Shinigami92 Shinigami92 linked a pull request Jul 10, 2021 that will close this issue
9 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Jul 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants