following this page to customize Apache Superset: https://preset.io/blog/2020-07-02-hello-world/
I have the following when running: yo @superset-ui/superset
/usr/lib/node_modules/yo/node_modules/write-file-atomic/index.js:236
throw err
^
Error: EACCES: permission denied, open '/root/.config/insight-nodejs/insight-yo.json.1971212867'
at Object.openSync (fs.js:498:3)
at Function.writeFileSync [as sync] (/usr/lib/node_modules/yo/node_modules/write-file-atomic/index.js:212:13)
at Conf.set store [as store] (/usr/lib/node_modules/yo/node_modules/conf/index.js:142:19)
at Conf.set (/usr/lib/node_modules/yo/node_modules/conf/index.js:64:14)
at Insight.set optOut [as optOut] (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:56:15)
at Object.<anonymous> (/usr/lib/node_modules/yo/lib/cli.js:209:18)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/root/.config/insight-nodejs/insight-yo.json.1971212867'
}
I tried to: sudo chown -R $(whoami) ~/.npm
All of the above folders and also chmod ugo+rwx /root/.config all of them too...
Although root user should have access all of the folders by default as I understand. Nothing helps...
What could I do else?
under current user to whichever plugin-chart you created, give full permission: sudo chmod 777 -R /path/to/the/plugin/folder