ntgussoni / blitz-guard

Blitz Guard - The centralized permission based authorization for Blitz.js
https://ntgussoni.github.io/blitz-guard
MIT License
134 stars 11 forks source link

blitz 2.0.0 beta installation #290

Open webdeb opened 1 year ago

webdeb commented 1 year ago

Got this error:

#12 2.841 npm ERR! Could not resolve dependency:
#12 2.841 npm ERR! peer blitz@"^0.38.6" from @blitz-guard/core@0.4.1

In blitz-guard/package.json we require "blitz": "^0.38.6". I guess it would be sufficient to add ^0.38.6 || ^2.0.0 or something like this?

ntgussoni commented 1 year ago

Hi @webdeb I haven't upgraded this package to work with Blitz 2.0.0. It shouldn't take too much time, but if you manage to do so I'm open to merge that PR.

webdeb commented 1 year ago

Hi @webdeb I haven't upgraded this package to work with Blitz 2.0.0. It shouldn't take too much time, but if you manage to do so I'm open to merge that PR.

Sorry, I tried to update the example app, but after manual fixing the files and resolving some of the issues, still the inconsistency appeared all over the places, do you want the example app to be there?

webdeb commented 1 year ago

Also not familiar with the workspaces structure, it gave me some errors which I couldn't solve in a suitable amount of time.