solidjs pnpm workspace

I'm trying to set up a pnpm workspace to share a library within my main app, but I can't get it to work. I tried to follow a few repository examples, but I have no idea why it's not working. I made an exact copy of my architecture and the problem im facing: https://github.com/mrVin99/solid-workspace/tree/main
@parcel/core: Failed to resolve 'solid-js/jsx-dev-runtime' from './src/layout.tsx'

/home/mrvin/newfolder/web/solid-workspace/src/layout.tsx:1:1
> 1 | import {Button} from "visuals/src";
> | ^
2 |
3 | export default (props: any) => {

@parcel/resolver-default: Cannot load file './jsx-dev-runtime' from module 'solid-js'
@parcel/core: Failed to resolve 'solid-js/jsx-dev-runtime' from './src/layout.tsx'

/home/mrvin/newfolder/web/solid-workspace/src/layout.tsx:1:1
> 1 | import {Button} from "visuals/src";
> | ^
2 |
3 | export default (props: any) => {

@parcel/resolver-default: Cannot load file './jsx-dev-runtime' from module 'solid-js'
GitHub
GitHub - mrVin99/solid-workspace
Contribute to mrVin99/solid-workspace development by creating an account on GitHub.
2 Replies
mrVinicius
mrVinicius3w ago
I know its not a solidjs problem, i just thought of asking for here in this community, thanks in advance.
subframe7536
subframe75363w ago
add src in pnpm-workspace.yml?