文章詳情頁(yè)
javascript - 用atom安裝linter-eslint插件出錯(cuò)
瀏覽:196日期:2023-02-23 10:26:12
問(wèn)題描述
用atom安裝linter-eslint插件時(shí),用手動(dòng)安裝了linter-eslint,裝完所需模塊后提示無(wú)法激活Failed to activate the linter-eslint packageError: Unsupported preset format: undefined. (While processing preset: 'C:Usersshexm.atompackageslinter-eslint-masternode_modulesnode5test.js')
以下是node5文件夾中的test.js完整代碼
console.log(’hello wold’)
function hello() {
console.log(’hello, this is my first package!fumingyu’)
}module.exports=hello;不知怎樣激活
問(wèn)題解答
回答1:我記得要 eslint 的話插件要裝 linter 和 linter-eslint 有可能這兩個(gè)插件沒有安裝好的原因。
可以重新安裝一下,或者用 apm 這個(gè)官方包管理命令來(lái)安裝,安裝完成重新重啟一下 atom
標(biāo)簽:
JavaScript
上一條:javascript - jquery.fileupload 回調(diào)函數(shù)的返回對(duì)象里沒有ajax接口的返回值下一條:javascript - 關(guān)于apply()與call()的問(wèn)題
相關(guān)文章:
1. javascript - sublime快鍵鍵問(wèn)題2. javascript - immutable配合react提升性能?3. vue.js - Vue 如何像Angular.js watch 一樣監(jiān)聽數(shù)據(jù)變化4. 實(shí)現(xiàn)bing搜索工具urlAPI提交5. javascript - 移動(dòng)端上不能實(shí)現(xiàn)拖拽布局嗎?6. 如何解決Centos下Docker服務(wù)啟動(dòng)無(wú)響應(yīng),且輸入docker命令無(wú)響應(yīng)?7. javascript - nodejs關(guān)于進(jìn)程間發(fā)送句柄的一點(diǎn)疑問(wèn)8. thinkPHP5中獲取數(shù)據(jù)庫(kù)數(shù)據(jù)后默認(rèn)選中下拉框的值,傳遞到后臺(tái)消失不見。有圖有代碼,希望有人幫忙9. java - 使用fastjson對(duì)HashMap進(jìn)行序列化錯(cuò)誤10. index.php錯(cuò)誤,求指點(diǎn)
排行榜

熱門標(biāo)簽
網(wǎng)公網(wǎng)安備