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
ERR { Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/mbt/unpacked_bin'
at Object.fs.mkdirSync (fs.js:885:18)
at /usr/lib/node_modules/mbt/node_modules/binwrap/binstall.js:46:10
at new Promise ()
at untgz (/usr/lib/node_modules/mbt/node_modules/binwrap/binstall.js:21:10)
at binstall (/usr/lib/node_modules/mbt/node_modules/binwrap/binstall.js:11:12)
at install (/usr/lib/node_modules/mbt/node_modules/binwrap/install.js:20:10)
at Object.install (/usr/lib/node_modules/mbt/node_modules/binwrap/index.js:14:14)
at Object. (/usr/lib/node_modules/mbt/node_modules/binwrap/bin/binwrap-install:18:9)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/usr/lib/node_modules/mbt/unpacked_bin' }
Seems that the npm install step described in https://sap.github.io/cloud-mta-build-tool/download/
does not work for my system. Perhaps a bug or just need a correction to the MBT guide. Thanks for your help in advance. I have attached a more comprehensive log file of the exception.
Please provide the following info:
Steps to Reproduce:
1.npm install -g mbt
2.Got (https://github.com/SAP/cloud-mta-build-tool/files/3900865/log_file.zip)
an error, permission denied to use command mkdir
ERR { Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/mbt/unpacked_bin'
at Object.fs.mkdirSync (fs.js:885:18)
at /usr/lib/node_modules/mbt/node_modules/binwrap/binstall.js:46:10
at new Promise ()
at untgz (/usr/lib/node_modules/mbt/node_modules/binwrap/binstall.js:21:10)
at binstall (/usr/lib/node_modules/mbt/node_modules/binwrap/binstall.js:11:12)
at install (/usr/lib/node_modules/mbt/node_modules/binwrap/install.js:20:10)
at Object.install (/usr/lib/node_modules/mbt/node_modules/binwrap/index.js:14:14)
at Object. (/usr/lib/node_modules/mbt/node_modules/binwrap/bin/binwrap-install:18:9)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/usr/lib/node_modules/mbt/unpacked_bin' }
Solution found in : npm/npm#17268
Seems that the npm install step described in https://sap.github.io/cloud-mta-build-tool/download/
does not work for my system. Perhaps a bug or just need a correction to the MBT guide. Thanks for your help in advance. I have attached a more comprehensive log file of the exception.
log_file.zip
The text was updated successfully, but these errors were encountered: