导航

    Taro 社区

    Taro

    • 注册
    • 登录
    • 搜索
    • 版块
    • 最新
    • 话题
    • 热门
    • 群组
    1. 主页
    2. LuckyL
    3. 帖子
    L
    • 资料
    • 关注
    • 粉丝
    • 主题
    • 帖子
    • 最佳
    • 群组

    LuckyL 发布的帖子

    • 【求助大神】Mac 使用npm安装cli 报错!!!!!!!急

      因为换了系统,黑苹果的,装了node了已经,想拉个项目下来试试,结果发现装trao-cli的时候报错了一直装不了,报错信息如下,大神帮看看怎么解决,请求出手相助!!!!!

      xiefeilongdeMacBook-Pro:~ yefeilong$ npm install -g @tarojs/cli
      npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
      npm WARN deprecated eslint-plugin-typescript@0.12.0: Deprecated: Use @typescript-eslint/eslint-plugin instead
      npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
      npm WARN deprecated babel-plugin-remove-dead-code@1.3.2: use babel-plugin-minify-dead-code-elimination and babel-plugin-minify-guarded-expressions
      npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
      npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
      npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
      npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
      npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
      npm ERR! code EACCES
      npm ERR! syscall access
      npm ERR! path /usr/local/lib/node_modules
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
      npm ERR! [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] {
      npm ERR! stack: "Error: EACCES: permission denied, access '/usr/local/lib/node_modules'",
      npm ERR! errno: -13,
      npm ERR! code: 'EACCES',
      npm ERR! syscall: 'access',
      npm ERR! path: '/usr/local/lib/node_modules'
      npm ERR! }
      npm ERR!
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR!
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /Users/yefeilong/.npm/_logs/2019-10-18T16_00_01_692Z-debug.log

      发布在 微信小程序
      L
      LuckyL