eakoriakin / ionic-selectable

Ionic Selectable is an Ionic versatile and highly customizable component that serves as a replacement to Ionic Select, and allows to search items, including async search, create items, customize the layout with templates and much more. It provides an intuitive API and is easy to set up and use.
MIT License
550 stars 123 forks source link

Can't resolve '@utils/keyboard/keyboard-controller' #430

Open Liamm3 opened 1 year ago

Liamm3 commented 1 year ago

Hello there, I am currently in the process of migrating a project from Ionic 6 and Angular 7.2 to Ionic 7 and Angular 16.2. I'm encountering the same issue as described in #417. When attempting to build the project, I am get the following error:

./node_modules/@ionic-selectable/core/dist/esm/ion-tab-bar.entry.js:2:0-79 - Error: Module not found: Error: Can't resolve '@utils/keyboard/keyboard-controller' in '/Users/frank/ionic/mein-metronom-app/node_modules/@ionic-selectable/core/dist/esm'

That's the same error like in the above issue, but removing node_modules/ and package.lock.json did not help unfortunately. Does anybody has an idea how to fix this? I'm relatively new to Ionic and Angular, so any assistance would be greatly appreciated. :)

Here are the dependencies in my package.json:

  "dependencies": {
    "@angular/common": "^16.2.1",
    "@angular/core": "^16.2.1",
    "@angular/forms": "^16.2.1",
    "@angular/platform-browser": "^16.2.1",
    "@angular/platform-browser-dynamic": "^16.2.1",
    "@angular/router": "^16.2.1",
    "@awesome-cordova-plugins/android-permissions": "^6.4.0",
    "@awesome-cordova-plugins/core": "^6.4.0",
    "@awesome-cordova-plugins/diagnostic": "^6.4.0",
    "@awesome-cordova-plugins/fcm": "^6.4.0",
    "@awesome-cordova-plugins/geolocation": "^6.4.0",
    "@awesome-cordova-plugins/in-app-browser": "^6.4.0",
    "@awesome-cordova-plugins/keyboard": "^6.4.0",
    "@awesome-cordova-plugins/network": "^6.4.0",
    "@awesome-cordova-plugins/splash-screen": "^6.4.0",
    "@awesome-cordova-plugins/status-bar": "^6.4.0",
    "@ionic-selectable/angular": "^5.0.0-alpha.19",
    "@ionic-selectable/core": "^5.0.0-alpha.19",
    "@ionic/angular": "^7.3.0",
    "@ionic/storage-angular": "^4.0.0",
    "@types/jquery": "^3.5.17",
    "ajv": "^8.12.0",
    "ajv-keywords": "^5.1.0",
    "cordova-browser": "7.0.0",
    "core-js": "^3.32.1",
    "ionic-selectable": "^5.0.2",
    "jquery": "^3.7.0",
    "lodash": "^4.17.21",
    "rxjs": "^7.8.1",
    "sass": "^1.66.1",
    "ts-md5": "^1.3.1",
    "utils": "^0.3.1"
  },
  "devDependencies": {
    "@angular-devkit/architect": "~0.1602.0",
    "@angular-devkit/build-angular": "^16.2.0",
    "@angular-devkit/core": "~16.2.0",
    "@angular-devkit/schematics": "~16.2.0",
    "@angular/cli": "^16.2.0",
    "@angular/compiler": "^16.2.1",
    "@angular/compiler-cli": "^16.2.1",
    "@angular/language-service": "^16.2.1",
    "@ionic/angular-toolkit": "^10.0.0",
    "@types/jasmine": "^4.3.5",
    "@types/jasminewd2": "^2.0.10",
    "@types/node": "~20.5.3",
    "codelyzer": "~6.0.2",
    "cordova-android": "^12.0.0",
    "cordova-ios": "^7.0.0",
    "cordova-plugin-android-permissions": "^1.1.5",
    "cordova-plugin-device": "^2.1.0",
    "cordova-plugin-fcm-with-dependecy-updated": "git+https://github.com/marutifh/cordova-plugin-fcm-with-dependecy-updated.git",
    "cordova-plugin-geolocation": "^4.1.0",
    "cordova-plugin-inappbrowser": "^5.0.0",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^5.0.0",
    "cordova-plugin-network-information": "^3.0.0",
    "cordova-plugin-statusbar": "^3.0.0",
    "cordova-sqlite-storage": "^6.1.0",
    "cordova.plugins.diagnostic": "^7.1.2",
    "jasmine-core": "~5.1.0",
    "jasmine-spec-reporter": "~7.0.0",
    "karma": "^6.4.2",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage-istanbul-reporter": "^3.0.3",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "^2.1.0",
    "protractor": "^5.4.4",
    "ts-node": "~10.9.1",
    "tslint": "~5.20.1",
    "typescript": "5.1"
  },

Thanks in advance!