cli-eb-test
Advanced tools
Comparing version 2.14.0 to 2.15.0
{ | ||
"name": "cli-eb-test", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"description": "A command-line tool for installation and customisation of the DADI platform", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -29,6 +29,10 @@ const colors = require('colors') | ||
if (err.code === 'EACCES') { | ||
console.log(`${colors.bold.red('ERROR')} DADI CLI failed to write to disk. Have you installed ${colors.underline('@dadi/cli')} as root (e.g. ${colors.underline('sudo npm install @dadi/cli -g')}? If so, you also need to run DADI CLI as root, prefixing all commands with ${colors.underline('sudo')})\n\nAlternatively (and ideally), see ${colors.underline('https://docs.npmjs.com/getting-started/fixing-npm-permissions')} for instructions on how to remove the need for using sudo with NPM altogether.`) | ||
console.log(`${colors.bold.red('ERROR:')} DADI CLI failed to write to disk. | ||
If you installed the ${colors.underline('@dadi/cli')} package as root (i.e. ${colors.underline('sudo npm install @dadi/cli -g')}), you also need to run all DADI CLI commands as root, prefixing them with ${colors.underline('sudo')} | ||
Alternatively, see ${colors.underline('https://docs.npmjs.com/getting-started/fixing-npm-permissions')} for instructions on how to change your NPM to remove the need for root permissions.`) | ||
process.exit(1) | ||
} | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205
7230