Open bbczeuz opened 3 years ago
There is another issue when building on Centos7:
[...]
Error from chokidar (/var/lib/grafana/plugins/globalnoc-worldview-panel): Error: ENOSPC: System limit for number of file watchers reached, watch '/var/lib/grafana/plugins/globalnoc-worldview-panel/.prettierrc.js'
Error from chokidar (/var/lib/grafana/plugins/globalnoc-worldview-panel): Error: ENOSPC: System limit for number of file watchers reached, watch '/var/lib/grafana/plugins/globalnoc-worldview-panel/CHANGELOG.md'
Error from chokidar (/var/lib/grafana/plugins/globalnoc-worldview-panel): Error: ENOSPC: System limit for number of file watchers reached, watch '/var/lib/grafana/plugins/globalnoc-worldview-panel/LICENSE'
[...]
which can be circumvented by increasing sysctl fs.inotify.max_user_watches
Problem
Unable to install plugin on Centos7
Environment
Steps to reproduce
git clone
(to /var/lib/grafana/plugins/globalnoc-worldview-panel)yarn install
fails with c++ issues:Workaround
As suggested in https://stackoverflow.com/questions/67241196/error-no-template-named-remove-cv-t-in-namespace-std-did-you-mean-remove : Downgrading nodejs to a version below 16 could help. I tested this and it works.
Suggestion
Following issue https://github.com/sass/node-sass/issues/3077 and add compatibility to the current nodejs-Version