Next-pwa: Vercel build fail on v5.2.5

Created on 9 Apr 2021  路  4Comments  路  Source: shadowwalker/next-pwa

Summary

After upgrade from v5.0.6 to v5.2.5, build are failing on Vercel platform (but not locally).

How To Reproduce

Steps to reproduce the behavior:

  1. Update next-pwa from v5.0.6 to v5.2.5
  2. Check log on Vercel platform
  3. See error

Expected Behaviors

Build to finish successfully.

Screenshots

Screenshot 2021-04-09 at 11 04 02

Additional Context

Looking at recent commits, found THIS one and I guess the problem is related to the cacheWillUpdate change. Maybe because of using Optional Chaining.

bug

Most helpful comment

Version 5.2.7 should fix this problem.

All 4 comments

Yes, this is the same error that i am facing on Heroku build.

Hello, I am facing the same problem on my platform

Hello, i have the same problem in node.js v.12. It does not support optional chaining. v5.2.1 works good.

Version 5.2.7 should fix this problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yhay81 picture yhay81  路  5Comments

panjiesw picture panjiesw  路  7Comments

louisbirla picture louisbirla  路  5Comments

LucasMallmann picture LucasMallmann  路  4Comments

paales picture paales  路  3Comments