草庐IT

source-registry

全部标签

node.js - 错误代码 : 800A1391 Source: Microsoft JScript runtime error Running Grunt - Module is undefined

这里是新的Grunt用户,他今天使用了很多新工具(npmnodejs)。我已经“安装”了Grunt并且能够使用这里描述的init任务创建一个grunt.js文件:http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/在这里:https://github.com/cowboy/grunt/blob/master/docs/getting_started.md.但是每当我运行“grunt”命令时,我都会收到一个错误:WindowsScriptHostScri

node.js - 错误代码 : 800A1391 Source: Microsoft JScript runtime error Running Grunt - Module is undefined

这里是新的Grunt用户,他今天使用了很多新工具(npmnodejs)。我已经“安装”了Grunt并且能够使用这里描述的init任务创建一个grunt.js文件:http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/在这里:https://github.com/cowboy/grunt/blob/master/docs/getting_started.md.但是每当我运行“grunt”命令时,我都会收到一个错误:WindowsScriptHostScri

node.js - NPM 注册表替代 http ://registry. npmjs.org/npm

已结束。此问题不符合StackOverflowguidelines.它目前不接受答案。我们不允许提出有关书籍、工具、软件库等方面的建议的问题。您可以编辑问题,以便用事实和引用来回答它。关闭4年前。Improvethisquestion不幸的是http://registry.npmjs.org/npm下降导致$npminstallmimenpmERR!Error:ucs{bad_utf8_character_code}:mimenpmERR!atIncomingMessage.(/usr/local/lib/node_modules/npm/lib/utils/npm-registry-

node.js - NPM 注册表替代 http ://registry. npmjs.org/npm

已结束。此问题不符合StackOverflowguidelines.它目前不接受答案。我们不允许提出有关书籍、工具、软件库等方面的建议的问题。您可以编辑问题,以便用事实和引用来回答它。关闭4年前。Improvethisquestion不幸的是http://registry.npmjs.org/npm下降导致$npminstallmimenpmERR!Error:ucs{bad_utf8_character_code}:mimenpmERR!atIncomingMessage.(/usr/local/lib/node_modules/npm/lib/utils/npm-registry-

angularjs - 错误 : getaddrinfo ENOTFOUND registry. npmjs.org registry.npmjs.org:443

我在公司网络上工作。尝试安装npm.但我一次又一次地收到此错误。$npminstallnpmERR!Windows_NT6.1.7601npmERR!argv"C:\\ProgramFiles\\nodejs\\node.exe""C:\\ProgramFiles\\nodejs\\node_modules\\npm\\bin\\npm-cli.js""install"npmERR!nodev6.1.0npmERR!npmv3.8.6npmERR!codeENOTFOUNDnpmERR!errnoENOTFOUNDnpmERR!syscallgetaddrinfonpmERR!netw

angularjs - 错误 : getaddrinfo ENOTFOUND registry. npmjs.org registry.npmjs.org:443

我在公司网络上工作。尝试安装npm.但我一次又一次地收到此错误。$npminstallnpmERR!Windows_NT6.1.7601npmERR!argv"C:\\ProgramFiles\\nodejs\\node.exe""C:\\ProgramFiles\\nodejs\\node_modules\\npm\\bin\\npm-cli.js""install"npmERR!nodev6.1.0npmERR!npmv3.8.6npmERR!codeENOTFOUNDnpmERR!errnoENOTFOUNDnpmERR!syscallgetaddrinfonpmERR!netw

node.js - 将 node-gyp 标志传递给包时, yarn add package --build-from-source 的行为是否类似于 npm install package --build-from-source?

看起来yarn不像npm那样将node-gyp标志传递给native包。例如,当尝试安装sqlite3@3.1.6时:npminstallsqlite3@3.1.6\--build-from-source\--sqlite_libname=sqlcipher\--sqlite=`brew--prefix`\--verbose我们成功安装了带有sqlcipher扩展的sqlite3,因为传递了--sqlite_libname和--sqlite,它们是specified在sqlite3的binding.gyp中。但是,当尝试使用yarn并运行我认为等效的命令时,看起来标志不被尊重:yarn

node.js - 将 node-gyp 标志传递给包时, yarn add package --build-from-source 的行为是否类似于 npm install package --build-from-source?

看起来yarn不像npm那样将node-gyp标志传递给native包。例如,当尝试安装sqlite3@3.1.6时:npminstallsqlite3@3.1.6\--build-from-source\--sqlite_libname=sqlcipher\--sqlite=`brew--prefix`\--verbose我们成功安装了带有sqlcipher扩展的sqlite3,因为传递了--sqlite_libname和--sqlite,它们是specified在sqlite3的binding.gyp中。但是,当尝试使用yarn并运行我认为等效的命令时,看起来标志不被尊重:yarn

rosdep init ERROR: cannot download default sources list... 解决方法

问题描述如标题所示,当我们安装好ROS后,想要用rosdep初始化时,会遇到ERROR:cannotdownloaddefaultsourceslistfromhttps://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list导致rosdep后续的功能都不能用,原因是墙导致https://raw.githubusercontent.com不能访问。解决方法1-rosdepcrosdepc是替换rosdep的一款软件,其功能是一模一样的,只不过是为了解决墙的问题,把软件里的地址换

node.js - 为什么 npm 给出 500 和 503 错误 : "registry error parsing json"?

尝试执行npminstallsteroids-g并遇到大量两种类型的错误:第一名:500npmERR!registryerrorparsingjsonnpmhttp500https://registry.npmjs.org/cardinalnpmERR!registryerrorparsingjsonnpmhttp500https://registry.npmjs.org/globnpmERR!registryerrorparsingjsonnpmhttp500https://registry.npmjs.org/chmodrnpmERR!registryerrorparsingjso