finogeeks / finclip-desktop-demo Goto Github PK
View Code? Open in Web Editor NEWFinClip 桌面版运行环境,让小程序在桌面平台上无缝运行 / Desktop DEMO for FinClip
Home Page: https://www.finclip.com
FinClip 桌面版运行环境,让小程序在桌面平台上无缝运行 / Desktop DEMO for FinClip
Home Page: https://www.finclip.com
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
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.