Hi @VictorTey , I'm having a very similar issue with this "dojo/i18n!../nls/strings" ScriptError that @TakahiroKAMIYA has shown in one of his/her screenshots above. I've been stuck with this for a weeks and still couldn't find a workaround.
My process is this:
- downloaded from the ArcGIS Web App Builder SDK: https://developers.arcgis.com/web-appbuilder/guide/getstarted.htm
- went into the /server side folder and found the AddData widget folder where I need to make some changes to add a simple business logic for my use case
- tested the widget locally within the downloaded SDK/Dev Edition and it worked well
- packaged this modified AddData widget and uploaded and hosted on a Google GCP server with a Manifest JSON
- Add this widget as an App Extension using this Manifest JSON pointing to my custom AddData widget
- imported this custom widget to an existing Web map app I have on my ArcGIS Portal
- encountered the same error "ScriptError: ..../dojo/i18n!../nls/strings"
I also checked my local server side widget folder, I found there are 15 Javascript files that contains this path "dojo/i18n!../nls/strings" in their define[] statement, as you had described above. I tried to replace this line with a direct URL link pointing to the strings.js file hosted on my GCP, but neither worked for my local environment or on the Portal. Another WAB out-of-box widget that contains this"dojo/i18n!../nls/strings" is the Edit widget. I even packaged this default Edit widget and tried importing it as a custom widget to my portal apps, but it gave me the same Script Error.....
I'm wondering what do you suggest with the full path "https://xxx.xxx.xxx/strings.js"? Did you try it on a real custom widget and did it work out?
Any advice is really appreciated!
Wenhao