Need help with building

I am struck whenever I type yarn theia build it shows error it shows “theia” command not found any reasons why??

[original thread by Arijit265]

Please make sure that you have @theia/cli in devDependencies in your package.json and you run yarn before calling yarn theia. yarn is a shorthand for yarn install which install all dependencies, including dev (required only for development) dependencies.


I copied the whole package.json and in it theia cli is there

If you run yarn then it should download all dependencies according to package.json into node_modules folder including @theia/cli. After that you can run yarn theia start.