Basgrani-Org / bas-meteor-imgix

imgix server/client wrapped for meteor
MIT License
0 stars 0 forks source link

not defined #1

Open KristerV opened 8 years ago

KristerV commented 8 years ago

Hey, good to see a package for this.

Here's what heppens in my case.

➜  meteor add basgrani:bas-meteor-imgix   
Changes to your project's package version selections:
basgrani:bas-meteor-imgix  added, version 0.1.1_2
basgrani:bas-meteor-imgix: imgix server/client wrapped for meteor
<Imgix src={fullpath} />
ReferenceError: Imgix is not defined
    at http://localhost:3000/app/client/components/Landing/Landing.jsx?405c97bfe8b214ca5586bac37107fd9108e4cb22:62:49
    at Array.map (native)
    at React.createClass.render (http://localhost:3000/app/client/components/Landing/Landing.jsx?405c97bfe8b214ca5586bac37107fd9108e4cb22:57:42)
    at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:8597:34)
    at ReactCompositeComponentMixin._renderValidatedComponent (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:8617:32)
    at wrapper [as _renderValidatedComponent] (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:15201:21)
    at ReactCompositeComponentMixin._updateRenderedComponent (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:8570:36)
    at ReactCompositeComponentMixin._performComponentUpdate (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:8554:10)
    at ReactCompositeComponentMixin.updateComponent (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:8483:12)
    at wrapper [as updateComponent] (http://localhost:3000/packages/react-runtime-dev.js?f5717e9fd5eec44385d31dc73459b36ac0dcd4ce:15201:21) undefined
KristerV commented 8 years ago

okay I had a look at your code and it seems lowercase ingix needs to be used. This time images don't get loaded though. No errors no anything..

Looks like the component gets rendered but nothing happens. There's nothing inside the componen.

screenshot_2016-03-21_12-14-33