The code is broken.

You need to install the module readline-sync and import it.

Only one import string should be added to helper.js.

Don’t change solution.js.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

helper.js

export const askNameAndGreet = () => {
  const name = readlineSync.question('Please enter your name: ');

  console.log(`Hello, ${name}!`);
}

solution.js

/**
 * The code is broken.
 *
 * You need to install the module readline sync and import it
 *
 * Only one import string should be added to helper.js.
 *
 * Don't change solution.js.
 * */

import { askNameAndGreet } from './helper.js'

askNameAndGreet();