我正在为NodeJS开发两个模块,第一个是命名的aligator,第二个是aligator-methods.第二个依赖于第一个工作.我正在同时开发这两个模块,我想要全局链接,aligator所以我可以像在npm注册表上一样使用它,我只是全局安装它.要做到这一点,NPM文档说我需要使用,npm link但它不起作用.
package.json模块文件aligator:
{
"name": "aligator",
"version": "0.0.1",
"description": "",
"main": "index.js",
"private": true,
"directories": {
"doc": "docs",
"example": "examples",
"test": "spec"
},
"scripts": {
"test": "gulp jasmine"
},
"author": "Roc Alayo Arnabat",
"license": "MIT",
"devDependencies": {
"gulp": "^3.6.2",
"gulp-jasmine": "^0.2.0",
"gulp-jshint": "^1.6.1",
"gulp-rename": "^1.2.0",
"jasmine-node": "^1.14.3"
},
"dependencies": {
"bluebird": "^1.2.4",
"lodash": "^2.4.1",
"mathjs": "^0.22.0"
}
}
Run Code Online (Sandbox Code Playgroud)
package.json模块文件aligator-methods:
{
"name": "aligator-methods",
"version": "0.0.1",
"description": "", …Run Code Online (Sandbox Code Playgroud) 我一直在寻找解决方案,但找不到可行的解决方案.
我brew install postgres在MacBook中使用brew()安装了postgres ,我目前正在使用brew服务运行它(将brew services list postgres显示为正在运行的服务).但是,当我尝试运行时,psql我得到以下错误.
psql:无法连接到服务器:没有这样的文件或目录服务器是否在本地运行并接受Unix域套接字"/tmp/.s.PGSQL.5432"上的连接?
有人已经解决了类似的问题吗?
删除状态栏的神奇药水是什么VS 2015?
在我的环境中,它有以下选项:
编码: Unicode(UTF-8) - BOM
内容类型: CSharp
分类:无
谢谢.