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

../node_modules/.pnpm/@[email protected][email protected]/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js (4:9): "CacheProvider" is not exported by "__vite-optional-peer-dep:@emotion/react:@mui/styled-engine", imported by "../node_modules/.pnpm/@[email protected][email protected]/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js" #44105

Closed
tuanductran opened this issue Oct 15, 2024 · 3 comments
Assignees
Labels
package: styled-engine Specific to @mui/styled-engine status: waiting for author Issue with insufficient information

Comments

@tuanductran
Copy link

tuanductran commented Oct 15, 2024

web:build: error during build:
web:build: ../node_modules/.pnpm/@mui[email protected][email protected]/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js (4:9): "CacheProvider" is not exported by "vite-optional-peer-dep:@emotion/react:@mui/styled-engine", imported by "../node_modules/.pnpm/@mui[email protected][email protected]/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js".
web:build: file: /Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/@mui[email protected][email protected]/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js:4:9
web:build:
web:build: 2:
web:build: 3: import * as React from 'react';
web:build: 4: import PropTypes from 'prop-types';
web:build: ^
web:build: 5: import { CacheProvider } from '@emotion/react';
web:build: 6: import createCache from '@emotion/cache';
web:build:
web:build: at getRollupError (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
web:build: at error (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
web:build: at Module.error (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:14844:16)
web:build: at Module.traceVariable (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:15291:29)
web:build: at ModuleScope.findVariable (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:13192:39)
web:build: at FunctionScope.findVariable (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:5221:38)
web:build: at FunctionBodyScope.findVariable (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:5221:38)
web:build: at Identifier.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4871:40)
web:build: at CallExpression.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2832:28)
web:build: at CallExpression.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:11148:15)
web:build: at ConditionalExpression.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2836:23)
web:build: at ReturnStatement.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2836:23)
web:build: at BlockStatement.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2832:28)
web:build: at FunctionDeclaration.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2836:23)
web:build: at ExportDefaultDeclaration.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2836:23)
web:build: at Program.bind (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:2832:28)
web:build: at Module.bindReferences (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:14823:18)
web:build: at Graph.sortModules (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20225:20)
web:build: at Graph.build (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20128:14)
web:build: at async file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20772:13
web:build: at async catchUnfinishedHookActions (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20282:16)
web:build: at async rollupInternal (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20767:5)
web:build: at async build (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]
@types[email protected]/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:65386:14)
web:build: at async CAC. (file:///Users/trantuanduc/Downloads/find-compatible-version/node_modules/.pnpm/[email protected]
@types[email protected]/node_modules/vite/dist/node/cli.js:828:5)
web:build:  ELIFECYCLE  Command failed with exit code 1.
web:build: ERROR: command finished with error: command (/Users/trantuanduc/Downloads/find-compatible-version/web) /Users/trantuanduc/Library/pnpm/pnpm run build exited (1)
web#build: command (/Users/trantuanduc/Downloads/find-compatible-version/web) /Users/trantuanduc/Library/pnpm/pnpm run build exited (1)

Search keywords:

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 15, 2024
@zannager zannager added the package: styled-engine Specific to @mui/styled-engine label Oct 15, 2024
@mnajdova
Copy link
Member

Can you share a bit more info on your project, or share a reproduction that we can look into? What framework do you use? What's the set up, etc.

@mnajdova mnajdova added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 15, 2024
@Janpot

This comment was marked as off-topic.

Copy link

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styled-engine Specific to @mui/styled-engine status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

4 participants