Skip to content

Next JS deployed via Vercel started failing with release push for 8.6.4 #4975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joshketellapper opened this issue Jun 3, 2021 · 3 comments

Comments

@joshketellapper
Copy link

joshketellapper commented Jun 3, 2021

  • Browser version: Npm Build
  • Firebase SDK version: 8.6.4
  • Firebase Product: Firebase

Our build started failing since we were using "firebase": "^8.6.1", in our project.json.

Error:

17:27:04.330  	Failed to compile.
17:27:04.330  	./node_modules/@firebase/firestore/dist/esm5/prebuilt-db9cc925-eb007c37.js
17:27:04.330  	Attempted import error: 'FetchXmlHttpFactory' is not exported from '@firebase/webchannel-wrapper' (imported as 'v').
17:27:04.331  	> Build error occurred
17:27:04.331  	Error: > Build failed because of webpack errors
17:27:04.332  	    at /vercel/path0/node_modules/next/dist/build/index.js:17:924
17:27:04.332  	    at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/telemetry/trace/trace.js:6:584)
17:27:04.408  	error Command failed with exit code 1.
17:27:04.408  	info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
17:27:04.427  	Error: Command "yarn run build" exited with 1

fix:

Update package.json to "firebase": "8.6.3",. Guessed this was with the 8.6.4 release since it was pushed a few hours ago.

Sorry, if this is a https://github.com/vercel issue.

@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@joshketellapper joshketellapper changed the title Next JS Build started failing with release push for 8.6.4 Next JS deployed via Vercel started failing with release push for 8.6.4 Jun 3, 2021
@RAGOpoR
Copy link

RAGOpoR commented Jun 4, 2021

I have same issue

Failed to compile.

./node_modules/@firebase/firestore/dist/esm5/prebuilt-db9cc925-eb007c37.js
Attempted import error: 'FetchXmlHttpFactory' is not exported from '@firebase/webchannel-wrapper' (imported as 'v').


> Build error occurred
Error: > Build failed because of webpack errors
    at /opt/homebrew/lib/node_modules/next/dist/build/index.js:15:918
    at async Span.traceAsyncFn (/opt/homebrew/lib/node_modules/next/dist/telemetry/trace/trace.js:5:584)

@looptheloop88
Copy link

Hi @joshketellapper, thanks for the report. I will mark this issue as duplicate of #4977.

@firebase firebase locked and limited conversation to collaborators Jul 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants