mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Updated Debugging (markdown)
parent
53bcd21e77
commit
03299bcedf
1 changed files with 16 additions and 1 deletions
17
Debugging.md
17
Debugging.md
|
@ -1,4 +1,19 @@
|
|||
## TODO
|
||||
## Maximum Call Stack Size Exceeded
|
||||
|
||||
This can happen, when there is too much or incompatible code at browserside, for example at iOS Safari.
|
||||
|
||||
To fix it:
|
||||
|
||||
1. Move ExcelJS from browserside to run at serverside https://github.com/wekan/wekan/pull/3871
|
||||
2. Use Bundle Visualizer to see what is the size of dependencies, and try what can be moved to serverside like at step 1:
|
||||
```
|
||||
meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production 2>&1 | tee ../log.txt
|
||||
```
|
||||
3. Make dependencies smaller. For example, use only required files, and do not include all dependencies: https://github.com/wekan/wekan/commit/23e5e1e3bd081699ce39ce5887db7e612616014d
|
||||
4. Use Browserstack.com to see errors at browser / inspect / console, or use iOS or other device emulators, to see error messages. Those error messages have file where error happened, and line number, like `something.js:301` . From there, scroll up a little, look at what function or what package dependency it is where it happened. If possible, try to move that package serverside, like at step 1. Or alternatively, look is it possible to remove or change to some other compatible dependency.
|
||||
|
||||
|
||||
## OLD: TODO
|
||||
|
||||
[Quote from advise](https://github.com/meteor/meteor/issues/9796#issuecomment-443520767):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue