I’m deploying a theme to PROD but this error is g...
# suitecommerce
p
I’m deploying a theme to PROD but this error is getting in my way 😛 is it a node version thing? • current node version: 10.16 • SCA 2019.2 #help
Copy code
10:19:28 $gulp theme:deploy --to
Using gulp distro.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.join (path.js:1147:7)
    at Object.<anonymous> (/Users/philipdenys/code/logitail/logitail-aquanova/Theme/gulp/extension-mechanism/credentials-inquirer.js:28:38)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/Users/philipdenys/code/logitail/logitail-aquanova/Theme/gulpfile.js:33:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at requireOrImport (/Users/philipdenys/.nvm/versions/node/v10.16.3/lib/node_modules/gulp-cli/lib/shared/require-or-import.js:19:11)
    at execute (/Users/philipdenys/.nvm/versions/node/v10.16.3/lib/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:37:3)
    at Liftoff.handleArguments (/Users/philipdenys/.nvm/versions/node/v10.16.3/lib/node_modules/gulp-cli/index.js:211:24)
    at Liftoff.execute (/Users/philipdenys/.nvm/versions/node/v10.16.3/lib/node_modules/gulp-cli/node_modules/liftoff/index.js:201:12)
s
I would make sure that you're running the latest version of the extension manager and then download and install the latest version of the theme developer tools (including the latest node) and then try deploying with those
👍 1