Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Why shopping_ext.js file not created with gulp extension local?
Hey there,
When I run gulp extension:local it works, as in, there are no errors in the terminal. However, the local website doesn't work because of an error in the browser console showing that it is unable to fetch the shopping_ext.js file.
Through adding logs in the javascript.js file in gulp/extension-mechanism/local-tasks here:
function generateEntryPoints(){
console.log("config", configs);
var application_manifest = configs.application.application_manifest
, entry_points
, js_dest = [];
console.log("app manifest", application_manifest);
if(application_manifest)
{
var entry_points = application_manifest.application;
_.each(entry_points, function(application)
{
js_dest.push(path.join(javascript_destination, application + '_ext.js'));