Git Product home page Git Product logo

Comments (5)

W4G1 avatar W4G1 commented on July 29, 2024 3

Same issue here on devalue 4.0.1

from devalue.

filipkowal avatar filipkowal commented on July 29, 2024

Following the suggestion:

  1. Make sure that packege.lock.json contains [email protected] version
  2. Add devalue to noExternal array in ssr configuration in vite.config like:
const config = {
	plugins: [sveltekit()],
	ssr: {
		noExternal: ['devalue']
	}
};

from devalue.

sonyarianto avatar sonyarianto commented on July 29, 2024

@filipkowal wow this solved my problem on Vercel build as well :) Thank you. My steps are.

  • Remove package-lock.json (because still contains devalue 3.1.2)
  • Remove pnpm-lock.yaml (because still contains devalue 3.1.2)
  • Run pnpm install (will create fresh pnpm-lock.yaml)
  • I do your suggestion above
  • Build on Vercel
  • Build success!

from devalue.

delaneyj avatar delaneyj commented on July 29, 2024

Using straight ts-node (no vite or svelte) and hitting this same error.

pnpm-lock.yaml says

/devalue/3.1.3:
    resolution: {integrity: sha512-9KO89Cb+qjzf2CqdrH+NuLaqdk9GhDP5EhR4zlkR51dvuIaiqtlkDkGzLMShDemwUy21raSMdu+kpX8Enw3yGQ==}
    dev: false

from devalue.

secondl1ght avatar secondl1ght commented on July 29, 2024

Should be fixed now, see here: sveltejs/kit#6462 (comment)

from devalue.

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.