Comments (8)
If it helps, my original project did not have an issue until I deleted the node-modules folder and did an npm install. I assume a dependency update broke it but I went through some of the recent updates you made to the library and reverted to previous versions without any luck.
from electron-nuxt.
- Cloned this branch
vue init "./electron-nuxt" test1
- Options seleceted
? Application Name test1
? Application Id com.example.yourapp
? Application Version 0.0.1
? Project description An electron-nuxt project
? Author
? Select which ui-components framework install Vuetify
? Select which css pre-processor install none
? Select which icon set install none
? Use typescript? No
? Use linting with ESLint? No
? Set up unit testing with vue-test-utils + AVA? No
? Set up end-to-end testing with Spectron + AVA? No
cd test1
npm install
npm run dev
I am no longer experiencing a reload loop.
from electron-nuxt.
Below options introduced reload loop:
? Application Name test1
? Application Id com.example.yourapp
? Application Version 0.0.1
? Project description An electron-nuxt project
? Author
? Select which ui-components framework install Vuetify
? Select which css pre-processor install Sass
? Select which icon set install Material Design Icon
? Use typescript? Yes
? Use linting with ESLint? Yes
? Set up unit testing with vue-test-utils + AVA? Yes
? Set up end-to-end testing with Spectron + AVA? Yes
from electron-nuxt.
After a bit of trial and error the reload looping seems to be attributed to the @nuxt/typescript-build
module.
from electron-nuxt.
from electron-nuxt.
@ChrisKader, thanks for reporting and your research.
So far the only solution is to use yarn
from electron-nuxt.
Will yarn work with your package without issue? I have been working on my first Electron app and I have gotten used to using this Electron-Nuxt (It is an amazing package!). Currently I do not have any problem with the reload loop (using the dependencies below) but I also dont mind swapping.
"devDependencies": {
"@mdi/font": "4.4.95",
"@nuxt/typescript-build": "^0.1.11",
"@nuxtjs/vuetify": "1.6.1",
"@xpda-dev/core": "^0.1.5",
"@xpda-dev/electron-builder": "^0.1.1",
"@xpda-dev/electron-launcher": "^0.1.1",
"@xpda-dev/webpack-step": "^0.1.2",
"enhanced-resolve": "webpack/enhanced-resolve#master",
"browser-env": "3.2.6",
"cross-env": "6.0.3",
"electron": "5.0.10",
"electron-builder": "21.2.0",
"electron-debug": "3.0.1",
"node-sass": "4.12.0",
"nuxt": "^2.8.1",
"roboto-fontface": "0.10.0",
"sass-loader": "8.0.0",
"typescript": "3.5.3",
"vue-devtools": "5.1.3",
"vuetify": "2.0.11",
"webpack": "4.41.0",
"webpack-node-externals": "1.7.2"
},
from electron-nuxt.
Fixed in #253
from electron-nuxt.
Related Issues (20)
- Cannot find module HOT 1
- Electron (yarn run dev) doesn't launch in WSL2 HOT 2
- SyntaxError: Cannot use import statement outside a module HOT 1
- [BUG] Remote is Deprecated HOT 1
- Auto Import of Components is not working HOT 2
- EACCES: permission denied HOT 1
- Unexpected token 'export' in nuxt.config.js HOT 2
- Difference between PWA Chrome Container and Electron Nuxt
- [Feature Request] Webpack 5
- "Wrong" devDependencies for building projects
- error
- Nuxt & Vue 3 support HOT 2
- Prisma do not work
- How to add external scripts
- does electron nuxt have webpack config for external plugins? HOT 1
- Guide on nextjs projects already created
- Nuxt pages don't load if contextIsolation = true HOT 1
- When target is set to 'server' in nuxt.config.js, all click events will not be triggered
- Can't sign mac app
- help webview src="#/other" loading error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-nuxt.