-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
installed today on Windows 10
node v12.18.4
npm 6.14.6
executed command dframe *.png --frame "Apple Macbook Pro"
command fails with following errors :
❯ dframe *.png --frame "Apple Macbook Pro"
Downloading frame Apple Macbook Pro 13" [shadow] [ ] Infinity/bps 1% 0.0s
× Error: EINVAL: invalid argument, mkdir 'C:\Users\antho\AppData\Local\deviceframe-nodejs\Cache\frames\Computers\Apple Macbook Pro\13"'
❯ dframe *.png --frame "Dell XPS 15"
Downloading frame Dell XPS 15" [shadow] [ ] Infinity/bps 1% 0.0sevents.js:292
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'C:\Users\antho\AppData\Local\deviceframe-nodejs\Cache\frames\Computers\Dell XPS 15\Device with shadow\Dell XPS 15".png'
Emitted 'error' event on WriteStream instance at:
at errorOrDestroy (internal/streams/destroy.js:108:12)
at WriteStream.onerror (_stream_readable.js:752:7)
at WriteStream.emit (events.js:315:20)
at internal/fs/streams.js:361:12
at FSReqCallback.oncomplete (fs.js:156:23) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Users\\me\\AppData\\Local\\deviceframe-nodejs\\Cache\\frames\\Computers\\Dell XPS 15\\Device with shadow\\Dell XPS 15".png'
}
dframe *.png --frame "Microsoft Surface Book" works as there is no " in filename
Folders on Windows can not contain "
Any way I can workaround this ?
Metadata
Metadata
Assignees
Labels
No labels