zoukankan      html  css  js  c++  java
  • node Error: Could not locate the bindings file. Tried:解决

    问题描述:

    Error: Could not locate the bindings file. Tried:
     → C:codexxx
    ode_modulesdeasyncuilddeasync.node
     → C:codexxx
    ode_modulesdeasyncuildDebugdeasync.node
     → C:codexxx
    ode_modulesdeasyncuildReleasedeasync.node
     → C:codexxx
    ode_modulesdeasyncoutDebugdeasync.node
     → C:codexxx
    ode_modulesdeasyncDebugdeasync.node
     → C:codexxx
    ode_modulesdeasyncoutReleasedeasync.node
     → C:codexxx
    ode_modulesdeasyncReleasedeasync.node
     → C:codexxx
    ode_modulesdeasyncuilddefaultdeasync.node
     → C:codexxx
    ode_modulesdeasynccompiled8.1.3win32x64deasync.node
        at bindings (C:codexxx
    ode_modulesindingsindings.js:88:9)
        at C:codexxx
    ode_modulesdeasyncindex.js:34:32
        at Object.<anonymous> (C:codexxx
    ode_modulesdeasyncindex.js:76:2)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxx
    ode_modules
    ode-etcdlibclient.js:7:11)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxx
    ode_modules
    ode-etcdlibindex.js:9:10)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxx
    ode_modulesxx1-modelscommonetcd_config.js:3:12)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxx
    ode_modulesxx1-modelsindex.js:18:15)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxxservermodulesaseModule.js:4:14)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxxservermodulesactEntityModule.js:5:12)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxxservercontrollersactEntityController.js:2:11)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxxserver
    outesactShowRoute.js:1:89)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxxserverapp.js:41:20)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Module.require (module.js:513:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (C:codexxxserver.js:6:11)
        at Module._compile (module.js:569:30)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:503:32)
        at tryModuleLoad (module.js:466:12)
        at Function.Module._load (module.js:458:3)
        at Function.Module.runMain (module.js:605:10)
        at startup (bootstrap_node.js:158:16)
        at bootstrap_node.js:575:3
    

     

    使用如下命令:

    npm rebuild

    即可解决!

  • 相关阅读:
    sql中的exists用法
    采用spring的schedule注解配置定时任务
    java通过传入的日期,获取所在周的周一至周日
    forever start app.js 启动node时,服务访问一次后第二次就不能访问了
    linux 安装nginx
    linux 常用命令
    8位字节表示的有符号数范围是-128~127
    极光推送免费版
    tomcat 设置连接数
    查看linux内存使用情况
  • 原文地址:https://www.cnblogs.com/yzeng/p/8417453.html
Copyright © 2011-2022 走看看