Deepnest icon indicating copy to clipboard operation
Deepnest copied to clipboard

cannot rebuilt with source code

Open AttackerGry opened this issue 6 years ago • 7 comments

The application rebuilt with source code cannot call background.html. I don't know where the problem is.

snipaste_2019-01-07_15-48-59

AttackerGry avatar Jan 07 '19 07:01 AttackerGry

I am sorry, this stems from my unfamiliarity with electron. Already successful

AttackerGry avatar Feb 13 '19 07:02 AttackerGry

Hello @AttackerGry , I'm having the same problem. Could you tell me how you solved it? I'm new to the world electron =)

Jttwer avatar Mar 04 '19 03:03 Jttwer

Hi @AttackerGry , I have the same issue. Could you let us know how you solved the problem?

codeplusplusplus avatar Jun 12 '19 11:06 codeplusplusplus

also getting an empty nesting screen, how did you debug/diagnose it?

blackmad avatar Aug 04 '19 01:08 blackmad

Hi @AttackerGry I'm having the same issue and have tried various ways to build the addon with no avail. Could you please share just briefly how you resolved the issue? It would help immensely. Thanks.

jyc1000 avatar Oct 23 '19 09:10 jyc1000

I've spent 2 days to clarify this issue.

The key located in the hidden background window. You should make it visible and look into Developer Tools error message. The message will be something like this:

Uncaught Error: The module '/Users/xxx/src/Deepnest/Deepnest/minkowski/Release/addon.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 50. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing

The problem is that node is trying to use pre-compiled version of addon. Change the path to dist/Release/addon.node fixes the issue.

odemakov avatar Nov 17 '20 14:11 odemakov

@Jttwer , @codeplusplusplus , @blackmad , @jyc1000 see comment above.

odemakov avatar Nov 17 '20 14:11 odemakov