N
Nuxtโ€ข7mo ago
mizu

Too Many Deprecation Warnings

Hello, I'm a junior software developers at a certain company, and they had this Nuxt2 projects. We kinda want to migrate it to Nuxt3, but there are so many things that needs to be changed(?), so we decide to try Nuxt Bridge instead. And to be honest, it works perfectly fine, except, when i first run npm run dev, it showed so many deprecation warnings related to vuetify, like the image. After waiting for almost 2 hours, the application runs perfectly fine. Is there any way to run it and ignore the deprecation warnings?? Or is there any way to solve the problem instead?? Here is the package.json
{
"name": "hospitality-suite",
"version": "1.0.0",
"author": "",
"private": true,
"scripts": {
"dev": "nuxt2 --no-deprecation",
"build": "nuxt2 build",
"start": "nuxt2 start",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
},
"dependencies": {
"@bugsnag/js": "^7.9.2",
"@bugsnag/plugin-vue": "^7.9.2",
"@mdi/font": "^3.6.95",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/pwa": "^3.3.5",
"@riophae/vue-treeselect": "^0.4.0",
"file-saver": "^2.0.2",
"fullcalendar-scheduler": "^1.10.0",
"jquery": "^3.6.0",
"jquery-ui-bundle": "^1.12.1-migrate",
"js-cookie": "^2.2.1",
"konva": "^4.1.2",
"moment": "^2.24.0",
"nuxt": "^2.17.3",
"nuxt-dropzone": "^1.0.4",
"nuxt-vuex-localstorage": "^1.2.6",
"vue-chartist": "^2.2.0",
"vue-full-calendar": "^2.7.0",
"vue-konva": "^2.1.1",
"vue-sweetalert2": "^3.0.3",
"vue-the-mask": "^0.11.1",
"vue-titlecase": "^0.2.1",
"vue-toasted": "^1.1.28",
"vue-xlsx-table": "^1.2.8",
"vuetify": "^2.6.14",
"xlsx": "^0.16.0"
},
"devDependencies": {
"@bugsnag/source-maps": "^2.0.0",
"@nuxt/bridge": "^3.2.1",
"@nuxtjs/eslint-config": "^1.0.1",
"@nuxtjs/eslint-module": "^1.0.0",
"@nuxtjs/vuetify": "^1.11.3",
"babel-eslint": "^10.0.1",
"eslint": "^6.1.0",
"eslint-plugin-nuxt": ">=0.4.2",
"node-sass": "^4.14.1",
"nuxi": "^3.11.1",
"stylus": "^0.54.7"
}
}
{
"name": "hospitality-suite",
"version": "1.0.0",
"author": "",
"private": true,
"scripts": {
"dev": "nuxt2 --no-deprecation",
"build": "nuxt2 build",
"start": "nuxt2 start",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
},
"dependencies": {
"@bugsnag/js": "^7.9.2",
"@bugsnag/plugin-vue": "^7.9.2",
"@mdi/font": "^3.6.95",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/pwa": "^3.3.5",
"@riophae/vue-treeselect": "^0.4.0",
"file-saver": "^2.0.2",
"fullcalendar-scheduler": "^1.10.0",
"jquery": "^3.6.0",
"jquery-ui-bundle": "^1.12.1-migrate",
"js-cookie": "^2.2.1",
"konva": "^4.1.2",
"moment": "^2.24.0",
"nuxt": "^2.17.3",
"nuxt-dropzone": "^1.0.4",
"nuxt-vuex-localstorage": "^1.2.6",
"vue-chartist": "^2.2.0",
"vue-full-calendar": "^2.7.0",
"vue-konva": "^2.1.1",
"vue-sweetalert2": "^3.0.3",
"vue-the-mask": "^0.11.1",
"vue-titlecase": "^0.2.1",
"vue-toasted": "^1.1.28",
"vue-xlsx-table": "^1.2.8",
"vuetify": "^2.6.14",
"xlsx": "^0.16.0"
},
"devDependencies": {
"@bugsnag/source-maps": "^2.0.0",
"@nuxt/bridge": "^3.2.1",
"@nuxtjs/eslint-config": "^1.0.1",
"@nuxtjs/eslint-module": "^1.0.0",
"@nuxtjs/vuetify": "^1.11.3",
"babel-eslint": "^10.0.1",
"eslint": "^6.1.0",
"eslint-plugin-nuxt": ">=0.4.2",
"node-sass": "^4.14.1",
"nuxi": "^3.11.1",
"stylus": "^0.54.7"
}
}
No description
9 Replies
mizu
mizuOPโ€ข7mo ago
notes: i tried to do npm run nuxt2 --no-deprecation npm run nuxt2 --no-warnings both didnt work
manniL
manniLโ€ข7mo ago
the deprecation warnigns are because of SASS syntax used in vuetify
manniL
manniLโ€ข7mo ago
GitHub
feature request: : Add a flag to turn off DEPRECATION WARNS ยท Issue...
Since version 4.9 of node-sass the current warning is being shown in a lot of projects. (you may see an open issue asking for a way to silence the warning here) DEPRECATION WARNING: Passing a strin...
manniL
manniLโ€ข7mo ago
you could downgrade the sass version though
mizu
mizuOPโ€ข7mo ago
is there any recommended version that can be used?
manniL
manniLโ€ข7mo ago
maybe - it is best to check the issue ๐Ÿ™‚ but of course it'd be better to fix the issues ๐Ÿ˜„
mizu
mizuOPโ€ข7mo ago
as of now my team prioritize the application to run first, so need to find quick fix for a while ๐Ÿ˜ญ
manniL
manniLโ€ข7mo ago
it should run even with all the warnings as they are just that warnings
mizu
mizuOPโ€ข7mo ago
true, but it takes time before the app runs like, 1 1/2 hour just to see those warnings in the end i downgrade my sass version to 1.32.13, thankyou for your advice!
Want results from more Discord servers?
Add your server