copy a file and rename in terminal

cp [filename.extension] [newfilename.extension]

ex: cp spruce.js oak.js

^ duplicates spruce.js into a new file called oak.js

Advertisements
copy a file and rename in terminal

ur npm packages are out of date

fix ’em: https://stackoverflow.com/questions/16525430/npm-check-and-update-package-if-needed

if it isn’t working, you’re probably specifying a specific version in the package. Make sure there’s a little caret next to the version number so it can update:

“dependencies”: {
“aws-sdk”: “^2.178.0”,
“ejs”: “^2.5.7”,
“express”: “^4.16.2”,
“tabletop”: “^1.5.1”
},
ur npm packages are out of date