vscode-duplicate icon indicating copy to clipboard operation
vscode-duplicate copied to clipboard

Format of path

Open FlorianLeitgeb opened this issue 7 years ago • 3 comments

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.

FlorianLeitgeb avatar Aug 14 '17 10:08 FlorianLeitgeb

You can provide your version of path?

mrmlnc avatar Aug 14 '17 10:08 mrmlnc

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

FlorianLeitgeb avatar Aug 14 '17 10:08 FlorianLeitgeb

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.

mrmlnc avatar Oct 04 '17 05:10 mrmlnc