Skip to content
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

Build failed in CI, Module not found: Can't resolve '@swc/helpers/src/_define_property.mjs' in #38192

Closed
1 task
Innei opened this issue Jun 30, 2022 · 7 comments
Labels
bug Issue was opened via the bug report template.

Comments

@Innei
Copy link

Innei commented Jun 30, 2022

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Next version: 12.2.0
CI: Github Action
Node: 16

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

Describe the Bug

Build failed in CI, but build sccuess in local.

Expected Behavior

Build sccuess.

Link to reproduction

https://github.com/mx-space/kami/runs/7128771175?check_suite_focus=true

To Reproduce

Upgrade Next to 12.2.0 and build it in GitHub CI

@Innei Innei added the bug Issue was opened via the bug report template. label Jun 30, 2022
@balazsorban44
Copy link
Member

Likely fixed in #38174 it's not in a canary release yet, so please keep an eye on https://github.com/vercel/next.js/releases and report back if it was not fixed in the next release. 🙏

@rizaldirnm
Copy link

rizaldirnm commented Jun 30, 2022

This mine, after update to 12.2.0

Module not found: Can't resolve '@swc/helpers/src/_object_spread.mjs'
> 1 | import { AppProps } from 'next/app';
  2 | import Head from 'next/head';
  3 | import 'tailwindcss/tailwind.css';
  4 | import './styles.css';

Using nx.dev environment

"@nrwl/next": "^14.2.4"

Also already check using "next": "v12.2.1-canary.1" result still the same.

@oyed
Copy link

oyed commented Jul 1, 2022

Also having this issue now. Using pnpm on linux.

@rizaldirnm
Copy link

This mine, after update to 12.2.0


Module not found: Can't resolve '@swc/helpers/src/_object_spread.mjs'

> 1 | import { AppProps } from 'next/app';

  2 | import Head from 'next/head';

  3 | import 'tailwindcss/tailwind.css';

  4 | import './styles.css';

Using nx.dev environment

"@nrwl/next": "^14.2.4"

Also already check using "next": "v12.2.1-canary.1" result still the same.

Forget to mention that I'm using PNPM as dependecies manager

@oyed
Copy link

oyed commented Jul 2, 2022

Latest canary fixes the issue (12.2.1-canary.2).

@ijjk
Copy link
Member

ijjk commented Jul 2, 2022

Closing as noted above this should be resolved in the latest canary, please update and give it a try!

@ijjk ijjk closed this as completed Jul 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2022

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

5 participants