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

Invalid path of @parcel\config-default\index.json #9319

Open
lazex opened this issue Oct 17, 2023 · 2 comments
Open

Invalid path of @parcel\config-default\index.json #9319

lazex opened this issue Oct 17, 2023 · 2 comments
Labels

Comments

@lazex
Copy link

lazex commented Oct 17, 2023

I got a no such file or directory error when I run parcel build index.js.
There was no error before and it happened when I updated the parcel package from 2.8 to 2.10.
However, it is now happening in 2.8 as well.
It's probably caused by packages installed by dependencies of parcel.

According to the error message, the file path being accessed is:

C:\?\Volume{UUID}\bar\node_modules\@parcel\config-default\index.json

Actual path is:

C:\foo\bar\node_modules\@parcel\config-default\index.json

If using volume:

\\?\Volume{UUID}\bar\node_modules\@parcel\config-default\index.json
Software Version(s)
Parcel 2.10
Node 18
npm/Yarn yarn
Operating System Windows
@lazex
Copy link
Author

lazex commented Oct 17, 2023

The volume is mounted on C:\foo.

@github-actions github-actions bot added the Stale Inactive issues label Apr 22, 2024
@mischnic mischnic removed the Stale Inactive issues label Apr 22, 2024
@parcel-bundler parcel-bundler deleted a comment from github-actions bot Apr 22, 2024
@GillesTourreau
Copy link

I confirm that I have the same issue.
I created a DevDrive volume mounted to a Windows directory, and parcel does not work when source code is access with a volume mounted to a directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants