Skip to content

Error Running Packem on Windows 10 #16

@impressivewebs

Description

@impressivewebs

Hi, I've installed packem globally using:

npm install packem -g

I have Node version 12.14.0 (latest recommended build) and npm version 6.13.4 (also latest).

When I run packem in an example project I get the following error:

internal/modules/cjs/loader.js:1025
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: \\?\C:\Users\Louis\AppData\Roaming\npm\node_modules\packem\bin\index.node is not a valid Win32 application.
\\?\C:\Users\Louis\AppData\Roaming\npm\node_modules\packem\bin\index.node
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1025:18)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\Users\Louis\AppData\Roaming\npm\node_modules\packem\src\ModuleGraph.js:1:60)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)

I've tried uninstalling Packem, then reinstalling again, with the same result. Any help would be appreciated. Thank you.

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