Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

The specified module could not be found.  #894

Closed

Description

@ITS-NIGHTOWL

Running my compiled package on my windows 10 desktop works as expected, but when I run it on my laptop, I get this issue:

innerError Error: The specified module could not be found.
\\?\C:\Users\itsre\Desktop\installer\pty.node
   at Object.Module._extensions..node (internal/modules/cjs/loader.js:1206:18)
   at Module.load (internal/modules/cjs/loader.js:1000:32)
   at Function.Module._load (internal/modules/cjs/loader.js:899:14)
   at Module.require (internal/modules/cjs/loader.js:1042:19)
   at Module.require (pkg/prelude/bootstrap.js:1225:31)
   at require (internal/modules/cjs/helpers.js:77:18)
   at new WindowsPtyAgent (C:\snapshot\cssource-installerv2\node_modules\node-pty\lib\windowsPtyAgent.js:56:40)
   at new WindowsTerminal (C:\snapshot\cssource-installerv2\node_modules\node-pty\lib\windowsTerminal.js:49:24)
× Error: Error: The specified module could not be found.
\\?\C:\Users\itsre\Desktop\installer\pty.node.

I checked the directory of my compiled package, and pty.node is in fact in C:\Users\itsre\Desktop\installer\pty.node, so I'm extremely confused

Activity

  1. ITS-NIGHTOWL commented on Apr 28, 2020

    @ITS-NIGHTOWL
    Author

    Figured out the issue, it was due to my exe directory missing a DLL pty.node relies on.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions