zoukankan      html  css  js  c++  java
  • Mac安装vue产生错误

    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/_schema-utils@1.0.0@schema-utils/node_modules/ajv

    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/_schema-utils@1.0.0@schema-utils/node_modules/ajv-keywords

    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/terser-webpack-plugin

    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/watchpack

    npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/is-descriptor/node_modules

    npm ERR! path /usr/local/lib/node_modules/webpack/node_modules/assert

    npm ERR! code ENOENT

    npm ERR! errno -2

    npm ERR! syscall access

    npm ERR! enoent ENOENT: no such file or directory, access '/usr/local/lib/node_modules/webpack/node_modules/assert'

    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!     /Users/zhouqiang/.npm/_logs/2018-12-11T11_57_35_887Z-debug.log

     

     

     

    出现这种情况我建议你还是重新安装node吧

     

    可以通过命令查看一下npm配置

     npm list  -g    
  • 相关阅读:
    Eclipse使用xdoclet1.2.3 生成hibernate配置文件和映射文件
    Eclipse安装SVN插件
    SourceTree安装和使用
    myeclipse通过数据表生成jpa或hibernate实体
    Delphi 快速读取TXT 指定行的数据
    delphi中如何将一整个文件读入内存
    Delphi TextFile读取文本文件
    Delphi读取和写入utf-8编码格式的文件
    Delphi 判断特定字符是为单字节还是双字节
    delphi按字节长度分割字符串函数(转)
  • 原文地址:https://www.cnblogs.com/cap-rq/p/10104840.html
Copyright © 2011-2022 走看看