Skip to content

hmr not working correctly #530

Closed
Closed
@ghost

Description

my package.json file and the node-sass can't be installed in my pc

{
"name": "kiosque",
"version": "1.0.0",
"nativescript": {
"id": "cd.fabiyo.kiosque",
"tns-android": {
"version": "6.0.1"
}
},
"author": "iyongofabrice@gmail.com",
"dependencies": {
"nativescript-theme-core": "^2.0.4",
"nativescript-vue": "^2.4.0",
"tns-core-modules": "~6.0.3"
},
"devDependencies": {
"@babel/core": "~7.5.5",
"@babel/preset-env": "~7.5.5",
"babel-loader": "~8.0.6",
"nativescript-dev-webpack": "^1.0.2",
"nativescript-vue-template-compiler": "~2.4.0",
"vue-loader": "~15.7.1"
}
}

when I execute tns run android, everything is ok but when I modif a file, app.vue I have as result
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> CreateElement(NativeFrame)'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> CreateElement(NativePage)'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> CreateElement(NativeActionBar)'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> CreateElement(nativenavigationbutton)'
JS: [Vue warn]: Invalid handler for event "tap": got undefined
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> AppendChild(ElementNode(nativeactionbar), ElementNode(nativenavigationbutton))'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> AppendChild(ElementNode(nativepage), ElementNode(nativeactionbar))'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> CreateElement(nativestacklayout)'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> CreateElement(nativelabel)'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> AppendChild(ElementNode(nativestacklayout), ElementNode(nativelabel))'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> AppendChild(ElementNode(nativepage), ElementNode(nativestacklayout))'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.4.0)} -> AppendChild(ElementNode(nativeframe), ElementNode(nativepage))'
JS: HMR: The following modules were updated:
JS: HMR: ↻ ../node_modules/babel-loader/lib/index.js!../node_modules/vue-loader/lib/index.js?!./components/App.vue?vue&type=script&lang=js&
JS: HMR: ↻ ./components/App.vue?vue&type=script&lang=js&
JS: HMR: ↻ ./components/App.vue
JS: HMR: Successfully applied update with hmr hash 07fe74e64a8aa4904377. App is up to date.
Refreshing application on device 192.168.193.101:5555...
Successfully synced application cd.fabiyo.kiosque on device 192.168.193.101:5555.

but the changement is not appliqued on the emulator !!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions