Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Cant use only cc-product in csxs.json #10

Open
alekbarszczewski opened this issue Dec 4, 2013 · 2 comments
Open

Cant use only cc-product in csxs.json #10

alekbarszczewski opened this issue Dec 4, 2013 · 2 comments

Comments

@alekbarszczewski
Copy link

In csxs.json I have:

"builds": [
{
    "manifest": "manifest.cc.xml",
    "flex-version": "3.4.0",
    "cc-products": {"photoshop": [{ "min": "14.1.2", "max": "14.1.2" }]}
    //"cs-products": ["photoshop"],
    //"cs-versions": ["6.0"]
}

When I try to run csxs debug I get following error:

▾ target:debug
░ Reading project configuration...
░ Validating csxs.json... [success]

/usr/local/lib/node_modules/csxs/src/targets/debug.js:56
            options['cs-product'] = options['cs-product'] || build['cs-products'][0];
                                                                                 ^
TypeError: Cannot read property '0' of undefined
    at /usr/local/lib/node_modules/csxs/src/targets/debug.js:56:73
    at /usr/local/lib/node_modules/csxs/node_modules/roto/lib/roto.js:325:5
    at async.mapSeries.currentTarget (/usr/local/lib/node_modules/csxs/node_modules/roto/lib/roto.js:390:4)
    at /usr/local/lib/node_modules/csxs/node_modules/async/lib/async.js:224:13
    at iterate (/usr/local/lib/node_modules/csxs/node_modules/async/lib/async.js:131:13)
    at /usr/local/lib/node_modules/csxs/node_modules/async/lib/async.js:142:25
    at /usr/local/lib/node_modules/csxs/node_modules/async/lib/async.js:226:17
    at /usr/local/lib/node_modules/csxs/node_modules/roto/lib/roto.js:395:14
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)

If I uncomment those two commented lines then csxs is happy but cant find Photoshop CS6 - and it wont find cause I dont and wont have it:

▾ target:debug
░ Reading project configuration...
░ Validating csxs.json... [success]
░ ERROR: Unable to find Adobe Photoshop CS6.
░ "/Applications/Adobe Photoshop CS6"

So how I can target photoshop CC only?

@DominikGuzei
Copy link

Have the same problem, how can I debug the extensions with CC products?

@alexHlebnikov
Copy link

Same problem with CC. Is there any solution for this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants