Updater and Package Manager broken
Thanks in advance for your bug report!
- [X] Have you reproduced issue in safe mode?
- [X] Have you used the debugging guide to try to resolve the issue?
- [X] Have you checked our FAQs to make sure your question isn't answered there?
- [X] Have you checked to make sure your issue does not already exist?
- [X] Have you checked you are on the latest release of Pulsar?
What happened?
`Fetching local packages failed.Hide output… P:\Utilities\Pulsar Editor\resources\app\ppm\node_modules\socks-proxy-agent\dist\agent.js:114 class SocksProxyAgent extends agent_base_1.Agent { ^
TypeError: Class extends value undefined is not a constructor or null
at Object.
`Fetching outdated packages and themes failed.Hide output… P:\Utilities\Pulsar Editor\resources\app\ppm\node_modules\socks-proxy-agent\dist\agent.js:114 class SocksProxyAgent extends agent_base_1.Agent { ^
TypeError: Class extends value undefined is not a constructor or null
at Object.
Pulsar version
1.112.1
Which OS does this happen on?
🪟 Windows
OS details
11
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
Update to 1.112.1 Launch Pulsar
Additional Information:
No response
Not sure what the issue was but I started installing older versions. At one point decided to remove the old files and start a fresh install as the problem was constantly happening. After doing so v1.112.1 worked fine. So leaving the older version's files in place was the cause for this issue.
I think we'll probably keep this issue open because, at very least, the logging should be more helpful here. Hopefully the stack trace is enough for us to piece together roughly what went wrong. Thanks for the report!
I think we'll probably keep this issue open because, at very least, the logging should be more helpful here. Hopefully the stack trace is enough for us to piece together roughly what went wrong. Thanks for the report!
Yea that's why I didn't close the issue when reporting the fix.
@Shinrai I'm curious about which older files you removed.
Was it anything in your .pulsar folder? Or where there other files you kept around, I'm wondering if this was some proxy config that was attempting to be used that was either invalid, or otherwise something is broken in PPM's current proxy setup
@Shinrai I'm curious about which older files you removed. Was it anything in your
.pulsarfolder? Or where there other files you kept around, I'm wondering if this was some proxy config that was attempting to be used that was either invalid, or otherwise something is broken in PPM's current proxy setup
I only removed the files inside the install directory. All my app data was left alone.
So looking further into this issue, I was able to find the same error being reported on one of the dependencies used in ppm here.
Which this was only used in PPM after 1.112.0 when PPM switched from request to superagent. So I'm assuming this popped up due to some old files within PPM, possibly not having the right dependencies or something, it's hard to say.