Comments (8)
@caspahouzer How did you solve this problem? I'm having the same issue with:
node 8.9.3
appc 6.2.4
titanium CLI 5.0.14
The command appc info -o json
fails with a similar error as the one in #68 and here:
Unexpected token R in JSON at position 0
from pulsar-titanium.
@caspahouzer do you have appc CLI installed? If so which version of appc and Titanium are you running? Do you get a valid output if you run appc info -o json
?
from pulsar-titanium.
The appc command will output errors before the json. With node 7 you'll get this as a result
Copyright (c) 2014-2017, Appcelerator, Inc. All Rights Reserved.
ERROR: appc requires Node.js >=8.0.0
Visit http://nodejs.org/ to download a newer version.
and then JSON.parse
of course can't parse it. That also results in #65
from pulsar-titanium.
That did the trick. Thank you
from pulsar-titanium.
@caspahouzer I have the same issue of @Jei
node v8.9.4
appc 7.0.2
titanium CLI 5.0.14
from pulsar-titanium.
@Jei what does appc info
without the JSON output print out? It looks like there is an error that can't be parsed as a JSON
from pulsar-titanium.
@m1ga It does. I also updated the Appcelerator CLI version to 7.0.2 just to be sure.
The complete output is:
╰─$ appc info
Appcelerator Command-Line Interface, version 7.0.2
Copyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved.
An uncaught exception was thrown!
Unexpected token R in JSON at position 0
Unexpected token R in JSON at position 0
from pulsar-titanium.
Then it looks like an appc problem and not related to the plugin. The plugin just tries to parse the output and since the JSON is broken it won't work. But the real error is inside your CLI somewhere.
Edit:
and just to check: try ti info
please to see if that is broken too
from pulsar-titanium.
Related Issues (20)
- Add "open related" to the icon bar HOT 2
- Autocompletion for Alloy namespace in controller
- Unable to select correct distribution certificate if duplicate names exist HOT 1
- Failed to activate the appcelerator-titanium package HOT 4
- Improvement: Add `ti` command HOT 5
- No completions provided when using L
- Uncaught TypeError: Cannot read property 'setEncoding' of undefined HOT 1
- Uncaught TypeError: Cannot read property 'populateiOSTargets' of null HOT 2
- Appcelerator Not Finding JDK When Attempting to Run Android Emulator HOT 1
- Uncaught TypeError: Cannot read property 'endsWith' of undefined
- better icon for live view HOT 3
- Some TSS properties have a wrong color HOT 1
- Uncaught RangeError: Maximum call stack size exceeded HOT 2
- Uncaught RangeError: Maximum call stack size exceeded HOT 1
- Error executing 'appc login' command HOT 1
- completions-v2.json not generated HOT 3
- Current path wrong (e.g. in hooks) HOT 3
- The automated release is failing 🚨 HOT 3
- Move naming to pulsar namespace HOT 8
- Click to create function not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulsar-titanium.