devongovett / regexgen

Generate regular expressions that match a set of strings

Home Page:https://runkit.com/npm/regexgen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install it?

livc opened this issue · comments

npm install regexgen, but point taken — this could be added to the README.

Thanks.

@mathiasbynens

➜  regexgen git:(master) npm install regexgen
npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/Cellar/node/6.6.0/bin/node" "/usr/local/bin/npm" "install" "regexgen"
npm ERR! node v6.6.0
npm ERR! npm  v3.10.7
npm ERR! code ENOSELF

npm ERR! Refusing to install regexgen as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/zhao/regexgen/npm-debug.log

What's the matter? Thanks.

Hi,
You are trying to install regexgen into the regexgen's git directory isnt it ?
(The meaning of ENOSELF error code)

NPM is not agree with installing package in its self directory. Try another location to perform this action.

@Swizz It't my first time to use NPM, thanks a lot. : )