Hey all, I'm trying to install additional files us...
# suitecommerce
d
Hey all, I'm trying to install additional files using "npm install" for SCA 2020.2 source code but I'm facing an issue in below screen shot "*cannot find module underscore*" when I ran gulp command has anyone faced this issue before? inputs please? PS: I ran "npm install" on sub-directory SCA_20.2_Live
r
Check Version
d
@Rajat Kashyap which version you mean? can you elaborate please. I'm using node 12.16.3 and running tools for 20.2 SCA version
r
Try to fix the SC patches
d
hmm..still not sure what you meant by that its been a long time since I worked on core modules.
This will help you out
d
I updated the mentioned code but the article says it is regarding token based updates. I'm facing an issue with underscore "couldn't find module underscore"
r
npm install -g <missing module name> Try this
d
added all the missing modules but encountered a weird issue "unknown product Advanced" does anyone know how to fix this?
m
@Durgasree I usually get the unknown product Advanced error when versioning is off. When I was playing around with handlebars versions on my recent error, I saw that sometimes. Try this again and see if it works: (1) Download the zip of the SCA Dev Tools for the core from the file cabinet (btw, what SCA version are you on again, 20.2, yes?) (2) So for 20.2 you need Node -v 12.16.3, yes? I was using that for 191. and nvm use into 12.21.0 for 22.2 but I think you want 12.16.3.(https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_158894785342.html) . Make sure you’re on the right node version and navigate into the SC_20.2 file and run
npm install
(3) if that was successful, run just
gulp
(4) if that was successful, move your extensions folder in, run
gulp local
and see if it works. If so, you should be good. It took me about 4 tries and it worked — I really have no idea why I was getting some of the errors I was. (5) then lastly i move in my version control files. hope this helps
d
@Melissa Thank you for the clear steps 🫡. I worked through your steps but I'm stuck at #3 while running gulp. I'm still encountering unknown product advanced error after running gulp command 😕Here are the versions I'm using right now -> node : 12.16.3 , gulp : CLI :2.3.0 and local : 4.0.2 , npm : 6.9.0 and SCA core modules version 20.2
m
@Durgasree I’d say double check to make sure you downloaded the correct SCA Dev Tools and double check me on that Node version, and if it still doesn’t work, contact support. Sorry I am not more help.
d
@Melissa sure. I'll double check. thanks for trying though!🙂