npm ERROR! encountered code EACCES during installation npm ERROR! while trying to create a directory npm ERROR! at path /usr/local/lib/node_modules/typescript npm ERROR! with error number -13 npm ERROR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/typescript' npm ERROR! [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/typescript'] { npm ERROR! errno: -13, npm ERROR! code: 'EACCES', npm ERROR! syscall: 'mkdir', npm ERROR! path: '/usr/local/lib/node_modules/typescript' npm ERROR! } npm ERROR! npm ERROR! The operation was blocked by the operating system. npm ERROR! It seems you lack the necessary permissions to access this file as the current user npm ERROR! npm ERROR! If you suspect it's a permissions problem, please verify the npm ERROR! permissions of the file and its parent directories, or attempt to run npm ERROR! the command again using root/Administrator privileges.
npm ERROR! To review the complete log of this occurrence, browse to: /Users/a/.npm/_logs/2023-11-08T05_58_43_501Z-debug-0.log
I attempted to execute "npm i -g typescript" but I received an error message