Giter Site home page Giter Site logo

Comments (7)

Ali-Hussein-dev avatar Ali-Hussein-dev commented on August 16, 2024 1

@AlexVCS To work on the PR you need only dummy strings, I will update the readme on how to get the other variables.

from noorai.

AlexVCS avatar AlexVCS commented on August 16, 2024

Ok I'd like to try this one!

from noorai.

AlexVCS avatar AlexVCS commented on August 16, 2024

I see you listed the different environment variables for the env in the readme. Do I need to have values for each of those, or are there test values I can put in to run the project locally?

from noorai.

AlexVCS avatar AlexVCS commented on August 16, 2024

thanks for updating the readme! I think I got my .env all setup but I'm getting this error when trying to run the app locally:

./src/pages/[chatId].tsx:12:0
Module not found: Package path ./server is not exported from package /Users/userNameIsHereNormally/Documents/projects/NoorAI/node_modules/@trpc/react-query (see exports field in /Users/userNameIsHereNormally/Documents/projects/NoorAI/node_modules/@trpc/react-query/package.json)
  10 | import { useFetchFormCtx, FormProv } from "@/hooks";
  11 | import { appRouter } from "@/server/api/root";
> 12 | import { createServerSideHelpers } from "@trpc/react-query/server";
  13 | import { StoreCtxProv, type StoreCtxT } from "@/context/store-ctx";
  14 | 
  15 | const Chats = dynamic(() => import("../components").then((c) => c.Chats), {

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

I pulled down the recent changes made and did another npm i. I've tried npm run dev from the root, src, server, and pages directories. Am I missing something here? Thanks

from noorai.

Ali-Hussein-dev avatar Ali-Hussein-dev commented on August 16, 2024

I would suggest one or all of the following steps:

  • Reloading your Vscode
  • Deleting the node_modules folder rm -rf node_modules and reinstall with npm i
    @AlexVCS

from noorai.

AlexVCS avatar AlexVCS commented on August 16, 2024

Thanks for the suggestions. I tried all of what you said and the same issue persists. I looked at the package.json and found these dependencies are installed

"@trpc/next": "^10.9.0", "@trpc/react-query": "^10.9.0", "@trpc/server": "^10.9.0",

Maybe it's something else? I see this is what the project has in its package.json too. I pulled in the most recent changes.

from noorai.

Ali-Hussein-dev avatar Ali-Hussein-dev commented on August 16, 2024

Thanks for the suggestions. I tried all of what you said and the same issue persists. I looked at the package.json and found these dependencies are installed

"@trpc/next": "^10.9.0", "@trpc/react-query": "^10.9.0", "@trpc/server": "^10.9.0",

Maybe it's something else? I see this is what the project has in its package.json too. I pulled in the most recent changes.

This is weird! I don't know how I can help out!

from noorai.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.