ethereum / remix-desktop

Remix IDE desktop
1.03k stars 265 forks source link

Javascript error on Remix IDE startup #147

Open aaetera opened 1 year ago

aaetera commented 1 year ago

After installing Remix IDE release Remix-IDE-Setup-1.3.4.exe I'm facing this issue image

I run installer as Administrator and installed for all users. Had this issue also on 1.3.3 version, it might be a problem with my env - please guide me on how to solve it.

rharkor commented 1 year ago

Same for me

VBS50 commented 1 year ago

I have such a problem. Help me please!!!

yann300 commented 1 year ago

The latest release should fix that: https://github.com/ethereum/remix-desktop/releases please reopen if the issue is still persisting

aaetera commented 1 year ago

image Installed latest release (v1.3.5), still have Javascript error, but triggered in different file. I'm sure, that it's caused by my environment, but can't understand why. :(

aaetera commented 1 year ago

The latest release should fix that: https://github.com/ethereum/remix-desktop/releases please reopen if the issue is still persisting

I also can't reopen issue if contributor closed it :)

yann300 commented 1 year ago

could you describe which version of windows you are using?

aaetera commented 1 year ago

Windows 10 Pro, 21H2 Also have Git Bash, Node v16.14.2 installed. Hope, other apps can't influence workflow of Remix IDE

yann300 commented 1 year ago

the error happens in https://github.com/sindresorhus/windows-release/blob/main/index.js#L42 . it looks like this module doesn't support Windows 10 Pro. I'd say you could try running the powershell command from the link above and see what's the underlying error. Feel free to share the error you see.

aaetera commented 1 year ago

Seems like powershell output is in Unicode, maybe you should change Powershell language temporarily, while u need it ? https://www.anycodings.com/1questions/2636501/temporarily-change-powershell-language-to-english

Cause I can't find the way to change powershell output language globally, for all sessions

yann300 commented 1 year ago

This is not needed by us directly but by one of the dep we are using: windows-release. I created an issue in the windows-release repo https://github.com/sindresorhus/windows-release/issues/27

sicwolf commented 1 year ago

below two steps can resolve this issue.

  1. add path environment varible for powershell "%SystemRoot%/system32/WindowsPowerShell/v1.0"
  2. run powershell as admin, execute "Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force" in powershell.
aaetera commented 1 year ago
  1. add path environment varible for powershell "%SystemRoot%/system32/WindowsPowerShell/v1.0"

How to name it ?

cbartondock commented 1 year ago

I have a user who is seeing something similar (I tracked the error to this module).

image