Christiaan
07/16/2025, 6:09 AMCeligo AI
07/16/2025, 6:10 AMAI generated answer (using internal Slack threads):It seems like you're having an issue with Gulp asking for the type of file your model is during each deployment. This could be due to the way your Gulp tasks are set up. In your Gulpfile.js, you should have a task that handles the deployment of your SuiteScript files. This task should be able to recognize the type of file it's dealing with based on the file extension. If it's not doing this correctly, you may need to adjust your Gulp task configuration. Here's a basic example of what a Gulp task for deploying SuiteScript files might look like:
javascript
gulp.task('deploy', function() {
return gulp.src('path/to/your/files/**/*.js')
.pipe(gulp.dest('path/to/destination'));
});
In this example, the gulp.src
function is used to specify the source directory for the files to be deployed. The **/*.js
part of the path is a glob pattern that matches any .js files in the source directory or any of its subdirectories. The gulp.dest
function is used to specify the destination directory for the deployed files.
If your Gulpfile.js is set up correctly and you're still having this issue, it could be a problem with the way your files are organized in your project. Make sure that your SuiteScript files are in the correct directory and that they have the correct file extension (.js for JavaScript files).
If none of these solutions work, you may need to look into other possible causes of the issue. It could be a problem with your Gulp installation, your project configuration, or something else entirely.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
07/16/2025, 6:10 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80514
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798237443
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793633878
Celigo AI
07/16/2025, 6:10 AM