Tell us what’s happening:
The challenge requests moment version 2.10.2 be installed, which is what I did, but the test still comes out wrong. I do not know what is wrong
Your project link(s)
{
"name": "fcc-learn-npm-package-json",
"dependencies": {
"express": "^4.14.0",
"moment": "^2.10.2"
},
"main": "server.js",
"author": "Oyafemi Babajide",
"description": "FreeCodeCamp API course",
"keywords": [
"freecodecamp",
"Node",
"Express",
"MongoDB"
],
"license": "MIT",
"version": "1.0.0",
"scripts": {
"start": "node server.js"
},
This file has been truncated. show original
solution: https://z4f0d5439-z3bef7d39-gtw.qovery.io
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36
Challenge: Manage npm Dependencies By Understanding Semantic Versioning
Link to the challenge:
Hi @Babajide7 !
Maybe you can try to remove the carret here
"moment": "^2.10.2"
Try running this
"moment": "2.10.2"
1 Like
Thanks, Jessica, It worked. Regards.
1 Like
system
Closed
April 9, 2022, 2:22am
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.