tushar10sh / sveltekit-oidc

Sveltekit + OpenID Auth (confidential flow with Keycloak) + SSR Auth
MIT License
45 stars 9 forks source link

[ERR_MODULE_NOT_FOUND]: Cannot find module #6

Open mobilars opened 2 years ago

mobilars commented 2 years ago

I'm getting the following error (latest sveltekit and sveltekit-oidc). Any idea how I could fix? Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\stuff\x\x\node_modules\sveltekit-oidc_keycloak\utils' imported from C:\stuff\x\x\node_modules\sveltekit-oidc\index.js at new NodeError (node:internal/errors:371:5) at finalizeResolution (node:internal/modules/esm/resolve:416:11) at moduleResolve (node:internal/modules/esm/resolve:932:10) at defaultResolve (node:internal/modules/esm/resolve:1044:11) at ESMLoader.resolve (node:internal/modules/esm/loader:422:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40) at ModuleWrap. (node:internal/modules/esm/module_job:76:40) at link (node:internal/modules/esm/module_job:75:36)

tushar10sh commented 2 years ago

Hi @mobilars are you using this repository as a npm package or building application by directly using this repo as base ?

mobilars commented 2 years ago

As an npm package.

finalspy commented 2 years ago

Same here ! Did we forget something ?

tushar10sh commented 2 years ago

@mobilars and @finalspy I'm in the process of releasing a new version of this project maybe next week or sooner. A lot has changed in sveltekit space since I wrote this code. Sorry for the delay.

IZEDx commented 2 years ago

@mobilars and @finalspy I'm in the process of releasing a new version of this project maybe next week or sooner. A lot has changed in sveltekit space since I wrote this code. Sorry for the delay.

Any update on this?

AisukoHakumei commented 1 year ago

Any news ?

tushar10sh commented 1 year ago

Extremely sorry for the delay. Yes. I am quite sure that by next week these issues will be solved. Thank you

stilet commented 1 year ago

A new version 1.0 of sveltekit has just been released. ))

ZerdoX-x commented 9 months ago

Hmm... It's been a year. @tushar10sh is this abandoned?

ChrisOgden commented 9 months ago

Hmm... It's been a year. @tushar10sh is this abandoned?

@ZerdoX-x I didn't want to wait either so I created the following: https://github.com/starbasehq/sveltekit-openid-connect it has been pretty stable. Give it a try and let me know if you have questions.