我收到此错误,但找不到解决方案。
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path /home/guzlej/.npm-global/lib
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, lstat '/home/guzlej/.npm-global/lib'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/guzlej/.npm/_logs/2021-02-18T18_08_16_148Z-debug.log
你能帮我吗?我很高兴分享 debug.log
已编辑:我一直在尝试安装 AdonisJs - Node.js 框架。使用指南中的第一个命令“npm i -g @adonisjs/cli”。我得到了这个错误。