Using this with Electron

107 views
Skip to first unread message

ChivbagTalksalot

unread,
Feb 8, 2017, 9:00:12 AM2/8/17
to node-java


I'm trying to make a game using a js front end along with a java backend. When I try to run this code in electron it gives me an error. The error is purely because of line 2. 

I don't know how to fix this.


Here is the json file:


{

    "name": "tictactoe",

    "version": "0.1.0",

    "main": "main.js"

}





Jingtao Lian

unread,
Feb 15, 2017, 3:18:19 PM2/15/17
to node-java
try remove node java and reinstall with npm i -S java, then run electron-rebuild. If you found can't find module error, goes to node java folder and run node postInstall.js. That can solve your problem

在 2017年2月8日星期三 UTC-4上午10:00:12,ChivbagTalksalot写道:
Reply all
Reply to author
Forward
0 new messages