Closed shane-lab closed 4 years ago
The new minor release (v1.2.1) caused the helper functions under goog to be missing.
goog
Expected:
import * as Blockly from 'node-blockly/browser'; Blockly.goog.require('Blockly.utils');
Actual:
import * as Blockly from 'node-blockly/browser'; Blockly.goog.require('Blockly.utils'); // TypeError: Cannot read property 'provide' of **undefined**
Ref: issue #36
Please use
import * as Blockly from 'node-blockly/browser'; const utils = Blockly.utils
For example
Blockly.utils.genUid() // @9Znk4:7EZ7-*bO~~+w^
The new minor release (v1.2.1) caused the helper functions under
goog
to be missing.Expected:
Actual:
Ref: issue #36