`
hongtoushizi
  • 浏览: 355350 次
  • 性别: Icon_minigender_1
  • 来自: 天津
社区版块
存档分类
最新评论

user "root" does not have permission to access the dev dir "*/.node-gyp/0.10.37"

阅读更多

安装mosca的时候报了以下错误:

/usr/bin/bunyan -> /usr/lib/node_modules/bunyan/bin/bunyan
gyp WARN EACCES user "root" does not have permission to access the dev dir "*/.node-gyp/0.10.37"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/mosca/node_modules/zmq/.node-gyp"

 

刚开始尝试了加入:--unsafe-perm ,来屏蔽这些提示。但是总感觉不对。

后来细想了下感觉想是ubuntu没有对应的包导致的,所以查了相关资料,发现确实有个包,安装后,就完事OK了。

命令如下: sudo apt-get install node-gyp

 

0
0
分享到:
评论

相关推荐

    解决git:fatal:Unable to create”…/.git/index.lock” 的错误

    问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...

    Apache You don't have permission to access / on this server

    Apache You don't have permission to access / on this server是一个在配置Apache时候,常常遇到的问题

    You don’t have permission to access /index.php on.

    运行php时提示You don't have permission to access /index.php on.错误的解决方法,需要的朋友可以参考下

    PC-lint 9.0 -- Gimpel.Software.PC-lint.9.0a

    You have permission to print out the Reference Manual (or other related documentation) in whole or in part in support of the use of this software. ------ Support for Microsoft through Visual ...

    apache You don't have permission to access /test.php on this server解决方法

    主要介绍了apache You don't have permission to access /test.php on this server解决方法,需要的朋友可以参考下

    libaio-0.3.109-13.el7.x86_64.rar

    在系统处于内网状态,无法使用yum进行下载时可以在这里进行下载解压,然后使用rpm -ivh进行安装

    MSSQLRegexExtend.dll

    CREATE ASSEMBLY Regex from 'MSSQLRegexExtend.dll物理路径' WITH PERMISSION_SET = SAFE --注册.net类库 sp_configure 'clr enabled', 1 --将数据库设置为可以使用clr组件 RECONFIGURE --设置可用clr组件。别...

    NModbus_net-3.5_1.11.0.0-source

    NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ...

    mysql-5.7.31-macos10.14-x86_64.tar.gz

    mac mysql5.7.31 安装包

    最新的xwork-core-2.3.7.jar

    * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ...

    xwork.jar.zip

    * must not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact license@opensymphony.com . * * 5. ...

    apache You don’t have permission to access /test.php on this server解决方法

    键字: Apache 403 Forbidden 系统配置: 操作系统:Red Hat Linux 6.2 Web服务器:Apache 3.1.1+jakarta-tomcat 3.1.1 数据库服务器:oracle 8i Apache服务器是目前应用... You don’t have permission to access 

    NDK Camera

    Please reference the [test codes](./android/test/ndcam/). ```console $ gradle connectedAndroidTest # Run test ``` ### Use The following code shows working with `SurfaceView` class. ```java package...

    ICSharpCode.SharpZipLib-master 2012官方最新版

    // permission to link this library with independent modules to produce an // executable, regardless of the license terms of these independent // modules, and to copy and distribute the resulting ...

    AppInstall.rar

    intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //调用系统api安装app Uri uri =...

    frida-server-12.8.10-android-x86_64

    frida-server-12.8.10-android-x86_64 x86_64架构 传入模拟器可以使用

    android mqtt.jar

    Mqtt jar包依赖, compile files('libs/org.eclipse.paho... <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" />

    ContentProvider

    String sql = " create table if not exists " + Table_Name + "(id INTEGER PRIMARY KEY AUTOINCREMENT," + "name varchar(64),num varchar(64))"; db.execSQL(sql); } /** * @description ...

    http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd

    Permission to use, copy, modify and distribute the SVG DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright ...

    bomblab实验报告.pdf

    * VICTIM) explicit permission to use this bomb (the BOMB). This is a * time limited license, which expires on the death of the VICTIM. * The PERPETRATOR takes no responsibility for damage, ...

Global site tag (gtag.js) - Google Analytics