example-react-native-redux icon indicating copy to clipboard operation
example-react-native-redux copied to clipboard

Transform hang at 100% on Windows

Open am5a03 opened this issue 10 years ago • 2 comments

I've installed Node 5.4.1 and npm 3.5.3

When I tried to reload js, it stuck at 100% and shows the red screen complaining 'Unable to download JS Bundle'.

I've tried to print out some logs in transformer.js, there's an exception when doing babel transform, and it looks like it's caused by redux-thunk's .bablerc. Updating to 1.0.3 is working. However, I don't know why with the same setting, it works fine on a Mac. (Though it will crash when exiting the app)

transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\node_modules\redux-thunk\lib\index.js
err= [ReferenceError: [BABEL] C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\node_modules\redux-thunk\lib\index.js: Unknown option: C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\node_modules\redux-thunk\.babelrc.stage]
transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\app\reducers\index.js
transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\app\reducers\counter.js
transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\app\actions\actionTypes.js
transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\app\containers\counterApp.js
transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\app\components\counter.js
transforming:  C:\Users\Raymond\workspace\ReactNativeProjs\example-react-native-redux\Counter\app\actions\counterActions.js

am5a03 avatar Jan 18 '16 15:01 am5a03

@am5a03, have you be able to resolve this issue?

alinz avatar Feb 02 '16 14:02 alinz

@alinz Yes, I managed to. I'll close this issue. :+1:

am5a03 avatar Feb 04 '16 16:02 am5a03