Skip to content

Random build failures due to fs-extra defect #121

@oliversalzburg

Description

@oliversalzburg

Bug Report

Problem

What is expected to happen?

You are able to build your Cordova project reliably.

What does actually happen?

Builds randomly fail with the error Source and destination must not be the same.

Information

The random failures are caused by a defect in fs-extra, which neglects to respect an inode-related issue in Node itself.

Command or Code

Every command that copies files with fs-extra is affected. cordova prepare is most likely to cause this.

Environment, Platform, Device

Windows 10

Version information

Cordova 8.1.2 (cordova-lib@8.1.1)

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions