Failed to start npm for initiative project

This is my first attempt to launch a jet project. Following all the instructions mentioned on the response side. and running 'npm start' on the bottom line of the command line:

ERROR watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib Referenced from: /usr/local/bin/watchman Reason: image not found Error: watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib Referenced from: /usr/local/bin/watchman Reason: image not found at ChildProcess.<anonymous> (/Users/z013mrq/AwesomeProject/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/index.js:198:18) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:818:16) at Socket.<anonymous> (internal/child_process.js:319:11) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at Pipe._onclose (net.js:469:12) 
+5
source share
1 answer

Try reinstalling the watchman:

 npm r -g watchman brew update && brew upgrade brew install watchman 

If this does not fix, try to answer here .

Try reinstalling libtool with:

brew reinstall libtool --universal && brew unlink libtool && brew link libtool

If this does not help, try to completely remove it and try again above again:

brew uninstall libtool

+12
source

Source: https://habr.com/ru/post/1241458/


All Articles