Skip to content

app crashes with TypeError: undefined is not an object (evaluating 'this._selectors.query') matchSelectors — style-scope.js:491 #46

@noomieware

Description

@noomieware

Hi,

my project, which was working before, I now get an error when nativescript-dev-sass is installed as plugin.


TypeError: undefined is not an object (evaluating 'this._selectors.query')
matchSelectors — style-scope.js:491
updateMatch — style-scope.js:258:84
onLoaded — style-scope.js:249
onLoaded — view-base.js:183
_addViewCore — view-base.js:344
_addViewCore — view.js:23
_addView — view-base.js:330
set — content-view.js:23
addToVisualTree — view-util.js:76
insertChild — view-util.js:41
appendChild — renderer.js:73
appendChild — services.ts:943
createElement — element.ts:196
createViewNodes — view.ts:307
callViewAction — view.ts:782
execComponentViewsAction — view.ts:700
createViewNodes — view.ts:369
createRootView — view.ts:225
callWithDebugContext — services.ts:815
create — refs.ts:130
bootstrap — application_ref.ts:661
forEach
_moduleDoBootstrap — application_ref.ts:411
file:///app/tns_modules/
onInvoke — ng_zone.ts:296
run — zone-nativescript.js:125
(anonymous function) — zone-nativescript.js:760
onInvokeTask — ng_zone.ts:288
runTask — zone-nativescript.js:165
drainMicroTaskQueue — zone-nativescript.js:593
promiseReactionJob
require
cubicBezier — enums.js:178
parseCubicBezierCurve — converters.js:34
animationTimingFunctionConverter — converters.js:21
keyframesArrayFromCSS — css-animation-parser.js:73:87
_applyKeyframesOnSelectors — style-scope.js:515
_createSelectors — style-scope.js:485
ensureSelectors — style-scope.js:470
matchSelectors — style-scope.js:490
updateMatch — style-scope.js:258:84
onLoaded — style-scope.js:249
onLoaded — view-base.js:183
onLoaded — page.js:262
_addViewCore — view-base.js:344
_addViewCore — view.js:23
_addView — view-base.js:330
viewWillAppear — page.js:134
UIApplicationMain
start — application.js:213
bootstrapApp — platform-common.js:84
bootstrapModule — platform-common.js:72
anonymous — main.ts:33
evaluate
moduleEvaluation
[native code]
promiseReactionJob

When I remove the plugin, the app starts, but ofc no styling, as css files are not generated.

This behavior started after a crash of LiveSync, but I dont think that is a hint, as if I completely rebuild the app from git, it behaves the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions