Skip to content

Fix error path require "ui/frame" in IOS#8

Open
brunoviso wants to merge 2 commits intoVideoSpike:masterfrom
brunoviso:master
Open

Fix error path require "ui/frame" in IOS#8
brunoviso wants to merge 2 commits intoVideoSpike:masterfrom
brunoviso:master

Conversation

@brunoviso
Copy link

@brunoviso brunoviso commented May 16, 2019

ERROR:
NativeScript encountered a fatal error: TypeError: undefined is not an object (evaluating 'frameModule.topmost().ios')

I needed to change the screen-orientation.ios.js file.

Where it is written:
var frameModule = require ("ui/frame");

I updated to:
var frameModule = require ("tns-core-modules/ui/frame");

After this update worked correctly.

brunoviso added 2 commits May 16, 2019 13:51
Fix to update path require "ui/frame"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant