This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error using node  RSS feed

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

I have a Java Script program as bellow:



When I run the program using node, with the command = node PeerSer.js, occurs the error message:

_tls_common.js:104
      c.context.setKey(options.key, options.passphrase);
                ^

Error: error:0906D066:PEM routines:PEM_read_bio:bad end line
    at Object.createSecureContext (_tls_common.js:104:17)
    at Server (_tls_wrap.js:803:25)
    at new Server (https.js:54:14)
    at Object.createServer (https.js:76:10)
    at PeerServer (C:\Conciliar\node_modules\peer\lib\index.js:76:20)
    at Object.<anonymous> (C:\Conciliar\PeerServer.js:4:14)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)

What is wrong?

Thanks,

Fernando



 
Look ma! I'm selling my stuff!
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!