• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Error using node

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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



 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic