vue error
エラー: vue create
The engine "node" is incompatible with this module. Expected version "^8.12.0 || >=9.7.0". Got "8.11.3"
対処
Expedted versionに合わせる
nvm install 8.12.0
nvm alias default v8.12.0
mac
/usr/local/bin/nodeが優先的に動作している
rm -rf /usr/local/bin/node
確認
nvm ls
エラー: ファイル保存時・ビルド時
[Vue warn]: Unknown custom element: - did you register the component correctly? - For recursive components, make sure to provide the "name" option.
対処
Vue.component('xxx',{})が無い
Vue.component('xxx',{})がnew Vueより後に書かれている
エラー: yarn serve
error: Unexpected console statement (no-console) at ...
対処
javascriptでconsole.log を許可するか、console.logを削除する
package.json
{
"eslintConfig": {
"rules": {
"no-console": 0
}
}
}
Author And Source
この問題について(vue error), 我々は、より多くの情報をここで見つけました https://qiita.com/daikuro/items/352608be694055c6aaed著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .