• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Error using node

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:

     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?



  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!