WARNING in ./node_modules/moment/locale/en-SG.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* /var/www/hint_ui/node_modules/moment/locale/en-SG.js
Used by 2 module(s), i. e.
/var/www/hint_ui/node_modules/moment/locale sync /^\.\/.*$/
* /var/www/hint_ui/node_modules/moment/locale/en-sg.js
Used by 2 module(s), i. e.
/var/www/hint_ui/node_modules/moment/locale sync /^\.\/.*$/
@ ./node_modules/moment/locale/en-SG.js
@ ./node_modules/moment/locale sync ^\.\/.*$
@ ./node_modules/moment/moment.js
@ ./node_modules/source-map-loader!./node_modules/vue-loader/lib??vue-loader-options!./src/components/admin/pages/episodes/episode_edit.vue?vue&type=script&lang=js&
@ ./src/components/admin/pages/episodes/episode_edit.vue?vue&type=script&lang=js&
@ ./src/components/admin/pages/episodes/episode_edit.vue
@ ./src/router/admin.js
@ ./src/router/index.js
@ ./src/app.js
@ multi ./src/app.js
アップグレード後のすべてのアプリケーション。
"moment": "^2.22.2",
node_modules
を更新しても、この動作は発生しますか?
このファイルの名前が変更されました
https://github.com/moment/moment/commit/92a58a5835da73e131a1a34d651cc78be6d03a5f#diff -540a63bb36c023e0365ce843d13413b1
私は同じ問題を抱えています。node_modulesディレクトリを削除してdepsを再度インストールしようとしましたが、うまくいきました。
はい、フォルダnode_modulesを削除すると、yarn / npmのインストールで問題が解決します。ありがとうございます。