[node] pkg package is stuck for a long time and does not respond

question

After installing pkg globally, using pkg to package is stuck for a long time.
insert image description here

solve

Check the dependency installation method. The dependency installed by cnpm will cause this problem. You can use pnpm to install the dependency to solve this problem.

Guess you like

Origin blog.csdn.net/sky529063865/article/details/129354057