vercel / modelfusion

The TypeScript library for building AI applications.
https://modelfusion.dev
MIT License
1.01k stars 76 forks source link

Path with space in causes problem #334

Closed richardgroves closed 2 months ago

richardgroves commented 2 months ago

Removed original claim of 'fails to build' as I'm getting that fail without a space in the path now, but there is still a problem with a path with space:

[Edited - still a problem] If the path where the modelfusion repo is cloned has a space in it then the pnpm install generates an extra folder:

Reproduce with:

mkdir 'My Path'
cd 'My Path'
git clone https://github.com/lgrammel/modelfusion.git
cd modelfusion
pnpm install

Then a new folder 'My' is made in the parent folder.

richardgroves commented 2 months ago

Fixed - this was caused by Node v22 - rolling back to Node v20.12 fixed the initial fail to install, and the extra folder created.