peol / node-spotify

A very simple node.js library for the Spotify REST API
42 stars 17 forks source link

error 401 no token provided #14

Open jarvisdev opened 6 years ago

jarvisdev commented 6 years ago

When I run a code snippet on npm runkit and try to print it on the console it gives me this error:

error: Object {message: "No token provided", status: 401} what should I do?

fitzhavey commented 6 years ago

same issue, did you find a workaround?

camsjams commented 6 years ago

npm i node-spotify-api is best solution. See https://www.npmjs.com/package/node-spotify-api

Similar code but up-to-date library