root@k8s01:~/cwy/my-extension# yo theia-extension hello-world-extension
? The extension's type Hello World
HelloWorldExtension
create package.json
Error theia-extension hello-world-extension
EACCES: permission denied, open '/root/cwy/my-extension/package.json'
┌───────────────────────────────────────────────────┐
│ yo update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /root/.config │
└───────────────────────────────────────────────────┘
1、Why does this step prompt no permission, I have been looking for a long time have not found the reason
root@k8s01:~/cwy/my-extension# yo theia-extension hello-world-extension ? The extension's type Hello World HelloWorldExtension create package.json Error theia-extension hello-world-extension
EACCES: permission denied, open '/root/cwy/my-extension/package.json' ┌───────────────────────────────────────────────────┐ │ yo update check failed │ │ Try running with sudo or get access │ │ to the local update config store via │ │ sudo chown -R $USER:$(id -gn $USER) /root/.config │ └───────────────────────────────────────────────────┘
1、Why does this step prompt no permission, I have been looking for a long time have not found the reason