Skip to content
This repository was archived by the owner on May 2, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (13 loc) · 778 Bytes

dev-trouble-shooting.md

File metadata and controls

20 lines (13 loc) · 778 Bytes

Trouble shooting

This page is part of the App Framework Documentation


The following points should be checked for trouble shooting:

  • Cache is reset (could be done with npm run reset)
  • No interferences with other files
  • Only absolute paths used
  • process.env allways considered as object with strings (process.env.ANY === 'true')
  • All require() commands contain only strings and/or process.env[...] as variable
  • Values from window.localStorage are parsed with JSON.parse() before usage

Let us know if you have points to add.

Debug mode

Debug mode could be enabled with debug: true in the app config file. In code, whenever env.debug(...) is called, the input will be logged to debug.log file in the project folder.