diff --git a/build/npm-run.py b/build/npm-run.py index 77b9f128e549..bd0c9097bf11 100644 --- a/build/npm-run.py +++ b/build/npm-run.py @@ -16,5 +16,5 @@ try: subprocess.check_output(args, stderr=subprocess.STDOUT) except subprocess.CalledProcessError as e: error_msg = "NPM script '{}' failed with code '{}':\n".format(sys.argv[2], e.returncode) - print(error_msg + e.output.decode('ascii')) + print(error_msg + e.output.decode('utf8')) sys.exit(e.returncode)