Need help with running solid-community/solid-primitives
- clone solid-community/solid-primitives
-
pnpm install
- pnpm run dev
- throws something like "packages not found, did you forget to run pnpm run generate
?"
- in /site run pnpm run generate
- throws many errors like
- pnpm run dev
- launches but with errors (image)
What I'm doing wrong?39 Replies
you'll have to build
build throws
[commonjs--resolver] Failed to resolve entry for package "@solid-primitives/scheduled". The package may have incorrect main/module/exports specified in its package.json.
launch error on site is the sameWeird, I just cloned, built, and generated and it worked
can you list your every step here? should I build before generate? only build outside site folder?
build outside the site folder
then go into the site folder and generate
and pnpm install before build?
yes
still the same, but after build I noticed i get this, so I guess nothing built
huh
are you in the root folder
like in the
solid-primitives
folder
those are the steps I didI do the same, yes in solid-primitives
but I clone from fork
that should be fine
maybe try with npm instead of pnpm
installing with npm throws this
but with --force it goes through
then build again shows this
btw
node v20.11.1
pnpm v8.15.4
npm v10.0.0
hmm
can you try with cloning the original repo instead of the fork?
I tried it was the same, I'll try again
yes it's the same
hmmm
I don't think there's anything special about solid-primitives, are you able to clone, build, and run a different repo?
never built any, do you have example repo?
with
pnpm run build:vite
then pnpm run dev
it workshmm
I have no clue what the issue is tbh
if you're able to build and run
solid-site
, solid-primitives
should be finewell one does build with vite, other with turbo, idk if there's difference
also I removed everything pnpm related, reinstalled, and still nothing
try removing the
node_modules
and .turbo
foldersYes this was the first thing I did, also after each clone they arent there, so this doesn't work
Also, because I read in the error
../packages/active-element/src/index.ts:3:65: ERROR: Could not resolve "@solid-primitives/utils"
checking inside this folder I get same error in vs codeand for this package the package.json has this
something somehow doesn't recognize this
it doesn't recognize it because it isn't built
but I'm not sure what's causing the build to not run
I ran
npx turbo run build
and things are happening👀
maybe turbo was needed on your system I guess
Yes it works
wow lol
i still get no build from just
pnpm run build
probably filter does something
also I'm on windows
possible windows issue
ok thanks anyway
what on earth