Referesged by Git Clone of the repo, and starting Docker now I receive this error: Pre-transform error: Failed to load url js-cookie (resolved id: js-cookie) in /app/app/components/chat/BaseChat.tsx. Does the file exist?
Any thoughts
Referesged by Git Clone of the repo, and starting Docker now I receive this error: Pre-transform error: Failed to load url js-cookie (resolved id: js-cookie) in /app/app/components/chat/BaseChat.tsx. Does the file exist?
Any thoughts
Can you try running pnpm install before the docker steps, if you haven’t already? This came up before and might be an issue with the lock file. If that doesn’t work reply back if there’s any change in the error for you.
I am not using that package manager. I did install the node 22 on both my devices. Not sure what is being attempted to use pnpm. I did run, apt install --fix-broken and --fix-missing, There was nothing to do.
The project does use pnpm (similar to npm, but for holistic package management in a project) and its lock file - if you don’t want to install pnpm, I believe you can run it once Node is installed by using npx pnpm install && npx pnpm run dev
.
Make sure you rebuild the container as well since it has to install js-cookie!
I need to figure out the packages I am running. This is on Ubuntu Server 24.04 and I have Node Version 22 installed. Using Apt to install Node puts in an older version so I went to the Node-JS site and ran their install script. I have not used Node-JS much so I am going to look into what is missing on my AI server.
Cole, I have a script that refreshes the my git clone of the repo and then rebuilds the dev before starting the docker container. So that is all done. Just a note, I like what you are doing here.
Feel free to ask any questions you might have, there is a General forum for questions that may not fit specifically to AI, system setup for example. Pnpm, npm and yarn are all package managers based on the NPM ecosystem, think of it as a layer above the purpose of apt-get
if that helps.
My suggestions for Ubuntu would be:
apt-get
updates, just out of habit# Installs pnpm globally for use with NodeJS
# npm install -g pnpm
# Then, in project root:
# pnpm install && pnpm run dev
Hope that helps you get started, be sure to review the README in case any of this makes it clearer.
Hope you don’t mind, but I may move this topic into more of a general FAQ starter soon, I’ll make sure to capture the conversation here.
Mahoney, it does. I will probably reconfigure the Node-JS on my system after work today. Hey COLE, would love if you setup something like this chat for just AI and all your doing there. Yes, move it if it is a better fit there.
Could you clarify more what you mean? Are you looking for me to setup something like oTToDev but just to chat with LLMs locally instead of as an AI coding assistant?