Giter Site home page Giter Site logo

Comments (5)

cdubz avatar cdubz commented on April 28, 2024 8

I realized I could still open the Developer Tools from the blank window and found this error -

Exception has occurred: Error Error: A dynamic link library (DLL) initialization routine failed. [...] better_sqlite3.node

This led me to issue 36 for the better-sqlite3 library and the suggested solution there seems to work here as well: node_modules/.bin/electron-rebuild -f -w better-sqlite3

After running that. npm start gets me a window and a loaded city, and keyboard events work.

So, for now anyway, there are two extra steps (3 & 5 below) for the Windows build:

  1. git clone https://github.com/rage8885/OpenSC2K or download this repository
  2. cd OpenSC2K
  3. npm install --global --production windows-build-tools (as admin)
  4. npm install
  5. node_modules/.bin/electron-rebuild -f -w better-sqlite3
  6. npm start

from opensc2k.

whphhg avatar whphhg commented on April 28, 2024 1

Step 5 solves the Linux problem in issue #5 as well.

from opensc2k.

nicholas-ochoa avatar nicholas-ochoa commented on April 28, 2024

Thanks for the feedback - I'm working on getting a Windows VM up and running so I can do some testing there as well.

from opensc2k.

cursorial avatar cursorial commented on April 28, 2024

@rage8885 I'm happy to take a look at getting it to work on Windows later on today if you wanna assign this task to me?

from opensc2k.

vasilvestre avatar vasilvestre commented on April 28, 2024

Step 5 didn't solve my problem with windows 10.

from opensc2k.

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.