I can not use Webpack in my project

0

I'm learning react, and in the video-lessons I'm seeing, it tells me to install the global webpack:

npm i -g webpack

The installation was successful.

Only in the video is created a directory dist with file bundle.js only in my project these files do not appear. how do I generate them?

  • I do not have the node modules locally and I'm using Windows 10
  • Whenever I try to run the webpack, it gives me this answer:

        
    asked by anonymous 29.07.2018 / 01:48

    0 answers