You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After rerun the container npm is tried to rename plugin name. But it has not permission. And should it have to do it at all?
Steps to Reproduce
make init-dev
Link the plugin
make stop
make start
npm ERR! code EACCES
api_1 | npm ERR! syscall rename
api_1 | npm ERR! path /usr/local/src/app/node_modules/@itleadopencommerce/api-plugin-products-volume
api_1 | npm ERR! dest /usr/local/src/app/node_modules/@itleadopencommerce/.api-plugin-products-volume-cxbdezTS
api_1 | npm ERR! errno -13
api_1 | npm ERR! Error: EACCES: permission denied, rename '/usr/local/src/app/node_modules/@itleadopencommerce/api-plugin-products-volume' -> '/usr/local/src/app/node_modules/@itleadopencommerce/.api-plugin-products-volume-cxbdezTS'
api_1 | npm ERR! [Error: EACCES: permission denied, rename '/usr/local/src/app/node_modules/@itleadopencommerce/api-plugin-products-volume' -> '/usr/local/src/app/node_modules/@itleadopencommerce/.api-plugin-products-volume-cxbdezTS'] {
api_1 | npm ERR! errno: -13,
api_1 | npm ERR! code: 'EACCES',
api_1 | npm ERR! syscall: 'rename',
api_1 | npm ERR! path: '/usr/local/src/app/node_modules/@itleadopencommerce/api-plugin-products-volume',
api_1 | npm ERR! dest: '/usr/local/src/app/node_modules/@itleadopencommerce/.api-plugin-products-volume-cxbdezTS'
api_1 | npm ERR! }
api_1 | npm ERR!
api_1 | npm ERR! The operation was rejected by your operating system.
api_1 | npm ERR! It is likely you do not have the permissions to access this file as the current user
api_1 | npm ERR!
api_1 | npm ERR! If you believe this might be a permissions issue, please double-check the
api_1 | npm ERR! permissions of the file and its containing directories, or try running
api_1 | npm ERR! the command again as root/Administrator.
api_1 |
api_1 | npm ERR! A complete log of this run can be found in:
api_1 | npm ERR! /home/node/.npm/_logs/2022-03-20T21_19_37_542Z-debug-0.log
Possible Solution
Change folder permissions, but not very good idea, because in npm registry we have normal name
Versions
4.1.5
The text was updated successfully, but these errors were encountered:
Issue Description
After rerun the container npm is tried to rename plugin name. But it has not permission. And should it have to do it at all?
Steps to Reproduce
Possible Solution
Change folder permissions, but not very good idea, because in npm registry we have normal name
Versions
4.1.5
The text was updated successfully, but these errors were encountered: