cb() not called when initialising expo project

I installed nodejs to allow me to write a mobile app using React Native. I then tried to route prove my system by writing a ‘hello world’ app. To do this I typed:

expo init hello

I got the cb() never called error.

My log is:2019-08-14T02_00_15_153Z-debug.log (2.3 KB)

What am I doing wrong?

Paula

1 Like

Hi @paulathomas! There was a bug in versions of npm before 6.10.2 where files could be left behind with wrong ownership after installing global packages using sudo. Then version 6.10.3 added more information for the error including similar advice to…

The quick fix is:

sudo chown -R $USER ~/.npm

and you should hopefully not have the issue again. (Unless you need to switch back to an older version of node+npm for some testing…)

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.