IjzerenHein / react-native-bundle-visualizer

See what packages are increasing your react-native bundle size 📦
MIT License
1.44k stars 42 forks source link

Cannot run on windows #17

Closed rahamin1 closed 4 years ago

rahamin1 commented 5 years ago

I am using Windows 10.

I have done installation by:
npm install --save-dev react-native-bundle-visualizer

And when I try to run the program using: ./node_modules/.bin/react-native-bundle-visualizer

I get the message:

The system cannot find the path specified.

If I try to run other programs in the same path, like: .\node_modules\.bin\which It is working properly.

IjzerenHein commented 4 years ago

That looks like a Windows specific problem. Path separators are usually denoted using the / characters on Node.js environments. You are probably not running the script in the correct environment/context

khalidahmedshalabi commented 4 years ago

Have you figured out a solution to this? @rahamin1 Post it please

rahamin1 commented 4 years ago

No, I haven't