Skip to content

Error on first start. TT #2020

Answered by yuvrajbajwa10
DevJIP asked this question in Q&A
Discussion options

You must be logged in to vote

Hi guys, I got this directly from discord.
koistya — 17/12/2022 01:49
@sawhighla there is an issue with ESBuild that Vite is using internally in dev mode that doesn't know how to load (Yarn) dependencies from different drives (e.g. when global cache is on C:/ but the project folder is on E:/.

You can disable global cache to prevent this from happening:

yarn config set enableGlobalCache false

https://github.com/kriasoft/react-starter-kit/blob/main/.yarnrc.yml#L1

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by koistya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2019 on December 30, 2022 14:07.