访问同一局域网上的机器里的文件
开始之前:npm install
之后:npm start
使用在同一局域网的机器上访问:localhost:2333
在npm start后加上密码 比如
npm start 123
可以直接在服务器环境打开html后缀的文件
访问同一局域网上的机器里的文件
$ npm start
[email protected] start F:\browse
node ./bin/www
server ip: 192.168.20.1:2333
server ip: 192.168.132.1:2333
server ip: 192.168.1.141:2333
GET / 304 9.941 ms - -
GET /stylesheets/style.css 304 3.512 ms - -
GET /images/normal_folder.png 304 2.716 ms - -
GET /images/normal.png 304 2.670 ms - -
GET /javascripts/vue.js 304 2.683 ms - -
GET /javascripts/vue-resource.min.js 304 0.441 ms - -
GET /javascripts/index.js 304 0.845 ms - -
POST /loadFile 200 305.067 ms - 6105
POST /loadFile 200 1.957 ms - 2559
(node:9900) DeprecationWarning: Archiver.bulk() deprecated since 0.21.0
events.js:183
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'F:\browse\zip\moreFiles.zip'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Shinelon\AppData\Roaming\npm-cache_logs\2017-12-25T08_11_10_215Z-debug.log
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.