Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: EPERM: operation not permitted, mkdir '~/AppData\Local\Temp\TabletopSimulator\Tab... #125

Open
astranberg opened this issue Aug 28, 2020 · 1 comment

Comments

@astranberg
Copy link

[Enter steps to reproduce:]

  1. Open TTS.
  2. "Get Lua Scripts" in Atom.
    Atom and TTS are installed on separate drives. Is that the cause?

Atom: 1.50.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Pro
Thrown From: tabletopsimulator-lua package 12.4.1

Stack Trace

Uncaught Error: EPERM: operation not permitted, mkdir 'C:\Users\Adam\AppData\Local\Temp\TabletopSimulator\Tabletop Simulator Lua'

At C:\Users\Adam\.atom\packages\tabletopsimulator-lua\node_modules\mkdirp\index.js:91

Error: EPERM: operation not permitted, mkdir 'C:\Users\Adam\AppData\Local\Temp\TabletopSimulator\Tabletop Simulator Lua'
    at mkdirSync (fs.js:778:3)
    at Object.fs.mkdirSync (electron/js2c/asar.js:725:16)
    at Function.sync (/packages/tabletopsimulator-lua/node_modules/mkdirp/index.js:72:13)
    at FileHandler.create (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:419:12)
    at readFilesFromTTS (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:497:11)
    at handleMessage (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:1897:7)
    at /packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:2115:9)
    at Socket.emit (events.js:194:13)
    at addChunk (_stream_readable.js:296:12)
    at readableAddChunk (_stream_readable.js:277:11)
    at Socket.Readable.push (_stream_readable.js:232:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:165:17)

Commands

     -0:19.9.0 tabletopsimulator-lua:openHelp (atom-pane.pane.active)

Non-Core Packages

tabletopsimulator-lua 12.4.1 
@astranberg
Copy link
Author

Solution: Run as admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant