spotify-api / spotify-api.js

A complete wrapper for spotify web api for deno, node.js and the browser.
https://spotify-api.js.org
MIT License
211 stars 19 forks source link

How do you install version 9 with yarn? #63

Closed tintin10q closed 3 years ago

tintin10q commented 3 years ago

Question and Help

The highest version in the registry of yarn is only 8.1.1

I would like to use version 9 but if I try to do yarn add https://github.com/spotify-api/spotify-api.js.git

I get the message error Package "api-types" refers to a non-existing file '"C:\....\projectname\apiTypes"'.

When I create a directory called apiTypes it does install but I still can't import the module.

How can I install version 9 with yarn?

scientific-dev commented 3 years ago

Version 9 is not yet released and unstable. It will be releasing on september 1st or near. Try installing the v8 from the npm or

yarn add spotify-api.js

I will notify you when its ready...

tintin10q commented 3 years ago

Thanks for your quick reply!

If I don't mind V9 being unstable and just want to try it out is there still a way to install V9?

scientific-dev commented 3 years ago

Thanks for your quick reply!

If I don't mind V9 being unstable and just want to try it out is there still a way to install V9?

Currently it is unstable but if still want to try it can help us to detect bugs and you can try installing it with

yarn add https://github.com/spotify-api/spotify-api.js.git

The error which you have received earlier has been fixed just now. If any errors, bugs or doubts regarding v9, you can ask here.

scientific-dev commented 3 years ago

Now you can directly install as v9 has been published on npm now. If any further doubts create a new issue.