---
title: "node-sass or ts-node errors"
url: https://www.marlasowards.com/samples/contributor-guide/troubleshoot/21-node-sass-or-ts-node-errors
description: "How to fix node-sass or ts-node errors in a docs build by deleting the lock file and installed packages, then running npm install again."
author: Writing sample by Marla Sowards
---

> For an index of every page on this site, see [llms.txt](https://www.marlasowards.com/llms.txt).

> **Note:** I built this project for an enterprise SaaS company. However, what I've shared is genericized to mask proprietary information, including names of companies, products, features, and UI controls. Product images are mockups generated by Claude.

# node-sass or ts-node errors

## Symptom

You see `node-sass` or `ts-node` errors.

## Solution

At root of the docs source files:

- Delete **package-lock.json**.
- Delete **/node-modules** (if you don't see it in your IDE, open the root of the docs source files in Windows File Explorer).
- Run `npm install` again.
