I am building an SCA extension. When I run gulp ex...
# ask-stanley-ai
r
I am building an SCA extension. When I run gulp extension:deploy the deployment does not work properly. The files are not being copies to the proper place in file cabinet. Only some of the files are copied sometimes (like javascript files, SCSS files but not TPL files). I have checked my manifest file and everything looks good (all names are correct). P.S I found this article but not quite sure its relevant: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1557257118.html I am confused where to add these files exactly? I don’t see a folder CheckoutApplication@aconcaguaR2.
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like you are encountering an issue with the deployment of your SCA extension. The error message you are seeing suggests that there might be an issue with the location of your files in the FileCabinet or the configuration of your gulp task. Here are a few things you can check: 1. Make sure that all files in the RestLet folder are uploaded to a location in your account. 2. Ensure that you have a restlet script pointing to
sca_deployer.js
with id
customscript_sca_deployer
and deployment with id
customdeploy_sca_deployer
. 3. Check that you have set the get, post, put, delete methods to
_get
,
_post
,
_put
,
_delete
respectively in the script. 4. Make sure that you have added the
Deployment.js
and
FileCabinet.js
scripts to the script libraries. If you are still encountering issues, you might want to consider using a different IDE or a tool like Grunt for uploading scripts to your NetSuite account. There are also official NetSuite plugins available that might help with your deployment process. If you are deploying to a production account and encountering an error during file validation, it might be due to the presence of
.DS_Store
files. These are hidden files created by macOS and can be deleted using the terminal command
find . -name ".DS_Store" -type f -delete -print
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814148068
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810058594
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802978516
Please provide your feedback on this answer.