Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace all path.exists with fs.exists to enable working with Node 4.1.1 #107

Open
wsirota opened this issue Dec 9, 2015 · 0 comments
Open

Comments

@wsirota
Copy link

wsirota commented Dec 9, 2015

following directions in "Getting Started" - rake web:apache:start fails with following:
coffee web/app/source/bridge.coffee -> /Users/wsirota/Documents/calaPhone1/web/public/scripts
TypeError: path.exists is not a function
    at writeJs (/Users/wsirota/Documents/calaPhone1/node_modules/coffee-script/lib/coffee-script/command.js:356:17)
    at compileScript (/Users/wsirota/Documents/calaPhone1/node_modules/coffee-script/lib/coffee-script/command.js:145:18)
    at /Users/wsirota/Documents/calaPhone1/node_modules/coffee-script/lib/coffee-script/command.js:110:18
    at FSReqWrap.readFileAfterClose as oncomplete
rake aborted!
Error compiling CoffeeScript: 'web/app/source/bridge.coffee'

Replacing all "path.exists(" strings with "fs.exists(" fixes the issue locally
(the web server starts, at least - there is still an error when conversion is attempted: Currency conversation API failed (404) - but that is a separate issue)

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

No branches or pull requests

1 participant