Giter Club home page Giter Club logo

fileuploaddemo's Introduction

  • 👋 Hi, I’m @jiaozitang
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

fileuploaddemo's People

Contributors

jiaozitang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fileuploaddemo's Issues

上传错误

`nodeServer/uploads/0e1ce5d141dbc485e222626af2be5887
events.js:200
throw er; // Unhandled 'error' event
^

Error: ENOENT: no such file or directory, open 'nodeServer/tmp/upload_3ed12bdb894b79381c214cc0fc4ad0d7'
Emitted 'error' event on WriteStream instance at:
at internal/fs/streams.js:294:12
at FSReqCallback.oncomplete (fs.js:146:23) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'nodeServer/tmp/upload_3ed12bdb894b79381c214cc0fc4ad0d7'
}`

操作过程: 1. npm i -> 2.npm run start -> 3.上传文件(jpg图片) -> 4.前台显示 (校验文件进度 100% -> 上传文件进度 0% ) -> 5.后台报错
上面是报错提示, 我是 mac 电脑

注释错误

// 1.修改时间+文件名称+最后修改时间-->MD5
function md5File(file) {}

这里生成的 MD5 应该的根据文件内容

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.