Closed jmargolese closed 6 years ago
same issue please help
Same issue here !!
Same Problem :(
Step 1: delete all folder except src and resources Step 2: run command npm install Step 3: run command ionic serve Step 4: run command ionic cordova build android this process solved my issue
I couldn't fix it and now I'm using the Barcode Scanner. This plugin can also scan QR codes.
I have the same error, and I do not use ionic. Command: phonegap plugin add cordova-plugin-qrscanner Error: (node:14296) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module '../cordova/platform_metadata'
Is there a fix or workaround available? ps.: EnggZahidulislam's solution did not work for me
phonegap info Node version: v8.9.2 Cordova version: 8.0.0
I've been encountering that same issue...
I have the same issue aswel. If someone knows a fix...
My solution: use phonegap-plugin-barcodescanner. Although I understand that might not be possible for everyone.
My solution: use phonegap-plugin-barcodescanner. Although I understand that might not be possible for everyone.
I wanted to try this plugin, since the phonegap-plugin-barcodescanner plugin is a bit slow in opening the scanner.
Yes, the phonegap scanner is definately a bit slower. But what can one do :(
Yeah indeed. I had implemented Scandit which is superior over all scanners, but it's way to expensive also.
As a workaround, you can downgrade to cordova 7:
npm uninstall -g cordova && npm install -g cordova@7.1.0
I have the same issue
try this
This was a bug in cordova-plugin-add-swift-support, just update it to latest version (1.7.1)
cordova plugin rm cordova-plugin-add-swift-support --force cordova plugin add cordova-plugin-add-swift-support
Installing on Ionic results in a failure with:
There were similar errors with cordova-plugin-ios etc that are supposed to have been fixed and may show the error.
Workaround is to downgrade from Cordova 8 to cordova 7.1.0
npm uninstall -g cordova npm install -g cordova@7.1.0
and then installed with cordova... not ionic cordova.
My env when I first encountered the error:
ionic info
cli packages: (/Users/joelm/.nvm/versions/node/v8.4.0/lib/node_modules)
global packages:
local packages:
System:
Environment Variables:
Misc: