I modified the code like this: boilerplate-npm - Replit
but it turns out to be:
“dependencies” should include “moment”
“moment” version should be “2.14.0”
what is the meaning of this?
Your project link(s)
solution: boilerplate-npm - Replit
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Challenge: Expand Your Project with External Packages from npm
Link to the challenge:
It passes for me when I link to your your solution. I had to try it several times . Mostly due to delay between my Internet speed and Repl.
moment is an npm package for handling dates.
moment, like other packages, can be imported in a file in your project and provide some useful methods to operate with dates, so you dont have to write all that on your own, but have it already available to you.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.