ethereum / remix-desktop

Remix IDE desktop
1.02k stars 266 forks source link

Error on remix desktop v1.3.0 - Compiled and published with bad imports #69

Open ramadl opened 3 years ago

ramadl commented 3 years ago

Source code of remix desktop v1.3.0 is using import instead of require, this is causing remix error on open. The master branch it's ok and the published app is not.

Uncaught Exception: /Applications/Remix IDE.app/Contents/Resources/app/main.js:1 import * as fs from 'fs-extra' ^

SyntaxError: Unexpected token * at Module._compile (internal/modules/cjs/loader.js:722:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Object. (/Applications/Remix IDE.app/Contents/Resources/electron.asar/browser/init.js:181:12) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Function.Module.runMain (internal/modules/cjs/loader.js:850:10)

yann300 commented 2 years ago

sorry for the very late answer, how did you install remix?