Getting import errors

I have a lot of experience when it comes to JS/React/etc. Solidjs peeked my interest and I have wanted to take a deeper look at it. Found a small project I wanted to build using SolidStart to see what it's all about. Following these set docs: https://start.solidjs.com/getting-started/project-setup
npm init solid@latest
bare
no server side rendering
using TS

npm install
npm run dev
npm init solid@latest
bare
no server side rendering
using TS

npm install
npm run dev
This all worked fine. Startup application worked, etc. Tried to start adding routes is where I've run into issues. Trying to set up a few demo pages doing something like this explains: https://start.solidjs.com/api/app I'm getting reference and property errors. I found another post that said to reload my environment (tried this). I've also read online that npm doesn't install it properly (which would be odd as it's the top example in setup). I'm sure there's a simple solution that I'm missing, but I'm not seeing anything in the docs and because of how new SolidStart is Google isn't much help either. I tried creating the application enabling server rendering to see if that would fix the issue (it didn't). Any help would be appreciated πŸ˜„
SolidStart Beta Documentation
SolidStart Beta Documentation
Early release documentation and resources for SolidStart Beta
SolidStart Beta Documentation
SolidStart Beta Documentation
Early release documentation and resources for SolidStart Beta
No description
No description
4 Replies
lxsmnsyc
lxsmnsycβ€’10mo ago
since you're using bare, have you installed @solidjs/meta?
𝐗-π₯𝐞𝐦
Ahhh, no, I assumed that was part of the β€œbare” package. I’ll give that a shot thanks So that does fix the import error, but that doesn't solve the "property doesn't exist" on the router error. Seems selecting basic instead of bare fixes all this.
lxsmnsyc
lxsmnsycβ€’10mo ago
oh well you most likely didn't install the router too bare doesn't have the meta and router
𝐗-π₯𝐞𝐦
hummm, maybe? I was pretty sure I tried installing that.
Want results from more Discord servers?
Add your server