Error in lesson without changing code?

Error with the code…without ANY modifications. WHY?

Oops! The test returned an error. Maybe you have a syntax error, or a typo. Hide error.

/home/ccuser/node_modules/mocha/lib/utils.js:634

    throw new Error("cannot resolve path (or pattern) '" + path + "'");

    ^

Error: cannot resolve path (or pattern) ‘test/test.js’

at Object.lookupFiles (/home/ccuser/node_modules/mocha/lib/utils.js:634:15)

at /home/ccuser/node_modules/mocha/bin/_mocha:327:30

at Array.forEach (native)

at Object.<anonymous> (/home/ccuser/node_modules/mocha/bin/_mocha:326:6)

at Module._compile (module.js:571:32)

at Object.Module._extensions..js (module.js:580:10)

at Module.load (module.js:488:32)

at tryModuleLoad (module.js:447:12)

at Function.Module._load (module.js:439:3)

at Module.runMain (module.js:605:10)

at run (bootstrap_node.js:427:7)

at startup (bootstrap_node.js:151:9)

at bootstrap_node.js:542:3
3 Likes

Good day. please i am kid of stuck in exercise two of coding. it won’t go further. please i need advice as i am totally new to coding

10 Likes

i am extremely new to coding and i’m kinda stuck in exercise i need help instantly

2 Likes

You can always create a new thread explaining what you need help with!

2 Likes

Hello, I keep getting stuck on the second part of the lesson thing. Before I even go to change something, it runs the program by itself and says it has an error.
This is what it says:
Oops! The test returned an error. Maybe you have a syntax error, or a typo. Hide error.

/home/ccuser/node_modules/mocha/lib/utils.js:634

    throw new Error("cannot resolve path (or pattern) '" + path + "'");

    ^

Error: cannot resolve path (or pattern) ‘test/test.js’

at Object.lookupFiles (/home/ccuser/node_modules/mocha/lib/utils.js:634:15)

at /home/ccuser/node_modules/mocha/bin/_mocha:327:30

at Array.forEach (native)

at Object.<anonymous> (/home/ccuser/node_modules/mocha/bin/_mocha:326:6)

at Module._compile (module.js:571:32)

at Object.Module._extensions..js (module.js:580:10)

at Module.load (module.js:488:32)

at tryModuleLoad (module.js:447:12)

at Function.Module._load (module.js:439:3)

at Module.runMain (module.js:605:10)

at run (bootstrap_node.js:427:7)

at startup (bootstrap_node.js:151:9)

at bootstrap_node.js:542:3
2 Likes

Continuing the discussion from FAQ: Welcome to Codecademy! - Write some code!:

This is the screen I get before I can even add my name.
image
Help!

3 Likes

i have the same thing

1 Like

Following up on this question, I am having the same issue

1 Like

I had the same issue. if your on step 2 where the right side of your screen is blocked out hit F5 to refresh the page. I hope this helps

3 Likes

hi guys can i see what you are up to:hugs:

i’ve had a look and i have the same ploblem :pouting_cat:

I just past the step 2

Hello. I’m new to this whole computer coding stuff and coding foundation was recommended to me. I am having the same problem as I can’t work step 2. Does anyone have any pointers?

Really!?! How? I am overjoyed. Well sorry I haven’t introduced myself. K.E . V nice to meet you.

Lucky you. Mine doesn’t do a thing. But are you through it now because I really need pointers. I’m asking a lot of people …I know but anyone available should PLS PLS
PLS!! help me out. PLS!!!

I believe that the learning environment is refreshing and checking for errors when idle :eyes:

Hey everyone, I reported this as a bug. If anyone else runs across this error, please post here: (report a bug)[https://help.codecademy.com/hc/en-us/articles/220711148-Report-a-Bug-or-Typo]
As you will have all the detailed information regarding computer, browser, etc.

The other temporary solution is to refresh the page, and if that doesn’t work try clearing cache/cookies and restarting the browser. I hope that helps!

1 Like