Code Monkey home page Code Monkey logo

Comments (7)

roosta avatar roosta commented on May 23, 2024

Hi, you need a package read token configured to be able to download github packages. More here: https://github.com/srcery-colors/srcery-palette

from srcery-terminal.

planet36 avatar planet36 commented on May 23, 2024

From this page https://github.com/srcery-colors/srcery-palette/pkgs/npm/srcery-palette, this command
npm install @srcery-colors/[email protected]
outputs

npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
npm WARN config location in the cache, and they are managed by
npm WARN config     [`cacache`](http://npm.im/cacache).
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@srcery-colors%2fsrcery-palette - Not found
npm ERR! 404
npm ERR! 404  '@srcery-colors/[email protected]' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

from srcery-terminal.

roosta avatar roosta commented on May 23, 2024

Just making sure:

  1. you did create a read package token and added it to your personal npmrc?
  2. in the example above, did you run the install command from project root?

from srcery-terminal.

roosta avatar roosta commented on May 23, 2024

This isn't that user friendly, its a result of publishing package on github packages, I thought it would be a bit more seamless than it turned out. This package was intended for internal development so I figured github packages was a good fit, but I strongly consider just adding it to the npm registry.

from srcery-terminal.

roosta avatar roosta commented on May 23, 2024

k, github packages cause issues with CI also, which I should've figured. I'll either setup a secret or push to npm, not sure yet

from srcery-terminal.

roosta avatar roosta commented on May 23, 2024

Alright, took me a while but install issues should be solved now, I've published the package on npm.
https://www.npmjs.com/package/@srcery-colors/srcery-palette
CI passes so you shouldn't have any issues installing anymore

from srcery-terminal.

planet36 avatar planet36 commented on May 23, 2024

It works now. Thanks!

from srcery-terminal.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.