somax / web-server-mock Goto Github PK
View Code? Open in Web Editor NEW提供restful api 调试功能的开发用web服务器
提供restful api 调试功能的开发用web服务器
Hi,In the recently ,i use wsm , i get error info .
wsm 9000
----- error info ------
if need mockdata, put *.js file in ./mockdata/!
/usr/local/lib/node_modules/web-server-mock/web-server-mock.js:92
util.puts('WSM ('+VERSION+') running at http://localhost:' + port + '/\n');
^
TypeError: util.puts is not a function
at HttpServer.start (/usr/local/lib/node_modules/web-server-mock/web-server-mock.js:92:8)
at main (/usr/local/lib/node_modules/web-server-mock/web-server-mock.js:49:6)
at Object. (/usr/local/lib/node_modules/web-server-mock/web-server-mock.js:431:1)
----- error info ------
My environment:
node -v
v12.14.1
I researched in google site.
Maybe :
util.puts is deprecated. use console.log instead
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.