Skip to content

Failed to build error -2 #7

@kintaro1981

Description

@kintaro1981

I download the project and I'm getting this trying to build:

PS C:\Users\user> bun C:\Users\user\Downloads\msg-viewer-main\build.ts
Clearing destination folder "./build".
Destination folder "./build" cleared successfully!

Creating destination folder "./build".
Successfully created destination folder "./build".

Copying resources from "lib\resources" to "./build".
Failed to read resource directory "lib\resources".
Failed to build. Error:  ENOENT: no such file or directory, scandir 'lib\resources'
    path: "lib\\resources",
 syscall: "scandir",
   errno: -2,
    code: "ENOENT"


PS C:\Users\user> bun C:\Users\user\Downloads\msg-viewer-main\build.ts
Clearing destination folder "./build".
Destination folder "./build" cleared successfully!

Creating destination folder "./build".
Successfully created destination folder "./build".

Copying resources from "lib\resources" to "./build".
Failed to read resource directory "lib\resources".
Failed to build. Error:  ENOENT: no such file or directory, scandir 'lib\resources'
    path: "lib\\resources",
 syscall: "scandir",
   errno: -2,
    code: "ENOENT"


PS C:\Users\user> cd C:\Users\user\Downloads\msg-viewer-main\
PS C:\Users\user\Downloads\msg-viewer-main> bun .\build.ts
error: ENOENT while resolving package 'terser' from 'C:\Users\user\.bun\install\cache\html-minifier-terser@7.2.0@@@1\src\htmlminifier.js'

Bun v1.2.13 (Windows x64)

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