Skip to content

Paths with spaces are not cached correctly #28

Description

@mythmon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions