IjzerenHein / react-native-bundle-visualizer

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

Not working: Getting this error #3

Closed tasneembohra closed 6 years ago

tasneembohra commented 6 years ago

Error running haul bundle --config ./node_modules/react-native-bundle-visualizer/src/webpack.haul.js --platform ios

TypeError: Invalid Version: at new SemVer (/Users/300006350/workspace/rn-batbelt/node_modules/haul/node_modules/semver/semver.js:293:11) at compare (/Users/300006350/workspace/rn-batbelt/node_modules/haul/node_modules/semver/semver.js:566:10) at Function.gte (/Users/300006350/workspace/rn-batbelt/node_modules/haul/node_modules/semver/semver.js:615:10) at getDefaultConfig (/Users/300006350/workspace/rn-batbelt/node_modules/haul/src/utils/makeReactNativeConfig.js:69:24) at PLATFORMS.map.platform (/Users/300006350/workspace/rn-batbelt/node_modules/haul/src/utils/makeReactNativeConfig.js:215:34) at Array.map () at makeReactNativeConfig (/Users/300006350/workspace/rn-batbelt/node_modules/haul/src/utils/makeReactNativeConfig.js:213:29) at Object.bundle (/Users/300006350/workspace/rn-batbelt/node_modules/haul/src/commands/bundle.js:29:7) at run (/Users/300006350/workspace/rn-batbelt/node_modules/haul/src/cliEntry.js:178:19) at

IjzerenHein commented 6 years ago

Wat version of node are you using?

tasneembohra commented 6 years ago

I am using V8.4.0


From: Hein Rutjes notifications@github.com Sent: Tuesday, October 24, 2017 10:48 PM To: IjzerenHein/react-native-bundle-visualizer Cc: Tasneem Bohra; Author Subject: Re: [IjzerenHein/react-native-bundle-visualizer] Not working: Getting this error (#3)

Wat version of node are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/IjzerenHein/react-native-bundle-visualizer/issues/3#issuecomment-339065958, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHKUXP_D_hX7JB6Y8HdBtdINt2AocKoAks5svhv9gaJpZM4QD4rt.

IjzerenHein commented 6 years ago

Okay, in that case node isn't the problem.

Could you try things I suggested in my last post in issue #2 ?

tasneembohra commented 6 years ago

okay, 'll check.


From: Hein Rutjes notifications@github.com Sent: Wednesday, October 25, 2017 12:39 PM To: IjzerenHein/react-native-bundle-visualizer Cc: Tasneem Bohra; Author Subject: Re: [IjzerenHein/react-native-bundle-visualizer] Not working: Getting this error (#3)

Okay, in that case node isn't the problem.

Could you try things I suggested in my last post in issue #2https://github.com/IjzerenHein/react-native-bundle-visualizer/issues/2 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/IjzerenHein/react-native-bundle-visualizer/issues/3#issuecomment-339235948, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHKUXAUjjQaYF7RbMX3Pu5zTbM4yl-9Kks5svt7BgaJpZM4QD4rt.

IjzerenHein commented 6 years ago

Hi, I've just released v1.2.0 of react-native-bundle-visualizer, it now works with RN49. Let me know whether that resolves your problem.

tasneembohra commented 6 years ago

Hi , okay. Will check and let you know. Thanks for replying.


From: Hein Rutjes notifications@github.com Sent: Tuesday, October 31, 2017 2:38 AM To: IjzerenHein/react-native-bundle-visualizer Cc: Tasneem Bohra; Author Subject: Re: [IjzerenHein/react-native-bundle-visualizer] Not working: Getting this error (#3)

Hi, I've just released v1.2.0 of react-native-bundle-visualizer, it now works with RN49. Let me know whether that resolves your problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/IjzerenHein/react-native-bundle-visualizer/issues/3#issuecomment-340585069, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHKUXKK3sZy1Q5B_1IOPcjmLCJ_UNAkhks5sxjrggaJpZM4QD4rt.