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

basel js problem #21

Open
BidhanMaiti opened this issue Sep 5, 2017 · 5 comments
Open

basel js problem #21

BidhanMaiti opened this issue Sep 5, 2017 · 5 comments

Comments

@BidhanMaiti
Copy link

E:\crud>basel-crud Booking -t crud -c bookingController -v booking.html -r booking --menu 1
Connected in database
Creating view...
C:\Users\maush\AppData\Roaming\npm\node_modules\basel\node_modules\sql.js\js\sql.js:5
1<process.argv.length?process.argv[1].replace(/\/g,"/"):"unknown-program");f.arguments=process.argv.slice(2);"undefined"!==typeof module&&(module.exports=f);process.on("uncaughtException",function(a){if(!(a instanceof ka))throw a;});f.inspect=function(){return"[Emscripten Module object]"}}else if(fa)f.print||(f.print=print),"undefined"!=typeof printErr&&(f.printErr=printErr),f.read="undefined"!=typeof read?read:function(){throw"no read() available (jsc?)";},f.readBinary=function(a){if("function"===
^

TypeError: jsdom.env is not a function
at C:\Users\maush\AppData\Roaming\npm\node_modules\basel\lib\crud.js:104:12
at tryToString (fs.js:456:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:443:12)

@totynho
Copy link

totynho commented Sep 6, 2017

Same problem here

@shakeeltariq
Copy link

same here..

@BidhanMaiti
Copy link
Author

I am solve this problem.
got o this link https://github.com/baseljs/basel/edit/master/lib/crud.js
and update crud.js in your system.

@FelipeTartarotti
Copy link

I had the same problem.. I try to update the crud.js but it didn't work

@jayralencar
Copy link
Contributor

New version is in project. Wait

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

5 participants