Skip to content

Build failure on Windows #25096

Description

@gabrielschulhof

While running vcbuild.bat test-addons:

Building addons
internal/modules/cjs/loader.js:602
    throw err;
    ^

Error: Cannot find module 'to-vfile'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:600:15)
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)
    at Module.require (internal/modules/cjs/loader.js:654:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (C:\Users\agnes\code\node\tools\doc\addon-verify.js:11:15)
    at Module._compile (internal/modules/cjs/loader.js:718:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:729:10)
    at Module.load (internal/modules/cjs/loader.js:617:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)

Activity

  1. added
    moduleIssues and PRs related to the module subsystem.
    windowsIssues and PRs related to the Windows platform.
    on Dec 17, 2018
  2. Trott commented on Dec 18, 2018

    @Trott
    Member

    @nodejs/build @nodejs/platform-windows

  3. bzoz commented on Dec 18, 2018

    @bzoz
    Contributor

    Can reproduce. Clean master checkout fails to build addons.

  4. bzoz commented on Dec 18, 2018

    @bzoz
    Contributor

    Fix in #25108

  5. gengjiawen commented on Dec 19, 2018

    @gengjiawen
    Member

    Any thought introduce appveyor to prevent future regression ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    moduleIssues and PRs related to the module subsystem.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions