E
E
Egor Babintsev2019-07-28 15:07:13
Node.js
Egor Babintsev, 2019-07-28 15:07:13

Object properties are not displayed when running script on node js in ubuntu bash. How to fix?

When running the simplest script in ubuntu bash under windows 10 through node.js, object property values ​​are not displayed. Thus if to address directly to property, then everything works. I can not understand what is the problem, encoding, or problems with node. Google did not give answers (I would be very grateful to someone who can help. Thank you for your time.
5d3d90bb64afa479316442.png

let obj = {
  name: 'Object',
  age: 'about 1 min'
};

console.log(obj);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-07-28
@egor_babintsev

wangyu: terminal color scheme problem; there is an output, but the color is the same as that of the background.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question