'Installing custom plugin(chart) in apache superset using docker getting error in yo @superset-ui/superset
I am following this tutorial https://superset.apache.org/docs/installation/building-custom-viz-plugins I am successfully able to create plugin-chart-hello-world but after that when i run yo @superset-ui/superset as superuser I got this error:
/usr/local/share/.config/yarn/global/node_modules/conf/index.js:128
throw err;
^
Error: EACCES: permission denied, open '/root/.config/insight-nodejs/insight-yo.json'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at Conf.get store [as store] (/usr/local/share/.config/yarn/global/node_modules/conf/index.js:108:18)
at Conf.get (/usr/local/share/.config/yarn/global/node_modules/conf/index.js:47:27)
at Insight.get optOut [as optOut] (/usr/local/share/.config/yarn/global/node_modules/insight/lib/index.js:52:22)
at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/yo/lib/cli.js:208:48)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/root/.config/insight-nodejs/insight-yo.json'
}
I am unable to add solve this error. Please help if someone know how to resolve this
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
