scup / atellier

The smartest way to share interactive components with your team.

Home Page:http://scup.github.io/atellier/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Case sensitive issues with react

Neablis opened this issue · comments

**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

@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

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

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