我已经从https://nodejs.org/en/下载并安装了node.js。我想运行一个js文件:console.log('hello');我运行节点 app.js并得到一个语法错误:SyntaxError: Invalid or unexpected token[90m at Module._compile (internal/modules/cjs/loader.js:895:18)[39m[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)[39m[90m at Module.load (internal/modules/cjs/loader.js:815:32)[39m[90m at Function.Module._load (internal/modules/cjs/loader.js:727:14)[39m[90m at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)[39m[90m at internal/main/run_main_module.js:17:11[39m我的操作系统信息:Version: 10.0.18362BuildNumber: 18362OSArchitecture: 32-bitnode.js v12.13.1
添加回答
举报
0/150
提交
取消