'Giving any NPM install command Having this error

npm ERR! code UNKNOWN npm ERR! syscall rename npm ERR! path C:\Users\pratish.devangan\OneDrive - HCL Technologies Ltd\Desktop\GEINE UI\GEINE_Platform\node_modules\@babel\plugin-proposal-optional-catch-binding

npm ERR! dest C:\Users\pratish.devangan\OneDrive - HCL Technologies Ltd\Desktop\GEINE UI\GEINE_Platform\node_modules\@babel\.plugin-proposal-optional-catch-binding-kX6eCJ6w

npm ERR! errno -4094 npm ERR! UNKNOWN: unknown error, rename 'C:\Users\pratish.devangan\OneDrive - HCL Technologies Ltd\Desktop\GEINE UI\GEINE_Platform\node_modules\@babel\plugin-proposal-optional-catch-binding' -> 'C:\Users\pratish.devangan\OneDrive - HCL Technologies Ltd\Desktop\GEINE UI\GEINE_Platform\node_modules\@babel\.plugin-proposal-optional-catch-binding-kX6eCJ6w'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\pratish.devangan\AppData\Local\npm-cache\_logs\2022-05-18T07_19_29_915Z-debug-0.log

see the image of error here :- enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source