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

TypeError: Cannot read property '0' of undefined #13

Open
kvz opened this issue Jun 23, 2017 · 1 comment
Open

TypeError: Cannot read property '0' of undefined #13

kvz opened this issue Jun 23, 2017 · 1 comment
Assignees
Labels
prio-3 sdks Integrations for Transloadit's API

Comments

@kvz
Copy link
Member

kvz commented Jun 23, 2017

npm install -g transloadify@0.2.2

with steps.json being:

{
  "webp": {
    "use": ":original",
    "robot": "/image/resize",
    "result": true,
    "imagemagick_stack": "v2.0.3",
    "format": "webp"
  }
}

and the following command:

env \
  TRANSLOADIT_KEY=xx \
  TRANSLOADIT_SECRET=yy \
transloadify \
  --steps ./steps.json < assets/images/logo_milan_white_10.png > output.webp

I'm getting:

ERROR   TypeError: Cannot read property '0' of undefined
    at callback (../src/assemblies-create.js:430:25)
    at _fulfilled (/usr/local/lib/node_modules/transloadify/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/transloadify/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/transloadify/node_modules/q/q.js:796:13)
    at /usr/local/lib/node_modules/transloadify/node_modules/q/q.js:604:44
    at runSingle (/usr/local/lib/node_modules/transloadify/node_modules/q/q.js:137:13)
    at flush (/usr/local/lib/node_modules/transloadify/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
@kvz
Copy link
Member Author

kvz commented Jun 23, 2017

Hey @ifedapoolarewaju, assigning this to you, in case you feel like taking a look some time 😄 If not feel free to bounce back!

ifedapoolarewaju added a commit to ifedapoolarewaju/transloadify that referenced this issue Jun 29, 2017
kvz pushed a commit that referenced this issue Jul 3, 2017
* fix: read input/output from stdin/stdout
#13

* chores: obey the lint 😒i

* build: enable test in travis
@lekevbot lekevbot added the sdks Integrations for Transloadit's API label Feb 8, 2021
@lekevbot lekevbot added the prio-3 label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-3 sdks Integrations for Transloadit's API
Projects
None yet
Development

No branches or pull requests

3 participants