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

ectjs with jxcore #93

Open
BilalBoulifa opened this issue Jun 29, 2015 · 1 comment
Open

ectjs with jxcore #93

BilalBoulifa opened this issue Jun 29, 2015 · 1 comment

Comments

@BilalBoulifa
Copy link

I'm trying to pack my app with jxcore and it give me this error when trying to access a web page.

The problem is that ect is not able to see the views folder because with jxcore all the project is packaged into a single exe file.

Error: watch ENOENT
at errnoException (fs.js:1131:11)
at FSWatcher.start (fs.js:1163:11)
at Object.fs.watch (fs.js:1188:11)
at [object Object].TemplateContext.load (D:\Users\bb14193\Downloads\node_modules\ect\lib\ect.js.jx:355:27)
at [object Object].TemplateContext.render (D:\Users\bb14193\Downloads\node_modules\ect\lib\ect.js.jx:369:25)
at View.render (D:\Users\bb14193\Downloads\node_modules\ect\lib\ect.js.jx:416:34)
at View.render (D:\Users\bb14193\Downloads\node_modules\express\lib\view.js.jx:127:8)
at tryRender (D:\Users\bb14193\Downloads\node_modules\express\lib\application.js.jx:640:10)
at EventEmitter.render (D:\Users\bb14193\Downloads\node_modules\express\lib\application.js.jx:592:3)
at ServerResponse.render (D:\Users\bb14193\Downloads\node_modules\express\lib\response.js.jx:962:7)
at app.get.req.session.user (D:\Users\bb14193\Downloads\app.js.jx:42:7)
at Layer.handle as handle_request
at next (D:\Users\bb14193\Downloads\node_modules\express\lib\router\route.js.jx:132:13)
at Route.dispatch (D:\Users\bb14193\Downloads\node_modules\express\lib\router\route.js.jx:113:3)
at Layer.handle as handle_request
at D:\Users\bb14193\Downloads\node_modules\express\lib\router\index.js.jx:278:22
at Function.process_params (D:\Users\bb14193\Downloads\node_modules\express\lib\router\index.js.jx:331:12)
at next (D:\Users\bb14193\Downloads\node_modules\express\lib\router\index.js.jx:272:10)
at Object. (D:\Users\bb14193\Downloads\node_modules\express-session\index.js.jx:434:7)
at Object.immediate._onImmediate (timers.js:380:16)
at processImmediate as _immediateCallback

@BilalBoulifa
Copy link
Author

the solution is to set the option watch to false

you can close the 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