Hi, I am new to SuiteCommerce. In terminal, I am t...
# suitecommerce
s
Hi, I am new to SuiteCommerce. In terminal, I am trying to deploy SCA using "gulp deploy" command but after I select account token it is giving error, "...script=customscript_ns_sca_deployer_2020_2_0&deploy=customdeploy_ns_sca_deployer_2020_2_0...code:SSS_INVALID_SCRIPTLET_ID, message:That Suitelet is invalid, disabled, or no longer exists.". I checked in NetSuite account and did not found this Script. I am able to run locally using "gulp local". Some specifications for my setup are: • node version: v12.21.0 • gulp version: 2.3.0(CLI), 4.0.2(local) • sca directory name: SC_21.1_LIVE Thanks
a
Hey @Sarim Khan You can check restlet that is from your SuiteCommerce bundle. Update that script Id and deployment ID in your distro.json. Let me know if this solve your issue else connect me for further help. Thanks
s
Hi @Ankit Chaudhary, Thanks a lot. This really was the issue (the restlet version in distro.json). Updated script & deployment ID to _ns_sca_deployer_2021_1_0 from _ns_sca_deployer_2020_2_0 and now it is not giving that error. But now, after selecting account token it prompts me to enter/choose "Hosting Files folder", "Application Publisher" and "SSP Application" (these are what I am selecting "Live Hosting Files", "NetSuite Inc. - SCA 2021.1.0" and "Development" respectively). After selecting these I am getting: "An unexpected error occurred" "The following tasks did not complete: deploy, deploy. Did you forget to signal async completion?"
a
@Sarim Khan Try again. This may be due to network error. Try again and this will work. Thanks
s
@Ankit Chaudhary. No I tried few times but getting same result But still Thanks a lot. I will keep on trying. One thing is that when I use "npm install" at the end of installation it gives Error: "EEXIST: file already exists, cmd shim '...\npm\node_modules\gulp-cli\bin\gulp.js'". Can that be the issue?
a
What version of node you are using ?
s
node: v12.21.0, gulp: 2.3.0(CLI), 4.0.2(local)