benmarch / angular-bootstrap-tour

AngularJS wrapper around Bootstrap Tour
64 stars 27 forks source link

grunt error #30

Closed fpernia closed 9 years ago

fpernia commented 9 years ago

When I try to execute the project with the instructions of MD file, specifically when I execute "grunt" I get this error:

Running "jshint:all" (jshint) task

Gruntfile.js 99 | bower_main: { ^ Identifier 'bower_main' is not in camel case. app\tour_controller.js 118 | tour = new Tour(options); ^ 'Tour' is not defined.

2 errors in 8 files Warning: Task "jshint:all" failed. Use --force to continue.

Aborted due to warnings.

fpernia commented 9 years ago

screenshot_2

benmarch commented 9 years ago

Good catch, I'll be able to fix that pretty quickly this evening. Thanks!

fpernia commented 9 years ago

@benmarch Thanks for your time. I'll be aware :)

pgksunilkumar commented 6 years ago

When I Try to execute the Bootstrap Tour in grunt i am getting this error Please Help Me out with this Solution

image

pgksunilkumar commented 6 years ago

When I add the window.Tour() its working fine this is the correct solution..?

var tour = new  Window.Tour({
--
});
benmarch commented 6 years ago

@pgksunilkumar are you running Grunt in your app, or in the Angular Bootstrap Tour source code?

pgksunilkumar commented 6 years ago

Yes I am using the Grunt App

benmarch commented 6 years ago

Ok this appears to be an issue with your JSHint config then. It also looks like you are bypassing this library and trying to use Bootstrap Tour directly. Please see the README for examples.