Tag:cross-device

  • Nodejs prompt: cross device link not allowed, rename error solution

    Time:2020-1-17

    Node.js prompt error: Error: EXDEV: cross-device link not permitted, rename ‘C:\Users\THEDIS~1\AppData\Local\Temp\upload_9b46f1afc2f9ade074037c3fb707d271’ -> ‘E:/node-rumen/tmp/test.png’ Error calling fs.renamesync method when uploading files This prompt is about the permission problem of cross region rename file. Resolvent First copy from the source file to the target file of another partition, and then unlink. form.parse(request, function(error, fields, files) { console.log(“parsing […]