Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:19:21+00:00 2026-05-27T23:19:21+00:00

I have this code in app.js : var login = Ti.UI.createWindow({ url: ‘controllers/loginController.js’ });

  • 0

I have this code in app.js:

var login = Ti.UI.createWindow({
    url: 'controllers/loginController.js'
});

login.open();

In the Titanium documentation, it says this about the url property:

Windows can be loaded from another JavaScript file by specifying the
property url, referencing a file relative to your application
Resources folder.

My controllers folder is inside the Resourcesfolder. I doublechecked :)!

I was following the steps here:

http://blog.scottmontgomerie.com/01/mvc-in-appcelerator/

In his example project, he does the same.

However, I always get the following error message:

[ERROR] error loading path: /Users/mobiel/Library/Application Support/iPhone

Simulator/5.0/Applications/3DD8FFEF-4DD7-437E-8AE5-6851750FA0F8/teamTaskManager.app/Resources/controllers/loginController.js,
Error Domain=NSCocoaErrorDomain Code=260 “The operation couldn’t be
completed. (Cocoa error 260.)” UserInfo=0xa385b60
{NSFilePath=/Users/mobiel/Library/Application Support/iPhone
Simulator/5.0/Applications/3DD8FFEF-4DD7-437E-8AE5-6851750FA0F8/teamTaskManager.app/Resources/controllers/loginController.js,
NSUnderlyingError=0xa385aa0 “The operation couldn’t be completed. No
such file or directory”}

Any idea? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:19:22+00:00Added an answer on May 27, 2026 at 11:19 pm

    I fixed this by deleting the build folder from my project directory and re-building the project.

    😐

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have this code in a google app engine template: <select name='voter'> {%
I'm a newbie to python and the app engine. I have this code that
I am creating a rails app and have used this code in one of
I found this PHP code in an app I have to modify... $links =
This is my current scenario: I have checked in my grails app code +
I have some code like this in a winforms app I was writing to
I have this code: using ( var site = new SPSite( myUrl ) )
I have some questions regarding login and sessions. I have this code: The db
Say i have this code to separate routes in expressjs: module.exports = function(express,app,client) {
I have this code but its gets me an error in whichever Resource.id.... /Login

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.