Closed Orlandoech closed 2 years ago
Any word on this issue? Is this plugin no longer being supported, because this bug is a critical error.
same issue
I know nothing about javascript and electron. I followed what the developer suggested and changed
win.loadURL(`${this._apiUrl}/authentication/app`)
in .atom\packages\atom-package-sync\lib\quantal-api.js to
win.loadURL(`${this._apiUrl}/authentication/app`, {userAgent: 'Chrome'})
, but it didn't work. Then I looked up userAgent in here and changed the line to
win.loadURL(`${this._apiUrl}/authentication/app`, {userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'})
and it worked. The userAgent may differ on your computer. I hope this helps.
yeah, the same problem, google suggest developers use another way, and they have a tutorial about it./
I know nothing about javascript and electron. I followed what the developer suggested and changed
win.loadURL(`${this._apiUrl}/authentication/app`)
in .atom\packages\atom-package-sync\lib\quantal-api.js to
win.loadURL(`${this._apiUrl}/authentication/app`, {userAgent: 'Chrome'})
, but it didn't work. Then I looked up userAgent in here and changed the line to
win.loadURL(`${this._apiUrl}/authentication/app`, {userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'})
and it worked. The userAgent may differ on your computer. I hope this helps.
This worked for me too. You should grab your browser's user agent from https://www.whatismybrowser.com/guides/the-latest-user-agent and add it to the line Ethan updated.
Sorry, due to the increase in popularity of alternative open source IDEs such as VSCode, atom-package-sync has been deprecated.
Adding lines to .atom\packages\atom-package-sync\lib\quantal-api.js
'disable-web-security': true, 'allowRunningInsecureContent': true 'allow-Running-Insecure-Content': true
DO NOT resolve the issue. Please advise asap.