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

blocks_compressed.js generated by Gulp has bugs #3518

Closed
alienzhangyw opened this issue Dec 14, 2019 · 1 comment
Closed

blocks_compressed.js generated by Gulp has bugs #3518

alienzhangyw opened this issue Dec 14, 2019 · 1 comment
Assignees
Labels
component: build process issue: bug Describes why the code or behaviour is wrong

Comments

@alienzhangyw
Copy link

alienzhangyw commented Dec 14, 2019

Describe the bug

The blocks_compressed.js generated by Gulp has a few differences to the one in the original release. When I use it to open demos (eg. code demo), all the blocks which have extensions or mutators are not loaded, and I get errors on the browser console.

To Reproduce

Steps to reproduce the behavior:

  1. npm install
  2. npm run build
  3. Open the code demo
  4. See error

Expected behavior

The compressed files generated by Gulp work fine as the original ones.

Screenshots

批注 2019-12-14 153142
批注 2019-12-14 153143

Desktop (please complete the following information):

  • OS: windows10 1909
  • Browser Edge/Chrome
  • Version Edge 18/Chrome 78

Stack Traces

SCRIPT445: SCRIPT445: Object doesn't support this action
blockly_compressed.js (230,495)

40: Object doesn't support this action
blockly_compressed.js (229,494)

70: Unable to get property 'length' of undefined or null reference
blocks_compressed.js (92,369).
@alienzhangyw alienzhangyw added issue: triage Issues awaiting triage by a Blockly team member issue: bug Describes why the code or behaviour is wrong labels Dec 14, 2019
@alienzhangyw
Copy link
Author

alienzhangyw commented Dec 14, 2019

I'm going to make some new blocks, but I can't use build.py in China due to the network issue. So I tried to test build with gulp. Files were built but got errors in use.

@RoboErikG RoboErikG added component: build process and removed issue: triage Issues awaiting triage by a Blockly team member labels Dec 14, 2019
@RoboErikG RoboErikG added this to the 2019_q4_release milestone Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: build process issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

No branches or pull requests

3 participants