Comments (5)
Same issue here on devalue 4.0.1
from devalue.
Following the suggestion:
- Make sure that
packege.lock.json
contains[email protected]
version - Add
devalue
tonoExternal
array in ssr configuration invite.config
like:
const config = {
plugins: [sveltekit()],
ssr: {
noExternal: ['devalue']
}
};
from devalue.
@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.
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.
Should be fixed now, see here: sveltejs/kit#6462 (comment)
from devalue.
Related Issues (20)
- Array buffers HOT 1
- Creating A Dictionary For JSON Keys? HOT 1
- How to actually recover value form stringified form? HOT 1
- Support a `.toJSON`-like interface
- Error with certain build setups: No known conditions for "." entry in "devalue" package
- update example-link in description HOT 3
- [Feature request] How about serializing arbitrary class instances? HOT 1
- [Feature request] Improve TypeScript support
- don't throw an error on invalid dates when using `stringify` HOT 1
- [Feature request] some means to specify properties that should not be seralized - e.g. Symbol properties HOT 2
- `.uneval()` does not handle nested maps properly
- Allow `ReadableStream`s for `parse`
- Can the new line character appear in the serialized string?
- [meta] invalid JSON test is broken on Node 20
- Symbol descriptions are printed literally
- devalue is too strict about what can be serialized with custom types
- Support for async revivers
- What is the difference between devalue and superjson?
- Why can't symbolic keys be stringified?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devalue.