I am trying run gulp theme:fetch and after I set u...
# suitecommerce
v
I am trying run gulp theme:fetch and after I set up my token I get a
UnhandledPromiseRejectionWarning
error (running node v8.11.4 and SCA 18.2.1)
c
The underscore in the hostname should be a dash. Don't know if that's something you need to change - certainly seen this error on here before, but unfortunately it has aged out of the history
v
@CD Where do I change the hostname?
c
@VS 1.
ns_npm_repository/oauth1/index.js
1. Find `async _step3`; change
account
in the
return
statement to be
account.replace('_', '-')
2. Find `const hostnameStep1`; change
rest${molecule}.<http://netsuite.com|netsuite.com>
to
system${molecule}.<http://netsuite.com|netsuite.com>
1. This fixes issuance of a new token 2. Navigate to
gulp/ns-deploy/net.js
and find the
authorize
function. In the
else
statement, change
account
to
account.replace('_', '-')
v
@Caleb Evans Thank you.I miss ya!
g
Thanks. This also fixed “Unexpected Error” when creating a new token.