zoukankan      html  css  js  c++  java
  • throw er; // Unhandled 'error' event&Error: ENOENT: no such file or directory,

    今天做一个文件上传的项目时, 用express-formidable往硬盘里面存文件时, 报  ENOENT:no such file or directory

    原因就是程序不能像别的语言一样不存在就创建文件夹, 只有手动创建文件夹. 程序才能运行正常.

    events.js:183
    throw er; // Unhandled 'error' event
    ^
    Error: ENOENT: no such file or directory, open 'D:learningmyblog_v3publicimgupload_ff831a558a928941ffac1784584a8db9.png'
    Program node index.js exited with code 1
  • 相关阅读:
    Codeforces 385C
    Codeforces 496C
    HDU 6114 Chess
    Codeforces 839B
    Codeforces 483B
    Codeforces 352B
    Codeforces 768B
    Codeforces 38B
    Codeforces 735B
    Codeforces 534B
  • 原文地址:https://www.cnblogs.com/zhongke/p/9713304.html
Copyright © 2011-2022 走看看