Skip to main content
added 35 characters in body
Source Link
Malekai
  • 5k
  • 6
  • 30
  • 64

I got anthe following error when using strict mode.

Node error: "Octal literals are not allowed in strict mode."

I found the answer here: https://github.com/SBoudrias/Inquirer.js/issues/111

Node error: "Octal literals are not allowed in strict mode."

process.stdout.writeThe following solution works ("received: " + bytesReceived + "\x1B[0G"source);:

process.stdout.write("received: " + bytesReceived + "\x1B[0G");

I got an error when using strict mode.

Node error: "Octal literals are not allowed in strict mode."

I found the answer here: https://github.com/SBoudrias/Inquirer.js/issues/111

process.stdout.write("received: " + bytesReceived + "\x1B[0G");

I got the following error when using strict mode:

Node error: "Octal literals are not allowed in strict mode."

The following solution works (source):

process.stdout.write("received: " + bytesReceived + "\x1B[0G");
Source Link
blablabla
  • 1.5k
  • 16
  • 17

I got an error when using strict mode.

Node error: "Octal literals are not allowed in strict mode."

I found the answer here: https://github.com/SBoudrias/Inquirer.js/issues/111

process.stdout.write("received: " + bytesReceived + "\x1B[0G");