Comments (8)
For yarn
users:
npm i
yarn import
yarn
Finally, delete package.lock.json.
But @reZach if you know what causes the issue were the page has to be reloaded before it will work that's still a minor issue.
from secure-electron-template.
If I use npm i
this doesn't occur, but then we get an endless stream of these messages in the terminal:
27316:0130/193504.888385:ERROR:CONSOLE(1)] "Extension server error: Operation failed: Permission denied", source: devtools://devtools/bundled/extensions/extensions.js (1)
Edit: If I refresh the devtools then this resolves.
But no love for Yarn? :(
from secure-electron-template.
@slapbox I am open if you are willing to look into a solution to make yarn
work natively for this template. I am sorry, I thought yarn should work without any hiccup!
To the issue with the "operation failed" message, that was fixed here.
from secure-electron-template.
Oddly that issue with needing to reload only occurs for me on Linux.
I think the issue is that the template relies on package package-lock.json
. I think this could be remedied with more stringent dependency versions in package.json
, but I'm not sure what package in particular causes the issue. Fortunately the workaround is pretty simple.
from secure-electron-template.
Oddly that issue with needing to reload only occurs for me on Linux.
I think the issue is that the template relies on package
package-lock.json
. I think this could be remedied with more stringent dependency versions inpackage.json
, but I'm not sure what package in particular causes the issue. Fortunately the workaround is pretty simple.
Yes I'd love to know what package is causing this issue. I'm seeing w3c-hr-time uses browser-process-hrtime
that's probably the culprit, but I don't know what's using it.
edit was looking in wrong repo when I made this comment.
from secure-electron-template.
At least on Windows it doesn't seem that either of those packages are used by the repo.
{ secure-electron-template } webpackPreload » yarn why browser-process-hrtime
yarn why v1.22.4
[1/4] Why do we have the module "browser-process-hrtime"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
error We couldn't find a match!
Done in 0.73s.
{ secure-electron-template } webpackPreload » yarn why w3c-hr-time
yarn why v1.22.4
[1/4] Why do we have the module "w3c-hr-time"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
error We couldn't find a match!
Done in 0.66s.
Worth re-opening this issue? I haven't seen this issue since, but I've also been working on Windows since.
from secure-electron-template.
@slapbox I'll reopen, I was looking at a different repo when I searched and found that!
process/browser
is added in webpack.config.js due to this comment
from secure-electron-template.
Closing this issue as I'm calling out the problem with yarn in this pinned issue.
from secure-electron-template.
Related Issues (20)
- integrating react v18 be default HOT 2
- React Devtools won't load in packaged app? HOT 5
- NPM Audit Fix --Force Breaks Template HOT 1
- How to update packges? HOT 1
- typescript imports should just work in vscode HOT 2
- How I can install Tailwind?
- Make a Worker on button click HOT 1
- Deploying an auto-updating after build HOT 1
- Requesting a Vue example, instead of React
- Requesting a SQLite example, instead of JSON
- Cannot use import statements outside a module HOT 1
- Is it ok to Import libraries like SortableJs directly into Renderer? or should it be done through preload as well? HOT 2
- electron + webpack + angular HOT 1
- how to access the .env variables ?
- Unable to use react-apexcharts with the template HOT 1
- Old electron & 28 vulnerabilities HOT 2
- Not secure app, able to content of files after building app HOT 1
- Browser route not working from index.tsx file by npm run prod
- App opens only when VSCode is started first time
- Protocol Path Sanitisation
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 secure-electron-template.