Closed LALauw closed 1 year ago
+1
I have the same issue on the desktop version(( only white screen
Same for new, either latest for penultimate versions. :(. No error, but empty blank screen.
FIX
on changing the fetch url in loader the issue can be fixed
change the url to
"https://remix.ethereum.org/assets/version.json"
or paste this function in the console
OR
fetch('https://remix.ethereum.org/assets/version.json', { cache: "no-store" }).then(response => {
response.text().then(function (data) {
const version = JSON.parse(data);
console.log(`Loading Remix ${version.version}`);
createScriptTag(`polyfills.${version.version}.${version.timestamp}.js`, 'module');
if (version.mode === 'development') {
createScriptTag(`vendor.${version.version}.${version.timestamp}.js`, 'module');
createScriptTag(`runtime.${version.version}.${version.timestamp}.js`, 'module');
}
createScriptTag(`main.${version.version}.${version.timestamp}.js`, 'text/javascript');
});
});
This should fulfill the promise and open up the IDE
@C-m3-Codin
or paste this function in the console...
causes errors.
Use instead:
fetch('https://remix.ethereum.org/assets/version.json', { cache: "no-store" }).then(response => {
response.text().then(function (data) {
const version = JSON.parse(data);
console.log(`Loading Remix ${version.version}`);
createScriptTag(`polyfills.${version.version}.${version.timestamp}.js`, 'module');
if (version.mode === 'development') {
createScriptTag(`vendor.${version.version}.${version.timestamp}.js`, 'module');
createScriptTag(`runtime.${version.version}.${version.timestamp}.js`, 'module');
}
createScriptTag(`main.${version.version}.${version.timestamp}.js`, 'text/javascript');
});
});
@C-m3-Codin
或将此功能粘贴到控制台中...
导致错误。
改用:
获取('https://remix.ethereum.org/assets/version.json' , { 缓存:“no-store” } )。then ( response = > { response.text ( ) . then ( function ( data ) { const version = JSON.parse ( data ) ; console.log ( ` Loading Remix $ { version.version } ` _ _ _ _ ) ; createScriptTag ( `polyfills. $ { version.version } . $ { version.timestamp } .js` , ' module ' ) ; if ( version .mode === 'development' ) { createScriptTag ( `vendor . $ { version.version } . $ { version.timestamp } .js` , ' module ' ) ; createScriptTag ( `runtime. $ { version.version } . $ { version.timestamp } .js` , ' module ' ) ; } createScriptTag (`main. $ { version.version } . $ { version.timestamp } .js` , ' text /javascript' ); } ) ; } ) ;
It's still useless
Pls tell me where is the loader.js file. I only found Remix IDE\resources\app\node_modules\js-yaml\lib\js-yaml\loader.js
Ctrl+Sift+I
paste it into console: where put " ' " sign beside options looks like this Loading Remix ${version.version}
fetch('https://remix.ethereum.org/assets/version.json', { cache: "no-store" }).then(response => {
response.text().then(function (data) {
const version = JSON.parse(data);
console.log(Loading Remix ${version.version}
);
createScriptTag(polyfills.${version.version}.${version.timestamp}.js
, 'module');
if (version.mode === 'development') {
createScriptTag(vendor.${version.version}.${version.timestamp}.js
, 'module');
createScriptTag(runtime.${version.version}.${version.timestamp}.js
, 'module');
}
createScriptTag(main.${version.version}.${version.timestamp}.js
, 'text/javascript');
});
});
fetch('assets/version.json', { cache: "no-store" }).then(response => {
response.text().then(function (data) {
const version = JSON.parse(data);
console.log(Loading Remix ${version.version}
);
createScriptTag(polyfills.${version.version}.${version.timestamp}.js
, 'module');
if (version.mode === 'development') {
createScriptTag(vendor.${version.version}.${version.timestamp}.js
, 'module');
createScriptTag(runtime.${version.version}.${version.timestamp}.js
, 'module');
}
createScriptTag(main.${version.version}.${version.timestamp}.js
, 'text/javascript');
});
});
@C-m3-Codin
or paste this function in the console...
causes errors.
Use instead:
fetch('https://remix.ethereum.org/assets/version.json', { cache: "no-store" }).then(response => { response.text().then(function (data) { const version = JSON.parse(data); console.log(`Loading Remix ${version.version}`); createScriptTag(`polyfills.${version.version}.${version.timestamp}.js`, 'module'); if (version.mode === 'development') { createScriptTag(`vendor.${version.version}.${version.timestamp}.js`, 'module'); createScriptTag(`runtime.${version.version}.${version.timestamp}.js`, 'module'); } createScriptTag(`main.${version.version}.${version.timestamp}.js`, 'text/javascript'); }); });
This worked perfectly for me, thanks!
Loading Remix ${version.version}
hello bro Have you solved it?
fetch('https://remix.ethereum.org/assets/version.json', { cache: "no-store" }).then(response => {
response.text().then(function (data) {
const version = JSON.parse(data);
console.log(`Loading Remix ${version.version}`);
createScriptTag(`polyfills.${version.version}.${version.timestamp}.js`, 'module');
if (version.mode === 'development') {
createScriptTag(`vendor.${version.version}.${version.timestamp}.js`, 'module');
createScriptTag(`runtime.${version.version}.${version.timestamp}.js`, 'module');
}
createScriptTag(`main.${version.version}.${version.timestamp}.js`, 'text/javascript');
});
});
press CTRL+SHIFT+I to open console Just past this in the console
zsh: parse error near `}' then i try to run this command on mac terminal
not terminal open console from Remix IDE for MAC open Remix COMMAND + OPTIONS + i select console paste the code.
Not in the sources select the
Desktop.2022.04.17.-.22.07.28.04.DVR.mp4 Why can't mine?
Not in the sources select the console tab and do the same .
Not in the sources select the
Desktop.2022.04.17.-.22.07.28.04.DVR.mp4 Why can't mine?
Not in the sources select the console tab and do the same .
hello Where is that?
thank you
Finally ok
Nope, tried all these. RIP.
Running an intel Mac, no solutions here work either
Same issue. Awaiting Devs. Seems that new version of Chrome broke something for Remix.
I wrote a temporary solution in another thread. I hope it helps
let createScriptTag = function(url, type) { var script = document.createElement('script'); script.src = url; script.type = type; document.getElementsByTagName('head')[0].appendChild(script); }
let type = 'text/javascript' let files = [ 'https://remix.ethereum.org/vendors~app.0.23.1.1650320458854.js', 'https://remix.ethereum.org/app.0.23.1.1650320458854.js', 'https://remix.ethereum.org/polyfills.0.23.1.1650320458854.js', 'https://remix.ethereum.org/main.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-abi-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-abstract-provider-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-abstract-signer-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-address-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-base64-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-basex-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-bignumber-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-bytes-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-constants-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-contracts-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-hash-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-hdnode-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-json-wallets-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-keccak256-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-logger-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-networks-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-pbkdf2-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-properties-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-providers-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-random-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-rlp-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-sha2-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-signing-key-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-solidity-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-strings-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-transactions-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-units-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-wallet-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-web-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!-ethersproject-wordlists-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!ethers-lib-ethers-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!ethers-lib-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-bzz-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-core-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-eth-personal-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-eth-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-net-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-shh-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-types-index-d-ts.0.23.1.1650320458854.js', 'https://remix.ethereum.org/raw-loader!web3-utils-types-index-d-ts.0.23.1.1650320458854.js' ]
files.forEach(f => createScriptTag(f, type))
I wrote a temporary solution in another thread. I hope it helps
let createScriptTag = function(url, type) { var script = document.createElement('script'); script.src = url; script.type = type; document.getElementsByTagName('head')[0].appendChild(script); }
......
This helped to me! Thanks a lot!
Looks like it was some server-sided script misconfiguration. This issue has been fixed for me naturally, so I guess the problem is resolved? Can anyone else verify the fix?
Looks like it was some server-sided script misconfiguration. This issue has been fixed for me naturally, so I guess the problem is resolved? Can anyone else verify the fix?
On macos seems fixed
I was helped by installing the previous version, on which everything worked. Then I updated to the latest version.
The latest release should fix that: https://github.com/ethereum/remix-desktop/releases please reopen if the issue is still persisting
I can't open Remix IDE on my desktop anymore. All I get is a white screen upon launch and in the dev tools it shows this error:![image](https://user-images.githubusercontent.com/32265116/163575355-2ff72b36-0c36-41ed-a61a-3859805201a3.png)
I downgraded to 1.3.2 but same issue when on 1.3.3![image](https://user-images.githubusercontent.com/32265116/163575403-7364a62f-3337-41c1-aacf-d9d2ad425355.png)