oseppBlock icon indicating copy to clipboard operation
oseppBlock copied to clipboard

No "compile / upload" button on windows

Open mrninhvn opened this issue 5 years ago • 6 comments

image

Rebuild Complete but block doesn't display.

mrninhvn avatar May 29 '20 13:05 mrninhvn

Hello, There is no "compile / upload" button, which means that the nodejs module failed to load. Please confirm whether you executed ./node_modules/.bin/electron-rebuild -f To compile the nodejs module for electron I assume that you use the windows system, then you can open the Developer Tools through the shortcut key [ ctrl+ shift + i ] to further see what is wrong. (or press the [alt] key, a menu will appear at the top, select View-> Toggle Developer Tools) In addition, if you just want to use the software, download a pre-compiled version is a better choice.

Best Regards, OSEPP team

zhsvector avatar May 29 '20 17:05 zhsvector

Thank you @zhsvector image Rebuild OK for me. image This is my error, can you hekp me, thank you again.

mrninhvn avatar May 29 '20 17:05 mrninhvn

@zhsvector I use Closure Library v20200112 image

mrninhvn avatar May 29 '20 17:05 mrninhvn

Yes, this is caused by the Closure Library. They moved this function out of the closure-library. https://github.com/google/closure-library/commit/9325ce1bbebcfe8c7aa54f8342959c73a1762a77 So we need to remove it from the scratch-block, or use the older closure-library.

zhsvector avatar May 29 '20 18:05 zhsvector

@zhsvector Thank you for your support. image There is no "compile / upload" button, what version of Closure Library are you using?

mrninhvn avatar May 30 '20 05:05 mrninhvn

I repeated the rebuild steps in a brand new linux system, using closure-library-20191027. This problem is not reproduced. I suggest you set a breakpoint and trace on line 293 of serial.js to further find out what went wrong. another suggestion is to delete the node_modules directory and execute npm install && ./node_modules/.bin/electron-rebuild -f again

zhsvector avatar May 31 '20 06:05 zhsvector