tomsoderlund/nextjs-pwa-firebase-boilerplate

Error enabling offline persistence when building boilerplate.

HunterJoey opened this issue · 0 comments

Bug report

Error occured when running yarn build.

Error enabling offline persistence. Falling back to persistence disabled: Error: ENOENT: no such file or directory, open 'C:\src\protos\google\firestore\v1\firestore.proto'
Error enabling offline persistence. Falling back to persistence disabled: Error: ENOENT: no such file or directory, open 'C:\src\protos\google\firestore\v1\firestore.proto'
Error enabling offline persistence. Falling back to persistence disabled: Error: ENOENT: no such file or directory, open 'C:\src\protos\google\firestore\v1\firestore.proto'
Error enabling offline persistence. Falling back to persistence disabled: Error: ENOENT: no such file or directory, open 'C:\src\protos\google\firestore\v1\firestore.proto

To Reproduce

Just following the readme of the repo (including configuring .env.local as .env.example instructed). Nothing else is done.

Expected behavior

succeful build.

System information

win10;
"firebase": "^7.15.5",
"next": "latest",
"next-offline": "^5.0.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-toastify": "^6.0.8"