SCEM ISSUES WORKARDOUNDS: I would like to share wi...
# suitecommerce
f
SCEM ISSUES WORKARDOUNDS: I would like to share with you workarounds for current SCEM issues. These issues are being worked on and will be fixed in an e-fix.
SCA > Extension Management 2020.2.1 > Developer Environment > Gulp Local > Shopping Pages are Blank 1. Edit file: Theme or Extension Dev Tools 2020.2.1\LocalDistribution\tmp\javascript-libs.j 2. Replace: var existingModule = (srcRequire || require)(module._AMDModuleName[0]); with: var existingModule = require(module._AMDModuleName[0]); 3. Save file 4. Run gulp theme:local or gulp extension:local
🎉 1
SCA 18.2 > Development Environment > Gulp Fetch and Deploy > Unexpected Error In the mean time you can apply a patch in ExtensionDevelopmentTools-18.2.1.zip and ThemeDevelopmentTools-18.2.1.zip. In both cases follow the next steps: - open the file gulp/extension-mechanism/client-script/RequestHelper.js - in the method doRequest replace the line:           ,        body: JSON.stringify(options.data)          by          ,        body: options.data
In some 2018.2 implementations of SuiteCommerce Advanced, developers might experience the following console error when testing an extension on a local server: 
TypeError: SC.addExtensionModule is not a function
. The patch instructions described below correct this error. https://netsuite.custhelp.com/app/answers/detail/a_id/84278/kw/extension%20local%20not%20working
The sandbox account is attempting to authenticate against an incorrect domain (_ instead of -) . Go to the extension development tools and replaced the underscore with a hyphen, this will allow you to authenticate. A couple of customers reported that after authenticating they get an error. If that´s the case try this temporary workaround. Please change these two files: In ExtensionTools/ns_npm_repository/oauth1/index.js Extensions/gulp/ns-deploy/net.js (edited)
e
@Flo Meilan thanks for the workarounds. is the team aware of the issue Invalid Login Attempt from tstdrv accounts? I think there is a similar issue with SB accounts.
f
No, we don’t have reports of that one yet
By reports i mean an issue record
e
I see, I will ask to the team if they reported it. Thanks!
f
Error: UnhandledPromiseRejectionWarning: TypeError: Object.fromEntries is not a Function This error usually stems from node/npm incompatibility. Alternate solution is to increase node and npm version.
Error: EACCESS: Permission denied, open 'Users/<username>/.nstba' 1. Run sudo chmod 777 /Users/[username]/.nstba 2. Run gulp theme:fetch
s
@Flo Meilan I tried Installing the latest SCEM dev tools 2020.2.1. When I try to fetch the theme or extension I'm still seeing below error. I don't see any Issue with 2FA authentication. Any thoughts on this?