Comments (3)
Solution 1:
A quick fix for you and anyone on Windows
Edit your /node_modules/@builder.io/dev-tools/vite/index.mjs file on line 3, character 293
// add .replaceAll("/", "\\") to t.config.root
async configureServer(t){let n=await $({getRootDir:()=>t.config.root.replaceAll("/", "\\")})
Solution 2:
A bit more typing
Edit your /node_modules/@builder.io/dev-tools/vite/index.mjs file
// import join from path at beginning of file
import { join } from 'path';
//... rest of file
// search for and edit -> configureServer(t)
async configureServer(t){let n=await $({getRootDir:()=>join(t.config.root)})
//... rest of file
from builder.
Thank you @rbaekdev for the workaround!
from builder.
how can I fix the issue with out editing the node modules ??
from builder.
Related Issues (20)
- BUG: Builder Contentful Plugin Dynamic Data Binding Issue HOT 6
- Add a way to override fetch function in fetchEntries and fetchOneEntry
- `@builder.io/sdk-vue` is not properly reporting type declarations in `package.json`, causing type errors HOT 3
- Missing document for React SDK Gen 2 on `Adding editable regions to custom components` section of the docs HOT 2
- Conflict with options url.searchParams and enrich: true HOT 1
- React list error HOT 2
- "[Builder.io]: Failed code evaluation: Code generation from strings disallowed for this context" HOT 3
- Vue/Nuxt Documentation is confusing and incomplete HOT 4
- Qwik + Builer.io Section/page Models with repeaters - Maximum call stack size exceeded Error
- @builder.io/widgets depends on an old version of preact HOT 1
- Svelte: critical usability issue: styles do not apply during server-side-rendering due to `use:mitosis_styling` directive HOT 2
- Help : Custom block component using Qwik , Builder.io
- Builder content API does not return draft content when page is already published HOT 1
- Critical problem with the <Columns> component when using @builder.io/react-sdk HOT 2
- Using Next.js App Dir with Builder V2 HOT 2
- Page with data from builder are slow / crashing HOT 7
- Critical memory issue since 1.0.21 HOT 15
- Missing `folded` for `object` Input [typescript]
- Problem with translations link on block url HOT 2
- "isolated-vm import error" on Vercel with Nuxt HOT 1
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 builder.