Closed marcoippolito closed 4 years ago
Add "@types/node": "12" to your devDependencies in your package.json. There is a discussion here about this issue.
@HarunOr Whith "@types/node":"12" in devDependencies in package.json the error messages disappear. Thank you very much!!!!
I first created a brand new vue.js project with @vue/cli : https://vuejs.org/v2/guide/typescript.html
during the creation process, I chose typescipt option.
Then, I installed electron-builder plugin: https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/#installation
executing yarn electron:serve the brand new app seems working:
but I get tens of errors which seem to be related to typescript with electron.d.ts :
vue-cli-typescript-electronErrorMessages.txt
How to solve the problem? Looking forward to your kind help. Marco