Skip to content

Process fails while removing temporary files in Windows #4

@mddanishansari

Description

@mddanishansari

The project is created successfully but the create-compose-app command fails at Removing temp files... step

It happens for all the template

Command line log:

? Initializing...
??  Downloading template...
? Unzipping...
? Preparing source and test files (1/2) ...
? Verifying file contents (2/2) ...
??  Removing temp files...
Exception in thread "main" java.nio.file.FileSystemException: C:\path\to\compose-chrome-extension-template.zip: The process cannot access the file because it is being used by another process.

        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274)
        at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
        at java.base/java.nio.file.Files.deleteIfExists(Files.java:1181)
        at com.github.theapache64.corvetee.Corvette.start(Corvette.kt:147)
        at com.github.theapache64.corvetee.Corvette.start$default(Corvette.kt:55)
        at com.theapache64.createcomposeapp.MainKt.createChromeExtensionApp(Main.kt:119)
        at com.theapache64.createcomposeapp.MainKt.main(Main.kt:47)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions