Tag Archives: A collection of error reporting solutions

How to Sove Error: listen EADDRINUSE: address already in use 127.0.0.1:8888

The above error occurred when I was packing. At this time, I ran two projects locally

The listening address is occupied.

Open the command panel Win + r = & gt; cmd

View the process ID corresponding to the port

netstat -nao | findstr 8888

View details about the process (can be omitted)

tasklist | findstr 13964

Mission of investigation and killing:

  Method 1:

taskkill /pid 13508
#Forced termination
taskkill/F /pid 13508

  Method 2:
Ctrl + Shift + ESC, call out the task manager

NPM install Error cb.apply is not a function

NPM install error cb.apply is not a function

solve:
Win + R open and run, enter % appdata% to delete NPM and NPM cache folder, and execute NPM cache clean — force
At this point, it should be OK. If not, uninstall node.js and install it again.

If not!!

Change yarn

Install yarn NPM install - G yarn

yarn install instead of NPM install

then, everything will be fine