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

Fail to create web task #229

Open
headho opened this issue Sep 20, 2018 · 0 comments
Open

Fail to create web task #229

headho opened this issue Sep 20, 2018 · 0 comments

Comments

@headho
Copy link

headho commented Sep 20, 2018

auth0 create -t post-user-registration --name test-upload -p $WT_PROFILE --secrets-file ./auth0Deployment/dist/hooks/secretFile ./auth0Deployment/dist/hooks/test-upload.js

Uncaught error: Path must be a string. Received undefined
error 20-Sep-2018 13:45:51 TypeError: Path must be a string. Received undefined
error 20-Sep-2018 13:45:51 at assertPath (path.js:28:11)
error 20-Sep-2018 13:45:51 at Object.join (path.js:1236:7)
error 20-Sep-2018 13:45:51 at new ConfigFile (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/lib/config.js:19:27)
error 20-Sep-2018 13:45:51 at /opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/bin/_plugins/profile.js:92:22
error 20-Sep-2018 13:45:51 at tryCatcher (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/bluebird/js/main/util.js:26:23)
error 20-Sep-2018 13:45:51 at Promise._resolveFromResolver (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/bluebird/js/main/promise.js:483:31)
error 20-Sep-2018 13:45:51 at new Promise (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/bluebird/js/main/promise.js:71:37)
error 20-Sep-2018 13:45:51 at sandboxFromArguments (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/bin/_plugins/profile.js:73:12)
error 20-Sep-2018 13:45:51 at onBeforeHandler (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/bin/_plugins/profile.js:19:12)
error 20-Sep-2018 13:45:51 at Command.runHandler (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/lib/node.js:85:16)
error 20-Sep-2018 13:45:51 at Command.tryCatcher (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/util.js:16:23)
error 20-Sep-2018 13:45:51 at Object.gotValue (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/reduce.js:155:18)
error 20-Sep-2018 13:45:51 at Object.gotAccum (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/reduce.js:144:25)
error 20-Sep-2018 13:45:51 at Object.tryCatcher (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/util.js:16:23)
error 20-Sep-2018 13:45:51 at Promise._settlePromiseFromHandler (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/promise.js:512:31)
error 20-Sep-2018 13:45:51 at Promise._settlePromise (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/promise.js:569:18)
error 20-Sep-2018 13:45:51 at Promise._settlePromiseCtx (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/promise.js:606:10)
error 20-Sep-2018 13:45:51 at Async._drainQueue (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/async.js:138:12)
error 20-Sep-2018 13:45:51 at Async._drainQueues (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/async.js:143:10)
error 20-Sep-2018 13:45:51 at Immediate.Async.drainQueues (/opt/nodejs/node-v8.11.3-linux-x64/lib/node_modules/wt-cli/node_modules/structured-cli/node_modules/bluebird/js/release/async.js:17:14)
error 20-Sep-2018 13:45:51 at runCallback (timers.js:810:20)
error 20-Sep-2018 13:45:51 at tryOnImmediate (timers.js:768:5)
error 20-Sep-2018 13:45:51 Please report this at: https://github.com/auth0/wt-cli/issues

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

1 participant