Hello everyone,
I ran into an issue while I was trying to update our theme to a new version and I encountered an error on the template and SaSS compiler.
I need
Template error:
{"type":"error.SuiteScriptError","name":"139572","message":"That record does not exist. path: SuiteScripts/Deploy_Extensions/2Point/Two_Point_theme@1.0.163/Modules/Transaction.Line.Views/Templates/transaction_line_views_selected_option_color.tpl","id":null,"stack":["createError(N/error)"],"cause":{"message":"That record does not exist. path: SuiteScripts/Deploy_Extensions/2Point/Two_Point_theme@1.0.163/Modules/Transaction.Line.Views/Templates/transaction_line_views_selected_option_color.tpl","stack":["load(N/file)","loadFile(/SuiteBundles/Bundle 521562/ExtensionMechanism.Server/Services/FileApiSS2.js:41)","_compileFile(/SuiteBundles/Bundle 521562/ExtensionMechanism.Server/CompilersMapReduce/TemplatesCompilerMapReduce.js:368)","map(/SuiteBundles/Bundle 521562/ExtensionMechanism.Server/CompilersMapReduce/TemplatesCompilerMapReduce.js:210)"],"name":"139572"},"notifyOff":false,"userFacing":true}
For this, we don't appear to be using this particular TPL. I went to the deploy distribution manifest and removed it from the JSON.
SaSS error:
{"type":"error.SuiteScriptError","name":"139571","message":"The following file does not exist: .","id":null,"stack":["createError(N/error)"],"cause":{"message":"The following file does not exist: .","stack":["createError(N/error)","map(/SuiteBundles/Bundle 521562/ExtensionMechanism.Server/CompilersMapReduce/SassCompilerMapReduce.js:165)"],"name":"139571","data":{"response":null,"notifications":[]}},"notifyOff":false,"userFacing":true}
I downloaded the SaSSCompilerMapReduce.js file and this was on line 165
sassCompiler.compile(options);
When I went to deploy, I get a notice that the record path to the Skins1.json does not exist. I check the theme file and I have it. I removed the skins from the manifest and it was added back.