mathiasbynens / emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.
https://mths.be/emoji-regex
MIT License
1.72k stars 175 forks source link

.npmrc breaks local install #92

Closed gilmoreorless closed 2 years ago

gilmoreorless commented 2 years ago

I wanted to run some tests on my local clone of this repository. I hadn't updated it in a while, so after pulling the latest I ran npm install:

$ npm i
npm ERR! code E404
npm ERR! 404 Not Found - GET https://wombat-dressing-room.appspot.com/@unicode/unicode-13.0.0/-/unicode-13.0.0-1.2.0.tgz
npm ERR! 404 
npm ERR! 404  '@unicode/unicode-13.0.0@https://wombat-dressing-room.appspot.com/@unicode/unicode-13.0.0/-/unicode-13.0.0-1.2.0.tgz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

It looks like .npmrc was added as part of automating publishing. But it uses an internal Google-only repository URL that prevents installing dependencies for non-Google staff.

It's easy enough to work around locally (just delete .npmrc), so this is more of a heads-up than a complaint. 😃

mathiasbynens commented 2 years ago

That wasn't intended! Fixed.