Sencha Themer "Cannot read property 'isUniversal' of null - extjs

Sencha Themer
v1.3.9.197
Running on Mac
I get this error trying to open a theme:
TypeError: Cannot read property 'isUniversal' of null
at themes.concat.filter.t (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/sencha-json/Workspace.js:150:60)
at Array.filter (native)
at NpmWorkspace._findTheme (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/sencha-json/Workspace.js:150:47)
at Theme.getBaseTheme (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/sencha-json/Package.js:120:51)
at Theme.get baseTheme [as baseTheme] (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/sencha-json/Package.js:84:46)
at Theme._ensureDefaultsInSassPath (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/Theme.js:263:35)
at Theme.migrate (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/Theme.js:99:14)
at Promise (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/ThemeUtil.js:280:19)
at ThemeUtil.openTheme (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/app.asar/themer/lib/ThemeUtil.js:274:16)
at callFunction (/Applications/Sencha/Themer/Sencha Themer.app/Contents/Resources/electron.asar/browser/rpc-server.js:251:18)

Related

Jest _stackUtils.default is not a constructor error in react native

Getting this error while trying to run jest test in react native.
FAIL src/utils/utils.test.ts
● Test suite failed to run
TypeError: _stackUtils.default is not a constructor
at Object.<anonymous> (node_modules/jest-message-util/build/index.js:72:20)
at Object.<anonymous> (node_modules/expect/build/toThrowMatchers.js:9:24)
at Object.<anonymous> (node_modules/expect/build/index.js:23:48)
at _expect (node_modules/#jest/expect/build/index.js:8:16)
at createJestExpect (node_modules/#jest/expect/build/index.js:29:3)
at Object.<anonymous> (node_modules/#jest/expect/build/index.js:39:20)
at tryCatch (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:72:17)
at Generator._invoke (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:55:24)
at Generator.next (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:97:21)
at tryCatch (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:72:17)
at invoke (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:103:20)
at node_modules/#babel/runtime/helpers/regeneratorRuntime.js:123:11
at callInvokeWithMethodAndArg (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:122:16)
at AsyncIterator._invoke (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:126:129)
at AsyncIterator.next (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:97:21)
at Object.exports.async (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:198:63)
at tryCatch (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:72:17)
at Generator._invoke (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:55:24)
at Generator.next (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:97:21)
at tryCatch (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:72:17)
at invoke (node_modules/#babel/runtime/helpers/regeneratorRuntime.js:103:20)
at node_modules/#babel/runtime/helpers/regeneratorRuntime.js:108:11

ReferenceError: io3d is not defined at react npm project

I tried to load scene data into aframe, then below error was showed up
3dio.js:13140 Uncaught (in promise) ReferenceError: io3d is not defined
at NewComponent.update (3dio.js:13140)
at NewComponent.updateProperties (aframe-master.js:73663)
at HTMLElement.value (aframe-master.js:72467)
at doUpdateComponent (aframe-master.js:72441)
at Array.forEach (<anonymous>)
at HTMLElement.value (aframe-master.js:72423)
at entityLoadCallback (aframe-master.js:72234)
at emitLoaded (aframe-master.js:73071)
at <anonymous>
"dependencies": {
"3dio": "^1.1.1",
"aframe": "^0.6.0",
"aframe-animation-component": "^3.2.5",
}
IO3D is working at global variable, io3d is not defined.
To use 3dio-js in an ES6 module you can import it like
import io3d from '3dio'

TypeError: Cannot read property 'length' of undefined in React Enzyme Testing

I m testing some react components, a basic tests suite just to know if a component is rendering and their child's.
1) Test suite Stepper Stepper:
**TypeError: Cannot read property 'length' of undefined**
at Stepper.render (D:/SAPADS/build/operation/common/stepper/Stepper.jsx:7:18)
at D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:796:21
at measureLifeCyclePerf (D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:75:12)
at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:795:25)
at ReactCompositeComponentWrapper._renderValidatedComponent (D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:822:32)
at ReactCompositeComponentWrapper.performInitialMount (D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:362:30)
at ReactCompositeComponentWrapper.mountComponent (D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:258:21)
at Object.mountComponent (D:\SAPADS\build\node_modules\react-dom\lib\ReactReconciler.js:46:35)
at ReactCompositeComponentWrapper.performInitialMount (D:\SAPADS\build\node_modules\react-dom\lib\ReactCompositeComponent.js:371:34)
Getting error while running test case using Enzyme +Mocha.Pls help me out with this.

datalist TypeError: Cannot read property 'replaceChild' of null

On a react project I'm getting :
DOMLazyTree.js:70 Uncaught (in promise) TypeError: Cannot read property 'replaceChild' of null
at Function.replaceChildWithTree (DOMLazyTree.js:70)
at Object.dangerouslyReplaceNodeWithMarkup (Danger.js:42)
at Object.dangerouslyReplaceNodeWithMarkup [as replaceNodeWithMarkup] (DOMChildrenOperations.js:122)
at ReactCompositeComponentWrapper._replaceNodeWithMarkup (ReactCompositeComponent.js:781)
at ReactCompositeComponentWrapper._updateRenderedComponent (ReactCompositeComponent.js:771)
at ReactCompositeComponentWrapper._performComponentUpdate (ReactCompositeComponent.js:721)
at ReactCompositeComponentWrapper.updateComponent (ReactCompositeComponent.js:642)
at ReactCompositeComponentWrapper.receiveComponent (ReactCompositeComponent.js:544)
at Object.receiveComponent (ReactReconciler.js:126)
at ReactCompositeComponentWrapper._updateRenderedComponent (ReactCompositeComponent.js:751)
When I try to load a page to which i added a datalist
Any clue where to start looking ?
If using redux-thunk, ensure that the error is not swallowed by a promise.
We had a similar problem where calling dispatch synchronously called our reducers, and React synchronously rerendered. In our render, an error was raise when passing children to an <input /> which bubbled up in our thunk.
In other words, the real error message was displayed with the actions in the console.

"renderTo" breaks the execution

I want to render a toolbar on top of page when the application initiates.
Running the following in viewport.js works when ext-all-dev.js is included in the page. but when I use ext-dev.js instead, it throw the exception.Uncaught TypeError: undefined is not a function
Ext.create("Ext.toolbar.Toolbar", {
renderTo: document.body,
defaultType: 'button',
items: [{text: 'foo'}]
});
What is wrong with it? Also running above code in console works with both ext-dev.js and ext-all-dev.js files. The exception stack is:
Uncaught TypeError: undefined is not a function AbstractComponent.js?_dc=1398852700374:170
Ext.define.statics.updateLayout AbstractComponent.js?_dc=1398852700374:170
Ext.define.updateLayout AbstractComponent.js?_dc=1398852700374:3319
Ext.define.afterRender Renderable.js?_dc=1398852701043:195
Base.implement.callParent ext-debug.js:4266
Ext.define.afterRender Component.js?_dc=1398852699982:435
Ext.define.finishRender Renderable.js?_dc=1398852701043:458
Ext.define.render Renderable.js?_dc=1398852701043:784
Ext.define.constructor AbstractComponent.js?_dc=1398852700374:1231
Base.implement.callParent ext-debug.js:4266
Ext.define.constructor Component.js?_dc=1398852699982:377
constructor ext-debug.js:4897
(anonymous function) VM11066:3
Ext.ClassManager.instantiate ext-debug.js:5485
(anonymous function) ext-debug.js:2112
(anonymous function) Viewport.js?_dc=1398852703350:51

Resources