Beatstreet
Beatstreet copied to clipboard
"removed code giving error during build
the code which was not removed while refactoring the code to remove unused codes has been removed. which was giving error during build cause the which was calling to it does not exist.
please review the code.
the error it was giving is also mentioned below.
[vite-plugin-pwa:build] Could not resolve "../Context/UserContext" from "src/components/PopoverPlaylist.jsx"
5:28:55 PM: file: /opt/build/repo/src/components/PopoverPlaylist.jsx
5:28:55 PM: error during build:
5:28:55 PM: RollupError: Could not resolve "../Context/UserContext" from "src/components/PopoverPlaylist.jsx"
5:28:55 PM: at error (file:///opt/build/repo/node_modules/rollup/dist/es/shared/rollup.js:2079:30)
5:28:55 PM: at ModuleLoader.handleInvalidResolvedId (file:///opt/build/repo/node_modules/rollup/dist/es/shared/rollup.js:23197:24)
5:28:55 PM: at file:///opt/build/repo/node_modules/rollup/dist/es/shared/rollup.js:23159:26
5:28:55 PM:
5:28:55 PM: "build.command" failed
5:28:55 PM: ────────────────────────────────────────────────────────────────
5:28:55 PM:
5:28:55 PM: Error message
5:28:55 PM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
5:28:55 PM:
5:28:55 PM: Error location