kennstenicht / ember-cli-mapbox-gl

MIT License
5 stars 6 forks source link

Error during ember build #2

Open russ-enterapp opened 8 years ago

russ-enterapp commented 8 years ago

Getting this error, followed the directions and ensured that the bower component is installed properly. What could be going on?

modules/ember-cli-mapbox-gl/instance-initializers/mapbox-gl.js: line 9, col 3, 'mapboxgl' is not defined.

1 error

modules/ember-cli-mapbox-gl/services/mapbox-gl.js: line 17, col 23, 'mapboxgl' is not defined.

1 error

russ-enterapp commented 8 years ago

I don't know if this is the correct way of doing this, but i was able to eliminate the error by adding mapboxgl to my .jshintrc file in the "predef" section. Please let me know if this is the correct way to accomplish this.