Giter Club home page Giter Club logo

Comments (6)

laogujimbob avatar laogujimbob commented on May 28, 2024 1

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.

steccas avatar steccas commented on May 28, 2024

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.

steccas avatar steccas commented on May 28, 2024

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.

steccas avatar steccas commented on May 28, 2024

Since there is no answer I'm closing

from protonclient.

macbugs avatar macbugs commented on May 28, 2024

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.

Unundra avatar Unundra commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.