Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
I keep getting builder.rimraf is not a function when i build npm

I am trying to make my svelteapp prodcution ready and therefor running npm run build I have tried with several adapters but i keep getting the same error saying

> Using @sveltejs/adapter-netlify
> builder.rimraf is not a function

The application itself runs fine with npm run dev.

I have searched everywhere. tried the following

  • node version 16.14.0 also tried with older version and the newest 17.5.0
  • Deleting node_modules and ran npm i again
  • deleting package-lock.json
  • tried another adapter like adapter-vercel and adapter-auto that comes with sveltekit
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This sounds like you're on an old version of @sveltejs/adapter-netlify that is incompatible with the latest version of SvelteKit. Try running the following to update to the latest versions of everything:

npm i @sveltejs/kit@next
npm i @sveltejs/adapter-netlify@next
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!