Okay… my idiot test moment on the “Build a Wikipedia Viewer”…. after spending a lot of time playing around with Wiki API Submodules for revision and info… a simple google search “get the first sentence of the Wikipedia page” rendered a useful Wiki API submodule: Extracts….
Hint! Time Saver code added: prop=extracts&exintro
This challenge threw me a bit; as I forgot that the LearnYouNode module was supplying it’s own file path and file type. Once I remembered that, I was able to complete the challenge by looping through the list of files and calling for the path information as hinted in the challenge. #StartaNodejsServer
Okay… this lesson gives you the
new information that you need to interact with file input stream; however, it expects you to recall how to process in arguments, which you learn in the previous lesson. Once you get the js script to read in the file name and assign it to a variable, then you can use the new information to accomplish this task.
So my first time attempting npm, encountered multiple errors. I was able to resolve them using the FreeCodeCamp form advise in thread: https://forum.freecodecamp.org/t/npm-cannot-find-module-process-nextick-args/145424/2
Simple fix to update the application version:
nvm install v6.11.3 then run npm install -g how-to-npm
This advise save the day… Yeah
I started FreeCodeCamp.com on May 30, 2017 in efforts to continue sharping the saw; as well as, learn some new languages like React. Today, I’m excited because I’m almost finished with Basic Algorithm Scripting.