nodegui-starter icon indicating copy to clipboard operation
nodegui-starter copied to clipboard

Error in running nodegui-starter

Open chary-ngo opened this issue 5 years ago • 6 comments

I'm kind of new to git and nodegui. I cloned the nodegui-starter. Follow the instructions to 'npm install' then 'npm start' But got error because it couldn't find the nodegui_core.node

image

I checked the node_module/@nodegui/nodegui. build folder is non existent

help?

chary-ngo avatar Sep 21 '20 15:09 chary-ngo

Just delete node_modules folder and do npm install again.

a7ul avatar Sep 21 '20 16:09 a7ul

Already did that. I have a react-nodegui project that has the same issue after I updated the @nodegui/nodegui to v0.25.0

chary-ngo avatar Sep 21 '20 16:09 chary-ngo

do you see any errors when npm install is building the addon?

also try using npm to see logs if your are by chance using yarn

a7ul avatar Sep 21 '20 18:09 a7ul

@chary-ngo Did you install cmake ? I was having the same issue and then saw the prereqs: https://docs.nodegui.org/docs/guides/getting-started

davealbert avatar Jan 04 '21 13:01 davealbert

@chary-ngo Did you install cmake ? I was having the same issue and then saw the prereqs: https://docs.nodegui.org/docs/guides/getting-started

I confirm. The situation is exactly the same. Installing cmake solved the problem. Is it really difficult to predict its presence at the installation stage?

demimurych avatar Apr 03 '21 16:04 demimurych

Is it really difficult to predict its presence at the installation stage?

cmake-js throws when cmake is missing

milahu avatar Sep 18 '21 18:09 milahu