nodegui / nodegui-starter

A starter repo for NodeGui projects
123 stars 32 forks source link

Error in running nodegui-starter #155

Open chary-ngo opened 4 years ago

chary-ngo commented 4 years ago

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?

a7ul commented 4 years ago

Just delete node_modules folder and do npm install again.

chary-ngo commented 4 years ago

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

a7ul commented 4 years ago

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

davealbert commented 3 years ago

@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

demimurych commented 3 years ago

@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?

milahu commented 3 years ago

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

cmake-js throws when cmake is missing