# Sample App "ts" source code bug

I’m sorry if I choose wrong category. But I can’t find proper category and I think this is a kind of development issue, so if you mind to change category, I’m fine.

Issue Description:

• Failed to load Sample App

Steps to reproduce:

## Impact for my app: Low

It’s quite simple bug, but I think it should be fixed for the beginners.

In manifest.json file, all html file locations are “dist/background/” folders, but current branch (master) has “windows” folder instead of “dist”.

Please update manifest file or change the directory name.

Thank you.
Regards, Terry

@Chopstick83 have you run step 4 “Build the app”?

This step creates the dist folder.

OMG! I’m sorry, I missed that step. Thank you.
But I have another problem during the build step.

I got these messages while running “npm run build”

ERROR in F:\Source\ts\windows\in_game\in_game.ts
./windows/in_game/in_game.ts
[tsl] ERROR in F:\Source\ts\windows\in_game\in_game.ts(5,39)
TS2339: Property ‘WindowState’ does not exist on type ‘typeof windows’.

ERROR in F:\Source\ts\windows\in_game\in_game.ts
./windows/in_game/in_game.ts
[tsl] ERROR in F:\Source\ts\windows\in_game\in_game.ts(5,39)
TS2694: Namespace ‘overwolf.windows’ has no exported member ‘WindowState’.

Am I missed something more?

@Chopstick83 There was an error in the typedef file in some enum definition because of recently changed that we deployed. Sorry about that.