Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular and OneDrive: unsyncable directory "~" in node_modules\postcss-initial

I'm using angular and the project files are on a local-synced OneDrive directory

OneDrive throws an error, that a directory with name "~" can't be synced

Does anyone else have the same problen?

enter image description here

like image 433
Frank Leverenz Avatar asked Aug 15 '26 02:08

Frank Leverenz


1 Answers

OneDrive doesn't support syncing a folder called "~".

If you let OneDrive rename it to "_" then the only thing you lose is the functionality of the postcss-initial module ...

https://www.npmjs.com/package/postcss-initial

If you can live without that functionality, then just let OD rename it.

I raised a suggestion to have the folder name changed ...

https://github.com/maximkoretskiy/postcss-initial/issues/51

like image 148
LozzieD Avatar answered Aug 17 '26 19:08

LozzieD



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!