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

Cannot read properties of undefined (reading 'exportMode') #2552

Open
thole7990 opened this issue Sep 20, 2024 · 0 comments
Open

Cannot read properties of undefined (reading 'exportMode') #2552

thole7990 opened this issue Sep 20, 2024 · 0 comments

Comments

@thole7990
Copy link

What is the location of your example repository?

No response

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

@shopify/hydrogen@latest

What version of Remix are you using?

No response

Steps to Reproduce

I create new application by running npm create @shopify/hydrogen@latest
Everything is good if i run pnpm run dev. but if i run pnpm run build. i got this error
Cannot read properties of undefined (reading 'exportMode') │
│ │
│ To investigate the issue, examine this stack trace: │
│ at getRenderedDependencies (.../node_modules/rollup/dist/es/shared/node-entry.js:16815) │
│ at render (.../node_modules/rollup/dist/es/shared/node-entry.js:16366) │
│ at (.../node_modules/rollup/dist/es/shared/node-entry.js:18049) │
│ at map │
│ at renderChunks (.../node_modules/rollup/dist/es/shared/node-entry.js:18049) │
│ at generate (.../node_modules/rollup/dist/es/shared/node-entry.js:18294) │
│ at processTicksAndRejections (node:internal/process/task_queues:95) │
│ at (.../node_modules/rollup/dist/es/shared/node-entry.js:20845) │
│ at async catchUnfinishedHookActions │
│ (.../node_modules/rollup/dist/es/shared/node-entry.js:20274) │
│ at build (.../node_modules/vite/dist/node/chunks/dep-DyBnyoVI.js:65391)

Expected Behavior

Need to build success

Actual Behavior

getting error like description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant