highcharts / highcharts/node-export-server

v4 'cachePath' with absolute path

Aperta
#562 6 commenti 1 reazione 1 assegnatario Rivendicata da @jszuminski Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
369
Fork
266
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### Expected behaviour
highcharts.cachePath or HIGHCHARTS_CACHE_PATH env var should allow an absolute path such as '/tmp/.cache'

#### Actual behaviour
Previously (v3) if the manifest.json file existed in the 'node_modules/highcharts-export-server/.cache' directory but read-only it would log an error and initPool would continue to start. Now initExport throws an error.

#### Reproduction steps
Set the 'node_modules/highcharts-export-server/.cache/manifest.json' file as read-only and initExport will throw an error.
Ideally just allow cachePath to specify an absolute path and if the manifest.json file exists (and un-changed) then skip writing new manifest

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.