小编Rah*_*hul的帖子

Node.js错误:%1不是有效的Win32应用程序

您好我从正在运行的Node.js服务器下载了我的项目副本并尝试运行它但遇到以下错误:

错误:

E:\Projects\Smart Automation Web\Zigma_copy\automator\node_modules\bcrypt\node_modules\bindings\bindings.js:79
        throw e
              ^
Error: %1 is not a valid Win32 application.
E:\Projects\Smart Automation Web\Zigma_copy\automator\node_modules\bcrypt\build\Release\bcrypt_lib.node
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at bindings (E:\Projects\Smart Automation Web\Zigma_copy\automator\node_modules\bcrypt\node_modules\bindings\bindings.js:74:15)
    at Object.<anonymous> (E:\Projects\Smart Automation Web\Zigma_copy\automator\node_modules\bcrypt\bcrypt.js:3:35)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (E:\Projects\Smart Automation Web\Zigma_copy\automator\api\services\UserManager.js:2:14)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
Run Code Online (Sandbox Code Playgroud)

我是如何尝试运行我的应用程序的:

  1. 我使用FTP从我的服务器下载了完整的app文件夹
  2. 我通过webstorm IDE打开了这个项目
  3. 我打开它的终端并键入:npm install
  4. 这是成功的. …

bcrypt node.js

7
推荐指数
1
解决办法
7929
查看次数

标签 统计

bcrypt ×1

node.js ×1