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

Paths with spaces are not cached correctly #28

Open
mythmon opened this issue Nov 30, 2019 · 2 comments
Open

Paths with spaces are not cached correctly #28

mythmon opened this issue Nov 30, 2019 · 2 comments

Comments

@mythmon
Copy link

mythmon commented Nov 30, 2019

This is similar to #15, but the incorrect path is different. I'm using WSL, so my code is at path /mnt/c/Users/My User/code/project/crate/src/lib.rs. Note the space in My User.

I get this error when running with all versions starting with 1.2.10:

❯ yarn start
yarn run v1.7.0
warning package.json: License should be a valid SPDX license expression
$ parcel index.html
Server running at http://localhost:1234 
✨  Built in 3.00s.
🚨  Error writing to cache: ENOENT: no such file or directory, stat '/mnt/c/Users/MyUser/code/project/crate/src/lib.rs'

Note that the space in My User was removed.

@catsigma
Copy link
Collaborator

catsigma commented Dec 1, 2019

Did you import the lib by using import xxx from 'path/to/Cargo.toml' or import xxx from 'path/to/lib.rs'?

@mythmon
Copy link
Author

mythmon commented Dec 2, 2019

Oops, sorry. This is what I get for trying to manually edit the logs. I imported the lib with path/to/Cargo.toml.

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

No branches or pull requests

2 participants