无法安装@ adonijs / mail

时间:2019-08-05 00:53:21

标签: javascript node.js adonis.js

尝试从adonisjs安装邮件库时出现此错误:

PS C:\adnonisbase\adonisbase> adonis install @adonisjs/mail


  [1/1] ❌  Installation failed [@adonisjs/mail]

   ERROR  Command failed: npm i --save @adonisjs/mail
npm ERR! path C:\adnonisbase\adonisbase\node_modules\delayed-stream
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\adnonisbase\adonisbase\node_modules\delayed-stream' -> 'C:\adnonisbase\adonisbase\node_modules\.delayed-stream.DELETE'
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!     C:\Users\RT\AppData\Roaming\npm-cache\_logs\2019-08-05T00_44_20_271Z-debug.log

帮助您可以通过运行npm i --save @adonisjs/mail

手动安装依赖项
npm i --save @adonisjs/mail
adonis install @adonisjs/mail
adonis install @adonis/mail

1 个答案:

答案 0 :(得分:0)

尝试重新启动VS代码。 :)