nativescript-nfc
nativescript-nfc copied to clipboard
Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin'
as soon as i execute ns plugin add nativescript-nfc
i get the error mentioned in the title when trying to run ns run android
my package.json looks like this:
"dependencies": {
"@nativescript-community/ui-material-bottomnavigationbar": "^5.3.0",
"@nativescript-community/universal-links": "^2.0.3",
"@nativescript/core": "~8.0.6",
"@nativescript/firebase": "^11.1.3",
"@nativescript/theme": "~3.0.1",
"@sergeymell/nativescript-svg": "^1.1.0",
"@triniwiz/nativescript-toasty": "^4.1.3",
"cross-env": "^7.0.3",
"dayjs": "^1.10.5",
"dotenv": "^9.0.2",
"nativescript-barcodescanner": "^4.1.1",
"nativescript-nfc": "^5.0.0",
"svelte-native": "^1.0.0-beta.2",
"url-search-params-polyfill": "^8.1.1"
},
"devDependencies": {
"@nativescript/android": "8.0.0",
"@nativescript/types": "~8.0.1",
"@nativescript/webpack": "beta",
"nativescript-tailwind": "^2.0.1",
"postcss": "^8.2.10",
"postcss-loader": "^5.2.0",
"sass": "^1.32.8",
"svelte": "~3.38.2",
"svelte-loader": "~3.1.1",
"svelte-native-preprocessor": "^1.0.0",
"svelte-preprocess": "^4.7.3",
"tailwindcss": "^2.1.2",
"typescript": "~4.2.3"
},
i tried npm install
clean again without luck. removing the plugin and running the app works again.
update: I was able to fix it by executing npm install vue-loader
Thus i am proposing to add this package as a dependecy to this plugin.