Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: A JavaScript error occurred in the main process #1600

Open
nahalstead opened this issue Aug 5, 2024 · 2 comments
Open

[Bug]: A JavaScript error occurred in the main process #1600

nahalstead opened this issue Aug 5, 2024 · 2 comments

Comments

@nahalstead
Copy link

Operating system

Windows 10 Home - Version 22H2

Publii version

0.45.2

Post editor

WYSIWYG editor

Bug description

Every time I try to sync I receive the following error:
publii-error-1

The dialogue appears then I click "OK" and it appears again. And then I receive the following error:

publii-error-2

I've tried uninstalling and reinstalling Publii. I've updated npm to the latest version. Still get the error 99% of the time I click "Sync your website".

Note: this is only occurring on this computer running Windows 10. I have Publii installed on another machine running Windows 11 and I have no problems syncing any websites.

Error log files are empty. (Always have been for me and I don't know why.)

Steps to reproduce

Install Publii 0.45.2
Setup server to run on Netlify
Click "Sync your website"

Relevant log output

No response

@nahalstead
Copy link
Author

nahalstead commented Aug 22, 2024

Since installing Version: 0.46.0 (build 16908) on my Windows 11 machine the same error is now occurring on there as well.

Any updates / insights on this? @bobmitro @dziudek

I also forgot to mention in my original post that I'm using Dropbox for my Publii Sites folder, but I've not had any problems with this for the many years I've been using Publii.

@dziudek
Copy link
Collaborator

dziudek commented Aug 22, 2024

@nahalstead - I have added two changes which can potentially remove the JS error - it will be available in v.0.461. planned for tomorrow

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

No branches or pull requests

2 participants