Giter Site home page Giter Site logo

Comments (8)

galvez avatar galvez commented on May 1, 2024

Thanks @qlaffont-flexper — the Solid adapter is still quite new and experimental, so this should be useful debugging it.

from fastify-vite.

 avatar commented on May 1, 2024

Yes, no problem logically you have everything to debug it. Tell me if I can help by any way. ^^

from fastify-vite.

galvez avatar galvez commented on May 1, 2024

SyntaxError: The requested module 'solid-js/web' does not provide an export named 'effect'

I have ran into this same exact issue myself. For now I have deprecated the Solid example until I'm able to debug it.

Will update this issue when there are news in that front.

from fastify-vite.

knpwrs avatar knpwrs commented on May 1, 2024

This appears to be a bug with solid. solid-app-router is importing effect from solid-js/web, but that module indeed only has two export statements and neither include effect:

export { ErrorBoundary, For, Index, Match, Show, Suspense, SuspenseList, Switch, createComponent, mergeProps } from 'solid-js';
// ...
export { Assets, Dynamic, HydrationScript, NoHydration, Portal, escape, generateHydrationScript, getHydrationKey, isServer, pipeToNodeWritable, pipeToWritable, renderToStream, renderToString, renderToStringAsync, resolveSSRNode, spread, ssr, ssrAttribute, ssrClassList, ssrHydrationKey, ssrSpread, ssrStyle };

from fastify-vite.

knpwrs avatar knpwrs commented on May 1, 2024

Reported at: solidjs/vite-plugin-solid#40

from fastify-vite.

galvez avatar galvez commented on May 1, 2024

I ran into that — I've tracked it down to the plugin missing the ssr setting. See the new working example.

from fastify-vite.

galvez avatar galvez commented on May 1, 2024

Oh, interesting, you're getting that with that new example — so weird. It works for me but I'll check again.

from fastify-vite.

galvez avatar galvez commented on May 1, 2024

I'm unable to reproduce, the example boots and runs fine for me.

Screen Shot 2022-06-04 at 17 26 51

from fastify-vite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.