鍍金池/ 問答/HTML/ nuxt express koa babylon

nuxt express koa babylon

nuxt express后臺 npm run dev的時候提示:

No parser and no filepath given, using 'babylon' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
圖片描述

之前不提示的 突然有一天就開始提示了 沒有操作或者升級任何和node npm nuxt相關的東西

PS:順便問下 nuxt 1.4版本 怎么修改端口號啊 按照官方的說法 在package.json添加config里邊修改host和在scripts里邊dev那兒添加 都不行 一運行就報錯。

回答
編輯回答
萌面人

同樣遇到了這個問題, 我在官方的 issues 中找到了類似的問題, 回復中說這是警告而不是錯誤, 但沒有直觀指出解決的方法, 您可以自己去看一下 Nuxt.js running error!??!

2017年2月19日 23:33