I cannot install materal ui in mys vs code in ubundu

unaiz@unaiz-Aspire-4750:~/Desktop/bake$ npm install @material-ui/core
npm WARN checkPermissions Missing write access to /home/unaiz/node_modules/@material-ui/core
npm WARN @material-ui/icons@4.11.2 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/core@4.11.4 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/styles@4.11.4 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/system@4.11.3 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group@4.4.2 requires a peer of react-dom@>=16.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN @material-ui/utils@4.11.2 requires a peer of react-dom@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN unaiz No description
npm WARN unaiz No repository field.
npm WARN unaiz No license field.

npm ERR! path /home/unaiz/node_modules/@material-ui/core
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access ‘/home/unaiz/node_modules/@material-ui/core’
npm ERR! { [Error: EACCES: permission denied, access ‘/home/unaiz/node_modules/@material-ui/core’]
npm ERR! stack:
npm ERR! “Error: EACCES: permission denied, access ‘/home/unaiz/node_modules/@material-ui/core’”,
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘access’,
npm ERR! path: ‘/home/unaiz/node_modules/@material-ui/core’ }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR! /home/unaiz/.npm/_logs/2021-05-31T13_54_35_554Z-debug.log

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.