An error occurred during custom object validation. (customscript_scriptinternalid) Details: The file reference /SuiteScripts/Project_Name/ScriptFileName.js is missing in the project and also not included in the dependencies list.
1
File: ~/Objects/customscript_ScriptFileName.xml
Upload Files(Deploy files)
2. Deploy Script Records
2.1 Update manifest.xml to enable the dependency for all files section(see Sample for manifest.xml above), MODIFY it to add depenency objects, sometime it’s custom objects(transaction body fields, line item fields or custom entity fields, record types, etc), sometimes it’s , add detail referenced files to this section when validation message is error out.
2.2 Update deploy.xml to enable the specific objects section ONLY. It will helps isolate.
2.3 suitecloud project:deploy
报错There is no JAR file in your CLI
1 2 3 4 5 6 7 8
WebstormProjects % suitecloud project:create -i ? Select the project type you want to create. Account Customization Project ? Enter the project name. CLQ_restFileAttach ? Do you want to include unit testing with the Jest testing framework? ***This will install NPM module dependencies. No Creating the project structure... There is no JAR file in your CLI for Node.js. Run "npm install" from "/usr/local/lib/node_modules/@oracle/sui tecloud-cli" to install the JAR file.
suitecloud-cli % npm install npm error code EACCES npm error syscall mkdir npm error path /usr/local/lib/node_modules/@oracle/suitecloud-cli/node_modules/jest npm error errno -13 npm error [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@oracle/suitecloud-cli/node_m odules/jest'] { npm error errno: -13, npm error code: 'EACCES', npm error syscall: 'mkdir', npm error path: '/usr/local/lib/node_modules/@oracle/suitecloud-cli/node_modules/jest' npm error } npm error npm error The operation was rejected by your operating system. npm error It is likely you do not have the permissions to access this file as the current user npm error npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running npm error the command again as root/Administrator. npm error A complete log of this run can be found in: /Users/carlzeng/.npm/_logs/2025-11-11T04_01_06_568Z-deb ug-0.log
1 2 3 4 5 6 7 8 9 10 11 12 13 14
suitecloud-cli % sudo -i Password: MacBookPro:~ root# cd /usr/local/lib/node_modules/@oracle/suitecloud-cli MacBookPro:suitecloud-cli root# npm install npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more com prehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported > @oracle/suitecloud-cli@2.0.0 postinstall > node postinstall.js added 249 packages, and audited 307 packages in 34s