Next-plugins: Next-workers: window is not defined

Created on 18 Nov 2018  路  5Comments  路  Source: vercel/next-plugins

I got error window is not defined with next-worker plugins.
Do you know how to resolve this ?

Most helpful comment

Thanks @timneutkens

Also @revskill10, depending on your NPM version, you dont need to speciy --save anymore :)

All 5 comments

Try @zeit/next-worker@canary Should be fixed there.

@timneutkens I got error

npm ERR! code E404
npm ERR! 404 Not Found: @zeit/next-worker@canary

when trying installing with npm i --save @zeit/next-worker@canary

It's actually workers, so @zeit/next-workers@canary

Thanks @timneutkens .

Thanks @timneutkens

Also @revskill10, depending on your NPM version, you dont need to speciy --save anymore :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asicfr picture asicfr  路  3Comments

Kyle-Mendes picture Kyle-Mendes  路  4Comments

derindutz picture derindutz  路  3Comments

pencilcheck picture pencilcheck  路  4Comments

danikaze picture danikaze  路  3Comments