Comments (5)
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.
how can I fix the issue with out editing the node modules ??
from builder.
Thank you @rbaekdev for the workaround!
from builder.
Should be fixed asap
from builder.
The issue is fixed in latest dev-tools version 1.0.13
from builder.
Related Issues (20)
- 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
- TypeScript readonly error
- Next.js 14 App Router using sdk-react-nextjs and Contentful
- React SDK wrong promises resolutions for parallel requests
- Visual editor is failing on trail plan HOT 1
- makeStateKey deprecation causes builder.io not to build in an Angular 18 project HOT 5
- Allow astro components to be registered by Builder.io HOT 1
- Node 22 compatibility HOT 1
- Request to switch Solid SDK dependency solid-styled-components with solid-styled
- Getting "gyp ERR! UNCAUGHT EXCEPTION" when installing "@builder.io/react": "3.0.8"
- Hydration error on Remix
- Feature request: disable client-side tracking via Pixel
- Angular SDK Gen 2 release estimate? Current branch of dev? HOT 2
- Problem with save template and use template HOT 3
- SDK NextJs revalidation issue HOT 1
- Semi Colon being deployed with content - React SDK HOT 3
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.