Apparently -p does not currently require the script source to be passed in as a command argument. You can name a .js file or input commands interactively. This behavior is reiterated by node --help and the test stdin_messages.js depends on it.