# Unexpected Token error when running $ yarn build

**URL:** https://discourse.roots.io/t/unexpected-token-error-when-running-yarn-build/20758
**Category:** sage
**Tags:** webpack
**Created:** 2021-05-10T10:48:12Z
**Posts:** 2

## Post 1 by @FlorianW7 — 2021-05-10T10:48:12Z

Hi! I’m on a freshly installed Sage version 9.0.10 and just edited a couple .js files so far. When I’m trying to run `$ yarn build` I am getting the following error:

![cmd](https://discourse.roots.io/uploads/default/original/2X/6/64569900a4b46522d0dbfd0243f97ae741c91e6a.png)

My node.js version is v14.16.1

I am fairly new to sage and its development workflow in general, so any help is kindly appreciated!

---

## Post 2 by @Jacek — 2021-05-10T11:34:52Z

Hi Florian,

This is error with build - gsap javascript plugin, not sage.  
Check page-transition.js file
