2023-09-25T06:00:26.984Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:26.984Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:26.984Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:26.986Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:26.996Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:26.996Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:26.996Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:26.997Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.007Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.007Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.024Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.026Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.036Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.036Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.036Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.038Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.048Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.048Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.048Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.049Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.060Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.060Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.060Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.061Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.071Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.071Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.071Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.088Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.099Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.099Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.099Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.100Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.111Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.111Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.111Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.112Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.122Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.122Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.122Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.124Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.134Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.134Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.134Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.135Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.145Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.150Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.150Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.152Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.162Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.162Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.162Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.163Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.173Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.174Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.174Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.175Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.185Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.185Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.185Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.187Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.196Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.197Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.197Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.198Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.208Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.208Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.212Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.214Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.224Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.224Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.224Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.226Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.236Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.236Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.236Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.237Z daemon INFO Daemon exited with exit code: 7. 2023-09-25T06:00:27.247Z daemon INFO Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied 2023-09-25T06:00:27.248Z daemon ERROR Error: Error: invalid path creating config dir: /Users/themacstore/Library/Arduino15 error: mkdir /Users/themacstore: permission denied at Socket.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:46444) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) 2023-09-25T06:00:27.282Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli... 2023-09-25T06:00:27.284Z daemon INFO Daemon exited with exit code: 7. Hi @phanx25.
Is your macOS username "themacstore"?
I ask because one possible cause of this "permission denied" error is that you changed your username since the time Arduino IDE's configuration file was generated. Under those conditions, Arduino IDE still tried to access files under paths that contain the old username, which are no longer accessible.
yesss, themacstore is the old username and now i changed to phanx. So how can i fix it?
I'll provide instructions you can follow to fix the configuration:
- Close any Arduino IDE windows if they are open.
- Open the file at the following path in any text editor:
(where/Users/<username>/.arduinoIDE/<username>is your macOS username) - Change all occurrences of
themacstorein the file to your new macOS username ("phanx"). - Save the file.
Now try starting Arduino IDE again. Hopefully it will start up completely and be fully fuctional.
Please let me know if you have any questions or problems while following those instructions.
there are nothing in configuration file
Hi, I apologize. I made an error in the instructions. Here are the corrected ones:
- Close any Arduino IDE windows if they are open.
- Open the file at the following path in any text editor:
(where/Users/<username>/.arduinoIDE/arduino-cli.yaml<username>is your macOS username) - Change all occurrences of
themacstorein the file to your new macOS username ("phanx"). - Save the file.
Now try starting Arduino IDE again. Hopefully it will start up completely and be fully fuctional.
Please let me know if you have any questions or problems while following those instructions.
Note the path to the file should have been /Users/<username>/.arduinoIDE/arduino-cli.yaml instead of /Users/<username>/.arduinoIDE
it's worked. Thank you
You are welcome. I'm glad it is working now.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.