-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you run this on a web browser? #278
Comments
|
I reduced it to these 2 errors. Not sure why the dependency to fs and path is not there in package.js in the node_module electron package.js ERROR in ./node_modules/electron/index.js |
+1 |
@isurendrasingh Here it is. Thanks for taking time to help out. package.json
|
The errors you are getting is due to the declaration of modules used by your app. There must be no modules exported that you are using. Check the declaration of these modules: Does this application works locally? Also these might help: Resolving timers Also try to use the updated package which uses Angular 7 with Electron 3 (master-branch). |
I grabbed master and only updated package.json to what I was working on - web build works. Moved my app folder into this new master app folder and replaced some of the remote Electron imports with the ElectronService provided - removed the errors I was seeing. I still see the warnings and web build fails due to these warnings ..so more debugging.
after hours of trying different things, I found these bug reports and it seems there is a larger issue with latest angular CLI, electron and node modules. angular/angular-cli#10681 There are these closed bugs on this repo with same issue. based on #227
this removes the warnings completely but now Angular is stuck on Loading.. with console error as follows.
@maximegris can you check on this please? |
Hi You may have to replace the content at the end of
|
No description provided.
The text was updated successfully, but these errors were encountered: