it stuck on the logo all the time
daemon INFO Error: 新建配置目录的路径无效:/home/scott/.arduino15 错误:mkdir /home/scott/.arduino15: permission denied
This is very vague. Maybe add a bit more context so that I can help you better, or refer to an international arduino channel such as the one below.
i ran './arduino-ide'
and it repeated the following context
at Socket. (/home/scott/arduino/arduino-ide_2.2.1_Linux_64bit/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)
2024-01-16T21:52:45.865Z daemon INFO Starting daemon from /home/scott/arduino/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/resources/arduino-cli...
2024-01-16T21:52:45.872Z daemon INFO Daemon exited with exit code: 7.
2024-01-16T21:52:45.877Z daemon INFO Error: 新建配置目录的路径无效:/home/scott/.arduino15 错误:mkdir /home/scott/.arduino15: permission denied
2024-01-16T21:52:45.877Z daemon ERROR Error: Error: 新建配置目录的路径无效:/home/scott/.arduino15 错误:mkdir /home/scott/.arduino15: permission denied
at Socket. (/home/scott/arduino/arduino-ide_2.2.1_Linux_64bit/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)
Hi @zf0228. Do you have any idea about why Arduino IDE is not being allowed to create a folder at this path on your hard drive?:
/home/scott/.arduino15
i have no idea..
You most likely did a stupid thing that changed your ~ permissions. Try
chown -R $USER /home/scott/
thank you very much! ide can run now.
Yay a solution!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.