Skip to content

Module 'nativescript-numeric-keyboard' not found for element 'nativescript-numeric-keyboard:NumericKeyboardView' #43

@dpdragnev

Description

@dpdragnev

Hello Eddy,

Thank you for creating this plugin, very useful.

This morning I started getting the following error:

Module 'nativescript-numeric-keyboard' not found for element 'nativescript-numeric-keyboard:NumericKeyboardView'.
> undefined is not a constructor (evaluating 'new _nativescript_core__WEBPACK_IMPORTED_MODULE_0__["Property"]({
name: "returnKeyTitle",
defaultValue: "Done"
})')

I am defining the plugin in the XML file only as:

<Page xmlns="http://www.nativescript.org/tns.xsd" 
    xmlns:rc="nativescript-ui-calendar" 
    xmlns:NK="nativescript-numeric-keyboard" loaded="onLoaded" actionBarHidden="true">
    <ScrollView>
        <DockLayout>
            <StackLayout dock="top" backgroundColor="#f2f2f2" padding="15">
                ...
                   <StackLayout col="0">
                        <Label text="Type other amount" class="lbl"/>
                        <Label id="lblAmount" text="{{ amount }}" class="display" />
                        <NK:NumericKeyboardView id="ht" opacity="0" />
                    </StackLayout>

                ...
            </StackLayout>
        </DockLayout>
    </ScrollView>
</Page>

Here is my package.json:

{
  "name": "",
  "version": "4.5.0",
  "description": "",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "",
    "tns-android": {
      "version": "6.5.3"
    },
    "tns-ios": {
      "version": "6.5.3"
    }
  },
  "dependencies": {
    "@nstudio/nativescript-loading-indicator": "^3.0.1",
    "@types/node": "^12.12.7",
    "moment": "2.20.1",
    "moment-timezone": "0.5.14",
    "nativescript-appversion": "1.4.1",
    "nativescript-email": "1.5.1",
    "nativescript-exit": "1.0.1",
    "nativescript-fingerprint-auth": "6.0.3",
    "nativescript-image-zoom": "^3.0.3",
    "nativescript-masked-text-field": "4.0.3",
    "nativescript-numeric-keyboard": "^5.0.0",
    "nativescript-pdf-view": "2.0.1",
    "nativescript-phone": "1.4.0",
    "nativescript-plugin-firebase": "10.2.0",
    "nativescript-theme-core": "2.0.24",
    "nativescript-ui-calendar": "5.0.0",
    "nativescript-zendesk-sdk": "^0.2.0",
    "tns-core-modules": "6.4.0"
  },
  "devDependencies": {
    "babel-traverse": "6.4.5",
    "babel-types": "6.4.5",
    "babylon": "6.4.5",
    "lazy": "1.0.11",
    "nativescript-dev-webpack": "1.3.0",
    "tns-platform-declarations": "6.2.1",
    "typescript": "3.4.5"
  },
  "author": ""
}

Any idea what could be causing this?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions