Skip to content

Commit

Permalink
feat: try again Nouvelle initialisation de l'application #47
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Aug 31, 2024
1 parent c00c56d commit 3f4e810
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export const initSudoFixNpmDirRights = (
return new Promise<ConfigData>((resolve) => {
// const cmd = `chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}`
// const cmd = `chown -R $(whoami) $(npm config get prefix)/lib/node_modules`
const cmd = `chown -R root:admin $(npm config get prefix)/lib/node_modules`
// const cmd = `chown -R root:admin $(npm config get prefix)/lib/node_modules`
const cmd = `chown -R $USER $(npm config get prefix)/lib/node_modules && $(whoami) && echo "Done"`
sudoPrompt.exec(
cmd,
{ name: 'Fix user permissions on Node' },
Expand Down

0 comments on commit 3f4e810

Please sign in to comment.