第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

node.js SyntaxError:無(wú)效或意外的令牌

node.js SyntaxError:無(wú)效或意外的令牌

我已經(jīng)從https://nodejs.org/en/下載并安裝了node.js。我想運(yùn)行一個(gè)js文件:console.log('hello');我運(yùn)行節(jié)點(diǎn) app.js并得到一個(gè)語(yǔ)法錯(cuò)誤: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我的操作系統(tǒng)信息:Version: 10.0.18362BuildNumber: 18362OSArchitecture: 32-bitnode.js v12.13.1
查看完整描述

2 回答

?
MMMHUHU

TA貢獻(xiàn)1834條經(jīng)驗(yàn) 獲得超8個(gè)贊

您是否從 word 或其他內(nèi)容中復(fù)制了一些 unicode 字符?

當(dāng)我從 word 文檔中復(fù)制一些代碼時(shí),嘗試重新輸入console.log('hello')以前發(fā)生在我身上的事情。


查看完整回答
反對(duì) 回復(fù) 2022-01-13
?
繁花不似錦

TA貢獻(xiàn)1851條經(jīng)驗(yàn) 獲得超4個(gè)贊

問(wèn)題是我通過(guò)在 powershell 中重定向 echo 命令的輸出來(lái)創(chuàng)建文件。它有 UTF-16 LE 編碼,應(yīng)該是 UTF-8


查看完整回答
反對(duì) 回復(fù) 2022-01-13
  • 2 回答
  • 0 關(guān)注
  • 492 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)