Stuck on LEARN INTERMEDIATE JAVASCRIPT > WorkAround APP

Hello all,

making good progress through the —LEARN INTERMEDIATE JAVASCRIPT course.

However I can’t fix this fairly simple modules exercise. There is no console with the challenge nor any ‘solution code’. I’ve emailed support and they have been no help.

Can anyone see what his doesn’t work or is it an issue with the app?

Fork
https://www.codecademy.com/workspaces/64ee0d4a6b4702dd5fac8746

Any help appreciated!

Dan.

Can you provide a link to the challenge itself please?

heya - I did above! There’s a shared link to a forked version of the project.

Ive got the same issue here: https://www.codecademy.com/workspaces/652db1b1906f19cebe5adade

If I pasted it into VScode it works fine, but does not work here. a bit frustrating as reading the forums this looks like it has been a thing for a good few years.

In the console (that you can get to using the browser’s “Developer Tools” menu)
it says there’s an error:
Uncaught SyntaxError: The requested module './salaryData.js' does not provide an export named 'default' (at workAroundModule.js:3:8)
I think that means that you’re missing a default export in salaryData.js
something like
export default salaryData;
should be at the end of that file
so that the salaryData object is the default export.

1 Like

Genius, i think you are right! I wish I understood how you figgured that out but it certainly fixed it :slight_smile: