VismaLietuva/simoona

Running "gulp server-dev" results in error.

gandrisl opened this issue · 0 comments

[11:33:27] *** nodemon started
[11:33:27] Starting BrowserSync on port 7203
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open 'C:\Projects\simoona\src\webapp\src\server\newkey.pem'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object. (C:\Projects\simoona\src\webapp\src\server\app.js:18:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)

It seems that adding SSL certifcate to src\webapp\src\server\ is a must do thing when setting up the project. Would be nice for development environment to have HTTPS just as an option and be able to run on HTTP by defaultt.