scup / atellier

The smartest way to share interactive components with your team.
http://scup.github.io/atellier/
MIT License
995 stars 33 forks source link

Case sensitive issues with react #17

Closed Neablis closed 8 years ago

Neablis commented 8 years ago

**Overview of the Issue -

Case sensitive issues with using require('React') instead of require('react') with webpack

ERROR in ./~/react-atellier/dist/react-atellier.min.js Module not found: Error: Cannot resolve module 'React' in /melodis/node_websites/Soundhound-Atellier/node_modules/react-atellier/dist @ ./~/react-atellier/dist/react-atellier.min.js 1:82-98

**Motivation for or Use Case -

Cant build using webpack on some systems.

**#Atellier Version(s) -

0.0.14

**Browsers and Operating System -

Lots of warnings in OSX, will not build in Linux

**Suggest a Fix -

Not a fix but if you manually go into /dist/react-atellier.min.js and change all instances of require('React') to require('react') it will fix it.

TBD

andykenward commented 8 years ago

@Neablis i added an alias in my webpack file to React which seemed to solve the issue for me

https://gist.github.com/andykenward/d3f88ef50d8a6628e163

agutoli commented 8 years ago

Hi @Neablis, we are working to fix it soon, I am sorry about that and tks for reporting...

agutoli commented 8 years ago

hi @Neablis, we just fix it in v0.1.9 version...