View Full Version : Sencha not recognized as a command

26 May 2017, 3:46 AM
Currently I have the setup for Extreact almost working.

npm start (works fine)
npm run prod (works fine)

but 'npm run build' gives the following error:

...\node_modules\@extjs\sencha-cmd\bin\sencha' is not recognized as an internal or external command, operable program or batch file.

With 'npm run prod' it has no problems find 'sencha' as a command.

Where do I have to change what?

@ext-react/sencha-cmd/bin/sencha is in the node_modules folder.

26 May 2017, 8:40 AM
We just pushed out a new version of reactor-webpack-plugin this morning to solve the build issues that Windows developers have been experiencing. Can you give that a try and let us know if that solves the issue?

You can upgrade to 1.0.2 by running:

npm install --save-dev @extjs/[email protected]

27 May 2017, 12:17 AM
Thank you @Mark.Brocato, that worked. It is recognizing Sencha as command.