vue-universal-cookies icon indicating copy to clipboard operation
vue-universal-cookies copied to clipboard

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

Open Temarie opened this issue 7 years ago • 16 comments

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

Temarie avatar Jan 19 '18 09:01 Temarie

same problem

fbrbovic avatar Jan 21 '18 02:01 fbrbovic

@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:

S64 avatar Jan 21 '18 13:01 S64

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

Temarie avatar Jan 22 '18 08:01 Temarie

same problem. my nuxt.config.js : screen shot 2018-01-29 at 18 57 33

Emericanec avatar Jan 29 '18 14:01 Emericanec

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 ?

stephenrichard avatar Jan 30 '18 20:01 stephenrichard

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

benfavre avatar Jan 31 '18 19:01 benfavre

FWIW I get the same error, Nuxt 1.0.0.

justin-schroeder avatar Feb 05 '18 21:02 justin-schroeder

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.

elpete avatar Feb 05 '18 23:02 elpete

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

nurdism avatar Feb 18 '18 07:02 nurdism

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

vacijj avatar Feb 22 '18 22:02 vacijj

+1 same issue

ghost avatar Mar 08 '18 13:03 ghost

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

frankier avatar Mar 14 '18 09:03 frankier

Same issue here...

mtskf avatar Apr 19 '18 01:04 mtskf

Same issue here 👋

chanlito avatar Apr 27 '18 09:04 chanlito

+1

homerjam avatar Jun 19 '18 10:06 homerjam

Same issue here

xinbenlv avatar Aug 07 '19 18:08 xinbenlv