npm ERR! Error: EPERM: operation not permitted, unlink 'F:\code\webpack-learn\node_modules\.staging\postcss-calc-e927ae04\dist\parser.js'

solveing method:

fixed the issue by adding -g flag to the installation command.

use command:

npm i optimize-css-assets-webpack-plugin -g -D