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

fs module not found #14620

Closed
jadeclan opened this issue Oct 31, 2016 · 3 comments
Closed

fs module not found #14620

jadeclan opened this issue Oct 31, 2016 · 3 comments

Comments

@jadeclan
Copy link

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.
    2.1.13

  2. What steps will reproduce the problem?
    1.fs = require('fs');

  3. Which operating system are you using? linux mint rosa

  4. Did you use binary PhantomJS or did you compile it from source? binary

  5. Please provide any additional information below.
    I suspect there is a problem with the nodejs fs file and the phantomjs fs file, but I have no idea where to find the phantomjs fs file let alone install it.

@sramzan
Copy link

sramzan commented Nov 17, 2016

Do you have phantomjs installed? How did you install it? Is it built?

@jadeclan
Copy link
Author

Sean, thanks for response. It turns out phantomjs' fs file conflicts with
node's fs file and that was the problem.

On Nov 17, 2016 2:02 PM, "Sean" notifications@github.com wrote:

Do you have phantomjs installed? How did you install it? Is it built?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#14620 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFaSrWDR1V7kNzlhP2vVHw7MoB_w7xeRks5q_MDRgaJpZM4Kkonh
.

@sramzan
Copy link

sramzan commented Nov 18, 2016

Yup that's what I was thinking, that's why I was asking how you installed it & such. Glad you were able to resolve your issue :)

May be best to close this issue when you get a chance @jadeclan

@ariya ariya closed this as completed Mar 8, 2018
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

3 participants