Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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

wants to merge 2 commits into from

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