We are aware of the problem, and will be looking into fixing it. For now, we suggest you skip this lesson, and return, once the issue has been resolved.
Once this post is unpinned, this indicates the issue has been resolved.
why am I getting this error
TypeError: unknown: (0 , s.extname) is not a function
Your code so far
import { uppercaseString, lowercaseString } from './string_functions.js';
// add code above this line
uppercaseString("hello");
lowercaseString("WORLD!");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Safari/537.36.
There is an issue on the github looking into this. So, it is not you but the challenge is broken. For now, just understand what this lesson is teaching, back out of it, and try to move onto the next challenge. You can come back and do this one later. Or not.
There is an issue on the github looking into this. So, it is not you but the code is broken. For now, just understand what this lesson is teaching, back out of it, and try to move onto the next challenge. You can come back and do this one later. Or not.
My code is working fine and completing all the test cases, it’s just that it’s giving me a warning/error “ReferenceError: require is not defined”. I don’t get it why?
Your code so far
import {uppercaseString, lowercaseString} from './string_functions.js';
// Only change code above this line
uppercaseString("hello");
lowercaseString("WORLD!");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.