Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Using package = 'test' in a coffeescript will crash phantom. #10734

Closed
RishiRamraj opened this issue Aug 29, 2012 · 1 comment
Closed

Using package = 'test' in a coffeescript will crash phantom. #10734

RishiRamraj opened this issue Aug 29, 2012 · 1 comment

Comments

@RishiRamraj
Copy link

[email protected] commented:

This bug occurs in phantomjs 1.6.1.

Steps to reproduce:

  1. Create a file called test.coffee.
  2. Make it contain the single line:

package = 'test'

  1. Run phantomjs test.coffee

Phantom shouldn't print anything. Instead, I get:

Can't open 'test.coffee'

I am currently using Ubuntu 12.04 64bit server. I obtained phantom from the downloadable zip file. As far as I can tell, this problem occurs because you use the variable name "package". Any other variable name will work fine.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #734.
🌟   2 people had starred this issue at the time of migration.

@ariya
Copy link
Owner

ariya commented Aug 18, 2014

For the forthcoming version, CoffeeScript is not supported anymore (#12410).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants