# Unable to build website locally using yarn - resulting in 5 errors

**URL:** <https://community.okteto.com/t/unable-to-build-website-locally-using-yarn-resulting-in-5-errors/602>\
**Category:** Help\
**Created:** [February 14, 2023, 2:48am UTC](https://community.okteto.com/t/unable-to-build-website-locally-using-yarn-resulting-in-5-errors/602 "2023-02-14T02:48:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NitishKumar06](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/nitishkumar06/32/302_2.png) [@NitishKumar06](https://community.okteto.com/u/NitishKumar06)\
**Post date:** [February 14, 2023, 2:48am UTC](https://community.okteto.com/t/unable-to-build-website-locally-using-yarn-resulting-in-5-errors/602/1 "2023-02-14T02:48:39Z")

</div>

Hi there!

I’m trying to build the website locally as mentioned in [this](https://github.com/okteto/docs#-develop-locally) guide. However, `yarn start` results in 5 errors which have been mentioned below.

I’ve looked for the files that are indicated to cause the error, however, I’m unable to get any idea of it after research from StackOverflow and google.

Here’s the detailed information:

1. **yarn version** : v1.22.19

2. List the errors:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/okteto/original/1X/1f3030fb5d328fa124eca2a2cc36764005ce8f19.png)  
(due to policy of new users only putting 1 item embedded, I’m bound to put only 1)

Tried the same on a VM and result in the same 5 errors.

---

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)\
**Post date:** [February 14, 2023, 11:30pm UTC](https://community.okteto.com/t/unable-to-build-website-locally-using-yarn-resulting-in-5-errors/602/2 "2023-02-14T23:30:18Z")

</div>

That typically means that you are using an older version of Node. Run `node --version` to check it?

That being said, you should try [developing with Okteto](https://github.com/okteto/docs#%EF%B8%8F-develop-with-okteto) instead. That way, you don’t have to worry about local dependencies beyond your IDE and source code.

---

<div class="post-metadata">

**Author:** ![NitishKumar06](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/nitishkumar06/32/302_2.png) [@NitishKumar06](https://community.okteto.com/u/NitishKumar06)\
**Post date:** [February 15, 2023, 5:13pm UTC](https://community.okteto.com/t/unable-to-build-website-locally-using-yarn-resulting-in-5-errors/602/3 "2023-02-15T17:13:08Z")

</div>

This is a good approach. However, I’ve one suggestion here - How about if we mention the same about building the website using okteto cloud rather than yarn since the project readme would make it more clear for a user to understand about dev environment and then later can navigate to getting-started? WDYT?

---

<div class="post-metadata">

**Author:** ![NitishKumar06](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/nitishkumar06/32/302_2.png) [@NitishKumar06](https://community.okteto.com/u/NitishKumar06)\
**Post date:** [February 22, 2023, 2:29pm UTC](https://community.okteto.com/t/unable-to-build-website-locally-using-yarn-resulting-in-5-errors/602/4 "2023-02-22T14:29:57Z")

</div>

Update: I’ve raised [this issue.](https://github.com/okteto/docs/issues/327) and would love to work on this once I get approval for this. Anyone could take a look at that issue?
