SolidJSS
SolidJSโ€ข4y agoโ€ข
5 replies
musiclover

SolidStart - Can't use 'os' module.

I just created solid-start project,
Then I want to print 'os' homeDir in app.
But I see this error.

Error: Module "os" has been externalized for browser compatibility. Cannot access "os.homedir" in client code.

What's wrong? I'm using vite
image.png
Was this page helpful?