S64 / vue-universal-cookies

31 stars 2 forks source link

`cookies: VueUniversalCookies.Options` hasn't set. #1

Open Temarie opened 6 years ago

Temarie commented 6 years ago

Hi! I am trying to implement nuxt-universal-cookies and getting this error with latest nuxt. How can I fix this?

fbrbovic commented 6 years ago

same problem

S64 commented 6 years ago

@Temarie @fbrbovic

Hello. Thanks for trying to use nuxt-universal-cookies 😊 !

Sorry, Couldn't reproduce it. This error is thrown on run w/ invalid configuration. (normally) If you have some time, Please try this steps:

Temarie commented 6 years ago

Have you successfully to test packages/example-nuxt?

  • successfull

I update to version v0.0.5, but the error still repeats

This modules section in my nuxt config:

619a31c944817b63819d3581567b2cd2 1

Emericanec commented 6 years ago

same problem. my nuxt.config.js :

screen shot 2018-01-29 at 18 57 33
stephenrichard commented 6 years ago

Hey,

Thanks for the plugin, it seems to be exactly what I need. But I also got the same error [Vue warn]: Error in beforeCreate hook: "Error: cookies: VueUniversalCookies.Options hasn't set." capture d ecran 2018-01-30 a 21 56 23 Any progress on the issue ?

benfavre commented 6 years ago

I get this in dev mode and I see this on screen load number 2. I have my npm command set as : "backpack dev"

justin-schroeder commented 6 years ago

FWIW I get the same error, Nuxt 1.0.0.

elpete commented 6 years ago

From what I can tell, this only happens on the second request to the server. The initial request is successful. Running Nuxt 1.3.0 and nuxt-universal-cookies 0.0.5.

nurdism commented 6 years ago

+1 same issue, The initial request is successful, 2nd+ request errors.

vacijj commented 6 years ago

Hi,

the package is exactly what I was looking for.

I get the same error as described above. I am running nuxt 1.3.0 and nuxt-universal-cookies 0.0.5

ghost commented 6 years ago

+1 same issue

frankier commented 6 years ago

I had the same problem. I switched to https://github.com/microcipcip/cookie-universal which seems to work just fine.

mtskf commented 6 years ago

Same issue here...

chanlito commented 6 years ago

Same issue here 👋

homerjam commented 6 years ago

+1

xinbenlv commented 5 years ago

Same issue here