inkle / inkle/inky

[Bug] Windows: Preview never starts when loading ink files from Documents folder

Open
#387 0 comments 8 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

On Windows 10, saving an ink file directly into the Documents folder (in my case `C:/Users/Tom/Documents/test.ink`), and then loading it, will cause the story preview to be stuck loading and never start. According to console errors, the app seems to look for the My Music, My Pictures & My Videos subfolders, yet this `Documents` folder doesn't have any of those as subfolders.

My workaround was simply to save the ink file in another folder (e.g. saving as `C:/Users/Tom/Documents/ink/test.ink` worked for me).

Screenshot:
![afbeelding](https://user-images.githubusercontent.com/6784890/149097311-32c0b8f2-e62f-41d7-98ea-35ff52c6530e.png)

Full logs of errors in the console:
```
ace.js:3532 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
warn @ ace.js:3532
internal/fs/watchers.js:164 Uncaught (in promise) Error: EPERM: operation not permitted, watch 'C:\Users\Tom\Documents\My Music'
at FSWatcher.start (internal/fs/watchers.js:164)
at Object.watch (fs.js:1232)
at createFsWatchInstance (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:118)
at setFsWatchListener (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:165)
at NodeFsHandler._watchWithNodeFs (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:330)
at NodeFsHandler._handleDir (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:551)
at process._tickCallback (internal/process/next_tick.js:68)
internal/fs/watchers.js:164 Uncaught (in promise) Error: EPERM: operation not permitted, watch 'C:\Users\Tom\Documents\My Pictures'
at FSWatcher.start (internal/fs/watchers.js:164)
at Object.watch (fs.js:1232)
at createFsWatchInstance (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:118)
at setFsWatchListener (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:165)
at NodeFsHandler._watchWithNodeFs (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:330)
at NodeFsHandler._handleDir (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:551)
at process._tickCallback (internal/process/next_tick.js:68)
internal/fs/watchers.js:164 Uncaught (in promise) Error: EPERM: operation not permitted, watch 'C:\Users\Tom\Documents\My Videos'
at FSWatcher.start (internal/fs/watchers.js:164)
at Object.watch (fs.js:1232)
at createFsWatchInstance (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:118)
at setFsWatchListener (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:165)
at NodeFsHandler._watchWithNodeFs (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:330)
at NodeFsHandler._handleDir (C:\Users\Tom\Downloads\Inky_windows_64\Inky-win32-x64\resources\app.asar\node_modules\chokidar\lib\nodefs-handler.js:551)
at process._tickCallback (internal/process/next_tick.js:68)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.