Build Command is not working

Hi ,

When i am trying to run ./node_modules/.bin/webpack command in windows it is showing an error β€˜.’ is not an internal or external command.

Does this work?

node_modules\.bin\webpack

:blush:

I have already tried it.
It is working when i am taking full path of local node_modules’s webpack
Like : C:/nt/react-project/node_modules/.bin/webpack.

Thanks for reply …
:slight_smile:

Did you install webpack globally?

npm install -g webpack

I am assuming yes, but it is the only thing I can think of that may be wrong.

1 Like