Replies: 1 comment 1 reply
-
My workaround for now is passing environment variables during docker run. In Gruntfile.js, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Steps to reproduce
Followed build_tools/develop/Dockerfile and instructions. Open the localhost/example and upload a document.
Click on the mobile view, got error and blocks the content from rendering.
Uncaught (in promise) TypeError: Cannot read properties of null (reading '0') at my.appVersion (app.js:2:1209669) at r.value (app.js:2:1553722) at asc_docs_api.c (app.js:2:1542813) at asc_docs_api.sendEvent (api.js:982:25) at baseEditorsApi._onEndPermissions (apiBase.js:1469:9) at CoAuthoringApi.onLicense (apiBase.js:1565:6) at CDocsCoApi.callback_OnLicense (docscoapi.js:586:12) at _CoAuthoringApi.onLicense (docscoapi.js:175:11) at DocsCoApi._onLicense (docscoapi.js:1577:12) at DocsCoApi._onServerMessage (docscoapi.js:1961:10)
Due to version is undefined in the built dist/js/app.js
my.appVersion = function() { return "d.undefined".match(/\d+.\d+.\d+/)[0] }
Beta Was this translation helpful? Give feedback.
All reactions