5 Replies Latest reply on Dec 1, 2015 12:43 PM by AlexT_Intel

    XDK - "module did not self-register"



      the XDK debugger showed me an issue that with the installed npm version some debug features weren't supported. Hence I upgraded nodejs (using AlexT_Intel repo) to

      nodejs-dbg_0.12.7-r1_core2-32.ipk  02-Sep-2015 13:51 60M 

         nodejs-dev_0.12.7-r1_core2-32.ipk  02-Sep-2015 13:51 2.8M 

         nodejs-doc_0.12.7-r1_core2-32.ipk  02-Sep-2015 13:51 6.1K 

         nodejs-npm_0.12.7-r1_core2-32.ipk  02-Sep-2015 13:51 2.1M 

         nodejs_0.12.7-r1_core2-32.ipk  02-Sep-2015 13:51 2.9M


      After that xdk doesn't even start the xdkBlink sample (see screen below). In addition, the debugger claims:

      "Error: Cannot find module '/opt/xdk-daemon/current/node-inspector-server/node_modules/v8-debug/build/debug/v0.4.6/node-v14-linux-ia32/debug.node'


      What am I missing?



      Starting xdk-daemon now!                                                                                                                                                                                                                                            

      Intel XDK - IoT App Daemon v0.0.37 - commands: run, list, debug, status                                                                                                                                                                                             

      ERROR: module.js:355                                                                                                                                                                                                                                                

        Module._extensions[extension](this, filename);                                                                                                                                                                                                                    


      Error: Module did not self-register.                                                                                                                                                                                                                                

          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 Object.<anonymous> (/home/root/.node_app_slot/main.js:20:12)                                                                                                                                                                                                 

          at Module._compile (module.js:460:26)                                                                                                                                                                                                                           

          at Object.Module._extensions..js (module.js:478:10)