GithubHelp home page GithubHelp logo

Missing dependencies? about font-manager HOT 7 CLOSED

foliojs avatar foliojs commented on June 25, 2024
Missing dependencies?

from font-manager.

Comments (7)

devongovett avatar devongovett commented on June 25, 2024

Hmm, not sure. What Windows version are you on?

from font-manager.

AlexanderYW avatar AlexanderYW commented on June 25, 2024

I'm on Windows 10 pro 64bit

from font-manager.

rBurgett avatar rBurgett commented on June 25, 2024

@AlexanderYW : What are you using for the compiling? Are you using node-gyp? If so, are you adding the headers?

from font-manager.

AlexanderYW avatar AlexanderYW commented on June 25, 2024

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.

rBurgett avatar rBurgett commented on June 25, 2024

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.

AlexanderYW avatar AlexanderYW commented on June 25, 2024

Thanks i will look into it, I will get back in a week if it worked!

from font-manager.

AlexanderYW avatar AlexanderYW commented on June 25, 2024

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)

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.