Comments (6)
Thanks for replying.
I am using nativefier 43.1.3 and node 16.2.0, both of which are installed using homebrew and are as up to date as possible
I removed node_modules/xmldom/package.json but now it fails with Error: Cannot find module 'xmldom'
Clearly I don't know how to fix this and randomly deleting package.json files is not the answer!
Thanks for your efforts - I'll try to pull down a new set of files from github and re-run ./build.sh --mac
every so often, but it looks like my ProtonClient days might be numbered!!
from protonclient.
Hi, try to remove package.json
Anyways I don't really know about macs to be honest.
Did you install the prerequisites as stated in Nativefier documentation?
from protonclient.
Try to delete package.json in the root folder if present. I meant that.
In any case, there is a built version in the releases section.
from protonclient.
Since there is no answer I'm closing
from protonclient.
Same issue here:
% ./build.sh --mac
Building for Mac
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'nativefier'
Require stack:
- /Users/admin/BUILD/ProtonClient/proton_client_mac.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/admin/BUILD/ProtonClient/proton_client_mac.js:1:18)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/admin/BUILD/ProtonClient/proton_client_mac.js' ]
}
Node.js v17.7.1
...but Nativefier is in my $PATH...
% nativefier --version
46.1.1
from protonclient.
I had the same error while using a global install of Nativefier, solved it by installing Nativefier again to the current directory.
It built fine but there's an "invalid character" error at login due to an Electron bug.
from protonclient.
Related Issues (8)
- App doesn't open. Blank screen HOT 5
- "Old build detected" error HOT 1
- App won't open. HOT 3
- Support Flatpak/snap/Appimage HOT 1
- Flatpak Support HOT 2
- Nativefier old build detected HOT 11
- Multiple accounts support and app password-protected HOT 2
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 protonclient.