dsherret/ts-ast-viewer

`yarn start` error: Module not found: Can't resolve '@ts-ast-viewer/shared'

sangxxh opened this issue · 2 comments

I'm having trouble running the site locally.

After yarn install, I run yarn start:

  • npm run updateCompilerFIles completes successfully
  • npm run start --prefix site shows "Starting the development server", then this error:
Failed to compile.

./src/AppContext.tsx
Module not found: Can't resolve '@ts-ast-viewer/shared' in 'C:\Users\user\ts-ast-viewer\site\src'

Screenshot 2021-06-16 215410

Am I missing something in the steps to run the site?

System Info

  • OS: Windows 10
  • Node: v14.16.0
  • Yarn: v1.22.10
  • npm: 6.14.11

same here

Sorry, I made some changes and then forgot to update the setup instructions. I've added a yarn setup command. Run that before yarn start and you should be good.

Fixed in 078bb66