Closed iamcodemaker closed 5 years ago
When building a rust project, if there are spaces in the path parcel fails with the following error where the path was /path/with spaces in it/. Note: this is not a fatal error, it just logs to the console. Everything else still seems to work.
/path/with spaces in it/
Previous discussion here: parcel-bundler/parcel#2521
✨ Built in 1.72s. 🚨 Error writing to cache: ENOENT: no such file or directory, stat '/path/with\'
To reproduce:
npm run start
npm run build
Parcel should properly build a bundle.
Parcel complains about writing to the cache with the error above.
Properly handle paths with spaces (and special characters) in them.
Sorry for the late fix. Version 1.2.10 solve this issue.
🐛 bug report
When building a rust project, if there are spaces in the path parcel fails with the following error where the path was
/path/with spaces in it/
. Note: this is not a fatal error, it just logs to the console. Everything else still seems to work.Previous discussion here: parcel-bundler/parcel#2521
🔦 Context
To reproduce:
npm run start
ornpm run build
🤔 Expected Behavior
Parcel should properly build a bundle.
😯 Current Behavior
Parcel complains about writing to the cache with the error above.
💁 Possible Solution
Properly handle paths with spaces (and special characters) in them.
🌍 Your Environment