Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Getting unhandled errors from nucleus #8

Closed
kurienzach opened this issue Nov 4, 2020 · 2 comments
Closed

Getting unhandled errors from nucleus #8

kurienzach opened this issue Nov 4, 2020 · 2 comments

Comments

@kurienzach
Copy link

After integrating nucleus, I see a lot of errors of the below type on the nucleus dashboard. In fact 95% of the event that were generated for my test application was from nucleus.

Error: EPERM: operation not permitted, rename 'C:\Users\Piyush\AppData\Roaming\testApp\nucleus.json.2685848482' -> 'C:\Users\Piyush\AppData\Roaming\testApp\nucleus.json'
    at Object.renameSync (fs.js:643:3)
    at Function.writeFileSync [as sync] (C:\Users\Piyush\AppData\Local\testApp\app-1.0.7\resources\app\.webpack\main\index.js:67678:8)
    at Conf._write (C:\Users\Piyush\AppData\Local\testApp\app-1.0.7\resources\app\.webpack\main\index.js:37307:21)
    at Conf.set store [as store] (C:\Users\Piyush\AppData\Local\testApp\app-1.0.7\resources\app\.webpack\main\index.js:37588:8)
    at Conf.set (C:\Users\Piyush\AppData\Local\testApp\app-1.0.7\resources\app\.webpack\main\index.js:37466:14)
    at Timeout.reportData [as _onTimeout] (C:\Users\Piyush\AppData\Local\testApp\app-1.0.7\resources\app\.webpack\main\index.js:65787:8)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
@mtriff
Copy link
Contributor

mtriff commented Nov 18, 2020

Also receiving these errors, likely due to the old version of the conf dependency. A version bump to the latest should fix this, as per this pull request (and the discussion on the issue it links).

@vincelwt
Copy link
Contributor

Hello! Thanks for reporting :)
As @mtriff said, I updated the conf dependency to 7.1. That should fix it.
The latest version 3.0.7 with the fix is now on npm, a simple npm update should work.

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

No branches or pull requests

3 participants