RubricLab / maige

Open-source infrastructure for running natural language workflows on your codebase.
https://maige.app
GNU Affero General Public License v3.0
68 stars 4 forks source link

Build is broken #89

Closed DexterStorey closed 9 months ago

DexterStorey commented 9 months ago

The build errors in main with the following message:

Failed to compile.

./node_modules/lodash/_SetCache.js Module not found: Can't resolve './_MapCache'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module: ./node_modules/lodash/_baseUniq.js ./node_modules/lodash/uniqBy.js ./node_modules/recharts/es6/util/payload/getUniqPayload.js ./node_modules/recharts/es6/component/Legend.js barrel_optimize?names=CartesianGrid,Dot,Legend,Line,LineChart,ResponsiveContainer,Tooltip,XAxis,YAxis!=!./node_modules/recharts/es6/index.js ./node_modules/@tremor/react/dist/components/chart-elements/LineChart/LineChart.js barrel_optimize?names=LineChart!=!./node_modules/@tremor/react/dist/index.js ./lib/components/dashboard/Usage/Chart.tsx

...

maige-app[bot] commented 9 months ago

This issue has been labeled as bug and urgent. @tedspare, could you please take a look at this UI-related build problem?

By Maige. How's my driving?

DexterStorey commented 9 months ago

maige assign this to me plz

DexterStorey commented 9 months ago

maige beta assign this to me plz

DexterStorey commented 9 months ago

maige beta can you provide context about how to fix this?

maige-app[bot] commented 9 months ago

@DexterStorey, it seems like there's a module resolution issue with lodash in the build process. This could be due to a missing or incorrect import path in the dependency tree. To fix this, you can try the following steps:

  1. Ensure that all the required lodash sub-modules are correctly installed in node_modules. Running npm install or yarn install might resolve the issue if it's due to missing modules.
  2. Check the import statements in the files mentioned in the import trace to ensure they are correct and that the files exist.
  3. If the issue persists, consider clearing the node_modules folder and the package lock file (package-lock.json or yarn.lock) and reinstalling the dependencies.
  4. Look for any version mismatches in package.json that might cause this issue and align them if necessary.

If these steps do not resolve the problem, further investigation will be required to pinpoint the exact cause of the build failure.

By Maige. How's my driving?

DexterStorey commented 9 months ago

maige beta open a new issue: Maige doesn't know we're using bun when answering questions

DexterStorey commented 9 months ago

maige beta open a new issue: Maige successfully opens new issues but doesn't provide feedback to say that the issue has been opened, and doesn't reference that issue in the thread.

Attach these screenshot to the new issue:

Screenshot 2024-01-19 at 9 46 29 PM Screenshot 2024-01-19 at 9 45 53 PM
maige-app[bot] commented 9 months ago

@DexterStorey, a new issue has been opened to address the feedback and reference problem when Maige opens new issues. You can track the progress here: Issue #91.

By Maige. How's my driving?

DexterStorey commented 9 months ago

barz dog

tedspare commented 9 months ago

Maige label this

tedspare commented 9 months ago

Maige label this

tedspare commented 9 months ago

Maige label this

maige-app[bot] commented 9 months ago

I've labeled the issue as a 'bug'. @tedspare, since this seems related to the UI, I'm assigning it to you for further investigation.

By Maige. How's my driving?