Comments (7)
Hmm, not sure. What Windows version are you on?
from font-manager.
I'm on Windows 10 pro 64bit
from font-manager.
@AlexanderYW : What are you using for the compiling? Are you using node-gyp
? If so, are you adding the headers?
from font-manager.
I dont think i am, will you provide a small guide with the details on the project
Sorry for the trouble im new at this!
from font-manager.
I've never used Electron before, but I use NW (formerly Node Webkit). Because it is not regular Node, I needed to use nw-gyp
rather than node-gyp
which is what most people using Node would use. I was reading about using native Node modules in Electron and I see you have a few options for building native modules. I would suggest you try those three methods and see if one works.
Like NW, Electron uses its own version of V8, so it's important to build it specifically for that. What I do for the application I am using font-manager in is I build each version (32 & 64 bit for Win, OSX, and Linux) separately, outside of the build process of my application. Then I drop in the built packages and have Node check the OS and select the right package at runtime.
My point is, rather than build the native font-manager module as part of your Electron build, you might want to try building it (or them) outside of Electron (with the proper headers or whatever is required) then put the pre-compiled modules into your application.
from font-manager.
Thanks i will look into it, I will get back in a week if it worked!
from font-manager.
Hey @rBurgett, Not sure what ended up fixing it.... but i think what you wrote made me find the solution
But what i do know was that my config was wrong... i needed this to get it working
set npm_config_disturl=https://atom.io/download/atom-shell
set npm_config_target=0.36.0
set npm_config_arch=x64
set npm_config_runtime=electron
But great help thanks!
from font-manager.
Related Issues (20)
- Possible Incompatibility with eslint HOT 1
- undefined symbol HOT 1
- getAvailableFontsSync does not include manually installed font on Windows 10 HOT 1
- Not compatible with Node.JS v11.0.0 HOT 1
- Compatibility with NODE_MODULE_VERSION 64 HOT 1
- Is not a valid win32 application
- License HOT 1
- Not compatible with Node.JS v12.13.0 HOT 1
- can't compile with electron HOT 1
- findFontsSync not returning all fonts in family
- Compile error on MacOS X (node 13.7.0): no viable conversion from 'v8::Local<v8::Context>' to 'v8::Isolate *' HOT 3
- Fails to build on Travis Ubuntu 16.04
- Verification error on macOS Catalina HOT 4
- Any interest in moving to N-API?
- Not compatible with gyp HOT 1
- UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 2557: illegal multibyte sequence
- node 12.18.3 error HOT 3
- getAvailableFontsSync() don't return the latest font info when called multiple times. HOT 2
- Installation of fonts
- node 16 ,yarn 1.22.19 install error
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 font-manager.