Skip to content
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

Error when running tripple #90

Open
cchamnab opened this issue Nov 11, 2014 · 5 comments
Open

Error when running tripple #90

cchamnab opened this issue Nov 11, 2014 · 5 comments
Milestone

Comments

@cchamnab
Copy link

i don't know what happen..when i'm trying to run command triple , it show error like this :

var cacheFile = path.join(sdk.path,'triple.cache
');
^
TypeError: Cannot read property 'path' of undefined
at C:\Users\Carl\AppData\Roaming\npm\node_modules\triple\lib\triple.js:78:34

at C:\Users\Carl\AppData\Roaming\npm\node_modules\triple\lib\titanium.js:45:

21
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

@tonylukasavage tonylukasavage added this to the 0.4.0 milestone Nov 12, 2014
@tonylukasavage
Copy link
Owner

Resolved in e944fd4

I also published version 0.3.1 to npm with this fix. Please try installing 0.3.1 and try again:

$ sudo npm install -g triple@0.3.1

@cchamnab
Copy link
Author

after did that ...i have another error :

warn: could not find api.jsca file, auto-complete disabled
[ creating app ]

events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)

@tonylukasavage
Copy link
Owner

This may not generate much more output, but try running triple with the --verbose flag.

I am curious what the root cause of not being able to load the app.jsca file. Can you give me details of your setup? OS and version, Titanium SDK version, and what's the output of running "ti sdk" at the command line?

@cchamnab
Copy link
Author

OS : Window 7 32bit && Window 8.1 64bit ( produce the same error )
NODE : 0.10.29 (ia32)

SDK Install Locations:
C:\ProgramData\Application Data\Titanium
C:\ProgramData\Titanium [default]
C:\Users\USER\AppData\Roaming\Titanium

Installed SDKs:
3.3.0.GA [selected] C:\Users\USER\AppData\Roaming\Titanium\mobilesdk\win32\3
.3.0.GA
3.2.3.GA C:\Users\USER\AppData\Roaming\Titanium\mobilesdk\win32\3
.2.3.GA

@tonylukasavage
Copy link
Owner

Ah, as per the Support section of the docs, Windows isn't officially supported. So you are likely to run into this and other errors, and undoubtedly some weird formatting to output. You can track support for Windows here: #11. It is slated for the 0.4.0 release.

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

No branches or pull requests

2 participants