'NativeScript encountered a fatal error: ReferenceError: Can't find variable: window - nativescript

I'm working on my own demo repo to test ThreeJS in NativeScript, and stuck that trivial error I can not figure it out where is the issue - repo: https://github.com/sylwesterdigital/nativescript-threejs-demo
*** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: ReferenceError: Can't find variable: window
at
init(file: app/home/home-page.ts:206:19)
at myWorld(file: app/home/home-page.ts:190:8)
at canvasLoaded(file: app/home/home-page.ts:141:10)

Related

I get this error randomly (node:332) UnhandledPromiseRejectionWarning: Error: Cannot find module '#cypress/request-promise' in e2e pipelines

Occasionally I get this error in pipeline
(node:332) UnhandledPromiseRejectionWarning: Error: Cannot find module '#cypress/request-promise'
I cannot tell which module(s) depend on #cypress/request-promise

Google Play Console: An unexpected error has occurred. Please try again. (7C089B92)

When I click the Start roll-out to Alpha, I get this error:
An unexpected error has occurred. Please try again. (7C089B92)]1
image

Sencha app getting failed because of Failed creating background process and error occured

Sencha app getting failed because of Failed creating background process and error occured.
My app was getting failed then on StackOverflow I found some answer which is all about change ruby. I tried couple of ruby versions but didn't get any luck with that.
I have ruby 2.2.2 installed and I am trying to build my app. I am getting following error. This is very annoying.
** This Failed after change ruby, and I change ruby because of the next error**
BUILD FAILED [ERR] com.sencha.exceptions.ExProcess: Failed
creating background process [ERR] java.io.IOException: Cannot run
program "ruby" (in directory
"C:\User\MasterBuild\trunk\1\1\1\1\AppName\build\temp\production\AppName\sass"):
CreateProcess error=2, The system cannot find the file specified
And these are the actual error.
[ERR] The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\build-impl.xml:284:
The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\sass-impl.xml:155:
The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\sass-impl.xml:176:
com.sencha.exceptions.ExProcess: Failed creating background process
Can anyone please give some suggestion how to fix that. Thanks for all help.

Mocha error in Karma: Uncaught TypeError: Cannot read property 'replace' of undefined

My karma tests were working fine and now I'm getting this weird error:
Uncaught TypeError: Cannot read property 'replace' of undefined
Any ideas?
Restarting all karma sessions fixed this.

how do i solve dompdf error?

I am using dopdf for my reports and on one of the reports it gives me this error:
Fatal error: Call to undefined method
Inline_Frame_Decorator::normalise() in
C:\xampp\htdocs\sraerca\system\helpers\dompdf\include\table_frame_decorator.cls.php
on line 252
But works fine with other reports.

Resources