Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Cannot find module "."

$
0
0

@namaa wrote:

Hi,
When I run command “ionic cordova run android --prod”,
error is:
Uncaught Error: Cannot find module “.”

package.json:
{

“name”: “ionic-hello-world”,

“author”: “Ionic Framework”,

“homepage”: “http://ionicframework.com/”,

“private”: true,

“scripts”: {

"build": "ionic-app-scripts build --prod",

"watch": "ionic-app-scripts watch",

"serve:before": "watch",

"emulate:before": "build",

"deploy:before": "build",

"build:before": "build",

"run:before": "build"

},

“dependencies”: {

"@angular/common": "^5.2.11",

"@angular/compiler": "^7.2.16",

"@angular/compiler-cli": "^7.2.16",

"@angular/core": "^7.2.16",

"@angular/forms": "5.0.0",

"@angular/http": "5.0.0",

"@angular/platform-browser": "5.0.0",

"@angular/platform-browser-dynamic": "^7.2.16",

"@angular/tsc-wrapped": "^4.4.6",

"@ionic-native/app-version": "^5.23.0",

"@ionic-native/barcode-scanner": "^4.20.0",

"@ionic-native/camera": "^4.3.3",

"@ionic-native/core": "^4.3.3",

"@ionic-native/deeplinks": "^4.20.0",

"@ionic-native/device": "^4.20.0",

"@ionic-native/fcm": "^4.20.0",

"@ionic-native/file": "^4.11.0",

"@ionic-native/file-chooser": "^4.11.0",

"@ionic-native/file-path": "^4.11.0",

"@ionic-native/file-transfer": "^4.11.0",

"@ionic-native/http": "^4.6.0",

"@ionic-native/in-app-browser": "^4.20.0",

"@ionic-native/ionic-webview": "^5.2.0",

"@ionic-native/media": "^4.20.0",

"@ionic-native/social-sharing": "^4.20.0",

"@ionic-native/splash-screen": "^5.2.0",

"@ionic-native/sqlite": "^4.6.0",

"@ionic-native/status-bar": "^4.3.3",

"@ionic-native/streaming-media": "^4.20.0",

"@ionic/angular": "^5.0.7",

"@ionic/storage": "^2.1.3",

"@ngx-translate/core": "^11.0.1",

"@ngx-translate/http-loader": "^4.0.0",

"@types/jquery": "^3.3.33",

"autoprefixer": "^7.1.6",

"cordova": "^9.0.0",

"cordova-android": "8.1.0",

"cordova-browser": "^6.0.0",

"cordova-ios": "4.5.5",

"cordova-plugin-advanced-http": "^1.11.1",

"cordova-plugin-androidx": "1.0.2",

"cordova-plugin-androidx-adapter": "1.1.0",

"cordova-plugin-barcodescanner": "^0.7.4",

"cordova-plugin-compat": "^1.2.0",

"cordova-plugin-device": "^2.0.2",

"cordova-plugin-fcm-with-dependecy-updated": "2.4.0",

"cordova-plugin-file": "^6.0.1",

"cordova-plugin-inappbrowser": "^3.2.0",

"cordova-plugin-ionic-keyboard": "^2.1.3",

"cordova-plugin-ionic-webview": "^4.0.0",

"cordova-plugin-splashscreen": "^5.0.3",

"cordova-plugin-statusbar": "^2.4.2",

"cordova-plugin-streaming-media": "2.2.0",

"cordova-plugin-whitelist": "git+https://github.com/apache/cordova-plugin-whitelist.git",

"cordova-plugin-x-socialsharing": "5.6.5",

"es6-promise-plugin": "4.2.2",

"ionic-angular": "3.9.2",

"ionic-configuration-service": "^6.0.0",

"ionic-gallery-modal": "^0.2.7",

"ionic-plugin-deeplinks": "1.0.19",

"ionic-plugin-keyboard": "^2.2.1",

"ionicons": "3.0.0",

"jquery": "^3.4.1",

"ng-lazyload-image": "^3.4.2",

"phonegap-plugin-barcodescanner": "8.1.0",

"rxjs": "^5.5.12",

"sw-toolbox": "3.6.0",

"zone.js": "0.8.18"

},

“devDependencies”: {

"@angular-devkit/build-angular": "^0.900.3",

"@angular/cli": "^9.1.3",

"@ionic/app-scripts": "^3.2.1",

"@types/node": "^13.13.2",

"ionic": "^5.4.16",

"typescript": "^3.1.1",

"ws": "3.3.2"

},

“description”: “My App”,

“cordovaPlugins”: ,

“cordovaPlatforms”: ,

“cordova”: {

"platforms": [

  "browser",

  "ios",

  "android"

],

"plugins": {

  "cordova-plugin-ionic-keyboard": {},

  "cordova-plugin-advanced-http": {},

  "cordova-plugin-whitelist": {},

  "cordova-plugin-device": {},

  "cordova-plugin-statusbar": {},

  "cordova-plugin-file": {},

  "cordova-plugin-inappbrowser": {},

  "cordova-plugin-ionic-webview": {

    "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"

  },

  "cordova-plugin-fcm-with-dependecy-updated": {},

  "ionic-plugin-deeplinks": {

    "URL_SCHEME": "App",

    "DEEPLINK_SCHEME": "https",

    "DEEPLINK_HOST": "secret.namaatests.com/",

    "ANDROID_PATH_PREFIX": "/"

  },

  "cordova-plugin-streaming-media": {},

  "cordova-plugin-barcodescanner": {},

  "cordova-plugin-splashscreen": {},

  "cordova-plugin-androidx": {},

  "cordova-plugin-androidx-adapter": {},

  "cordova-plugin-x-socialsharing": {

    "ANDROID_SUPPORT_V4_VERSION": "24.1.1+",

    "PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.",

    "PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly."

  }

}

}

}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>