What do you want to save?
Add Code snippet
New code examples
-
-
Javascript 2021-09-15 22:36:03
the angular cli requires a minimum node.js version of either v10.13 or v12.0
I would recommend you to remove your NodeJS installation completely and re-install NodeJS through NVM. This way you can easily switch between multiple NodeJS versions and the other benefit of that for each active NodeJS version you may able to install spe... Add solution -
-
Other 2021-09-07 04:04:04
nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local"
# Solution, your version (e.g. v10.16.0) might be different. # run to determine your version number ls -l $NVM_DIR/versions/node # to be able to start node nvm use --delete-prefix v10.16.0 # to ensure that it’s working node # to ensure that it&rs... Add solution -
Shell/Bash 2021-09-07 03:26:01
resize disk in AWS
#!/bin/bash # Specify the desired volume size in GiB as a command line argument. If not specified, default to 20 GiB. SIZE=${1:-20} # Get the ID of the environment host Amazon EC2 instance. INSTANCEID=$(curl http://169.254.169.254/latest/meta-data/insta... Add solution -