Open FlorianLeitgeb opened 7 years ago
You can provide your version of path?
As mentioned above, I tried many different formating variations. It was something like: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\example\js\file.js
Under the hood we use fs-extra
for work with File System. This package throw this error by invalidWin32Path
.
Most likely it's a bug of fs-extra
package but I have no Windows. You can write JS file for test your path and create Issue in their repository.
How do I need to format the path, because I am getting always this message: Error: ... contains invalid WIN32 path characters.
Tried many different approaches, but nothing helped. Please give me an example.