Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » A JavaScript error occurred in the main process
- SumitraKan
-
Scratcher
44 posts
A JavaScript error occurred in the main process
Good day!
I was learning to create projects on basic platform games and the cloning of sprites.
I have encountered problems such as the sprites being non-responsive, slow response time and the recurring of the following message:
A JavaScript error occurred in the main process
Uncaught Exception:
Error:EBUSSY: resource busy or locked, rename: ‘C:\Users\User\AppData\Roaming\ScratchDesktop\telmetry.json.146560783’ ->‘C:\Users\User\AppData\Roaming\ScratchDesktop\telmetry.json’
at object.renameSync (fs:591:3)
at Function .writeFileSync
(webpack-internal
//./node_module/write-life-atomic/index.js:192:8)
at ElectronStore.set(webpack-internal
/./node_module/conf/index.js81:14)
at TelemetryClient_TelemetryClient.saveQueue
(webpack-internal
//./src/main/index.js308:17)
at TelemetryClient_TelemetryClient.addEvent
(webpack-internal
//./src/main/index.js:338:10)
at ScratchDesktopTelemetry_ScratchDesktopTelemetry.projectDidSave
(webpack-internal
//./src/main/index.js:495:27)
at EventEmitter.external_electron_.ipcMain.on
(webpack-internal
//./src/main/index.js:520:36)
at EventEmitter.emit(events.js:182:13)
at WebContents.<anonymous>
‘C:\Users\User\AppData\Local\Programs\ScratchDesktop\resources\electron.asar\brow….13)
I do not have any knowledge in scripting. I wonder, what could be done to solve this problem?
Thank you.
I was learning to create projects on basic platform games and the cloning of sprites.
I have encountered problems such as the sprites being non-responsive, slow response time and the recurring of the following message:
A JavaScript error occurred in the main process
Uncaught Exception:
Error:EBUSSY: resource busy or locked, rename: ‘C:\Users\User\AppData\Roaming\ScratchDesktop\telmetry.json.146560783’ ->‘C:\Users\User\AppData\Roaming\ScratchDesktop\telmetry.json’
at object.renameSync (fs:591:3)
at Function .writeFileSync
(webpack-internal
//./node_module/write-life-atomic/index.js:192:8)at ElectronStore.set(webpack-internal
/./node_module/conf/index.js81:14)at TelemetryClient_TelemetryClient.saveQueue
(webpack-internal
//./src/main/index.js308:17)at TelemetryClient_TelemetryClient.addEvent
(webpack-internal
//./src/main/index.js:338:10)at ScratchDesktopTelemetry_ScratchDesktopTelemetry.projectDidSave
(webpack-internal
//./src/main/index.js:495:27)at EventEmitter.external_electron_.ipcMain.on
(webpack-internal
//./src/main/index.js:520:36)at EventEmitter.emit(events.js:182:13)
at WebContents.<anonymous>
‘C:\Users\User\AppData\Local\Programs\ScratchDesktop\resources\electron.asar\brow….13)
I do not have any knowledge in scripting. I wonder, what could be done to solve this problem?
Thank you.
Last edited by SumitraKan (April 2, 2019 14:44:30)
- Kraken_Games
-
Scratcher
100+ posts
A JavaScript error occurred in the main process
What's your Browser/OS
Show us by pressing the world icon in the forum replier.
This might go somewhere else, like the advanced topics?
Show us by pressing the world icon in the forum replier.
This might go somewhere else, like the advanced topics?
Last edited by Kraken_Games (April 2, 2019 15:17:41)
- SumitraKan
-
Scratcher
44 posts
A JavaScript error occurred in the main process
Good morning.
My browser / operating system: Windows NT 10.0, Chrome 73.0.3683.86, No Flash version detected
I am using Google Chrome to download the Scratch Desktop installer. Normally I will work with the offline editor and then upload the projects later.
I am using Windows 10, Acer Swift with Intel CORE i5.
This is the link to the print screen of message:
The Print Screen of Error Message
I was trying to create the following projects:
gold fish
testing platforms
Thank you.
My browser / operating system: Windows NT 10.0, Chrome 73.0.3683.86, No Flash version detected
I am using Google Chrome to download the Scratch Desktop installer. Normally I will work with the offline editor and then upload the projects later.
I am using Windows 10, Acer Swift with Intel CORE i5.
This is the link to the print screen of message:
The Print Screen of Error Message
I was trying to create the following projects:
gold fish
testing platforms
Thank you.
Last edited by SumitraKan (April 3, 2019 03:05:14)
- SumitraKan
-
Scratcher
44 posts
A JavaScript error occurred in the main process
Hi, I have tried to use Scratch 3.0 for desktop on another laptop, the Acer Aspire F15, Windows 10. The same problem persisted.
From time to time, I couldn't save my project which it became complicated with numerous algorithms executed via several sprites.
It happens to both of my Acer Swift and Acer Aspire F15.
I wonder how this problem can be fixed.
Thank you!
From time to time, I couldn't save my project which it became complicated with numerous algorithms executed via several sprites.
It happens to both of my Acer Swift and Acer Aspire F15.

I wonder how this problem can be fixed.
Thank you!
- ResExsention
-
New Scratcher
1000+ posts
A JavaScript error occurred in the main process
Apparently, the part with “resource blocked or busy” points to that you can't access the offline editor. The rest basically lets you know which lines and files are broken. Did you accidentally mess with the installation directory? Have you considered reinstalling Scratch? I'm writing this with an Intel Core i5 so your processor is definitely not a problem.
- champs0019
-
New Scratcher
1 post
A JavaScript error occurred in the main process
I got javascript error when is start scratch..
here is screen shot of error
https://drive.google.com/file/d/15r53g3BBU6nnB_vKxke3tnPA5Z8Omfrc/view?usp=sharing
please help
here is screen shot of error
https://drive.google.com/file/d/15r53g3BBU6nnB_vKxke3tnPA5Z8Omfrc/view?usp=sharing
please help
- a-jar-of-tuna
-
Scratcher
100+ posts
A JavaScript error occurred in the main process
Please create your own topic instead of necroposting; it's more beneficial to you and to everybody else.
- gamemakerrehan
-
Scratcher
1 post
A JavaScript error occurred in the main process
Maybe you can try reinstalling it or uninstall it and install it again
(☁ score)
- DRmodell
-
Scratcher
1 post
A JavaScript error occurred in the main process
I've had the error too and believe I know the answer! I have downloaded it from the microsoft store and got the error, but if you download it from scratch (shown at very bottom) this should fix it. I hope this helps 

- Discussion Forums
- » Help with Scripts
-
» A JavaScript error occurred in the main process





