duzhihao
V2EX  ›  Node.js

npm 包下载成功了,报错说找不到。

  •  
  •   duzhihao · Sep 21, 2019 · 5200 views
    This topic created in 2426 days ago, the information mentioned may be changed or developed.
    在 node_modules 也找的到。为什么还报 These dependencies were not found 都错误呢。尝试清除缓存,换 yarn、cnpm 删了重装等。有问题的包叫 @wiris/mathtype-ckeditor5 同时段下的包都没啥问题。用的是 vue-cli。大家能给点思路吗。
    2 replies    2019-09-22 09:55:36 +08:00
    free9fw
        1
    free9fw  
       Sep 21, 2019   ❤️ 1
    删掉 package-lock 和 node_modules 重新 npm i
    duzhihao
        2
    duzhihao  
    OP
       Sep 22, 2019
    @free9fw 多谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3831 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:38 · PVG 12:38 · LAX 21:38 · JFK 00:38
    ♥ Do have faith in what you're doing.