Skip to content

TypeError: 'undefined' is not a constructor #11

Description

@bkern

I have this project configured and working locally on my machine (win7). However, when I push exact code to cloud(ec2) I get this error when it reaches the line in SpecRunner where it is trying to create the console reporter. I was initially working with Phantom 1.6 and I just upgraded to 1.7 but that did not resolve the issue.

TypeError: 'undefined' is not a constructor (evaluating 'new jasmine.ConsoleReporter()')

Do you have any ideas on where to go next? I tried starting phantom with --debug turned on but I didn't get any further output. I ran some of the examples in the phantomjs project so I feel comfortable that should be working.

I tried running phantom with just the run_jasmine_test and no param for spec runner and I appropriately get error mesage about providing url as argument.

I did notice that if I changed the script tag in my test runner to a bad path for the console reporter it didn't seem to matter which I thought was odd. Any ideas as to what might be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions