Giter Club home page Giter Club logo

finclip-desktop-demo's Issues

Cannot find module 'finclip', electron demo could not run.

I want to try the demo examples\electron, I followed the instructions on https://github.com/finogeeks/finclip-desktop-demo, download and extract finclip-winsdk-1.0.15.zip or finclip-win-x64-1.1.0-alpha.1.zip to vendor\win\x64, the path of const finclipPath = path.resolve(__dirname, '../../../vendor/win/x64/finclip.exe'); in main.js is ok. But when I run yarn start. I got the following crash errors.

D:\code\flutter\finclip-desktop-demo\examples\electron>yarn start
yarn run v1.22.17
$ npx electron ./src/main.js

App threw an error during load
Error: Cannot find module 'finclip'
Require stack:
- D:\code\flutter\finclip-desktop-demo\examples\electron\src\main.js
- D:\code\flutter\finclip-desktop-demo\examples\electron\node_modules\electron\dist\resources\default_app.asar\main.js
-
    at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:245:1105)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (D:\code\flutter\finclip-desktop-demo\examples\electron\src\main.js:4:17)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)

^C
D:\code\flutter\finclip-desktop-demo\examples\electron>D:\code\flutter\finclip-desktop-demo\examples\electron\node_modules\electron\dist\electron.exe exited with signal SIGINT
^C
D:\code\flutter\finclip-desktop-demo\examples\electron>

And I also found the finclip dependences is declared as the follows.

  "dependencies": {
    "finclip": "file:../../vendor/win/x64"
  }

The extract path vendor/win/x64/ did not contains valid package.json.

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.