Job search update and NPM Packages
This week I had a check-in with my career advisor. She gave me a critique on my finished portfolio and gave me some other strategies to use when reaching out to recruiters on Linkedin. While my portfolio is finished, there were some small changes I wanted to make to it and ran into trouble getting the changes deployed. I figured since it was hosted by Github all I had to do was push my changes to the main branch of my repository, but then ended up stumped that the changes weren’t being reflected on the deployed website. In the end I found that the simple solution was that I had to run the deploy command again in the terminal. This got the changes updated to my website!
npm install PACKAGE-NAME
replacing PACKAGE-NAME with the name of what you want installed. You can then go to the package-lock.json file in the root of you project folder to make sure it installed correctly and see what version was installed. Another way to install NPM packages is by editing your package.json file, adding the name of the package and version under dependencies as seen here:
then type the following into the command line:
NPM packages can also be installed globally to your computer so you can use them with every project you work on, for instance I have Redux and Redux-thunk installed globally on my machine since I frequently use it with every React project I am working on. TO do a global install of a package, in your command prompt type the following:
npm install -g PACKAGE-NAME
the -g flags the install as global.
To search and browse different packages that may be vital to your projects, you can go to the NPM page here:
For more documentation about NPM see the documents page on npm website here: