-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run server.js #1
Comments
Whoops, thought I'd commented that out (just pushed a new version). It's not necessary to have a local SSL certificate to run the server, only if you want to run LiveReload over https. I'm not sure what the issue is with your certificates. |
Thanks Yuri, I upload the code and run again, now the server.js run ok but in this moment the console show the following messages. Is correct this feature? at NodeFsHandler._addToNodeFs (/home/sergio/source/repos/rp-tutorial-math/node_modules/chokidar/lib/nodefs-handler.js:628:21) |
Running webpack will produce a few Typescript errors, but those can be safely ignored. The error message you posted should not be happening, I don't know why it's doing that, but doesn't look like it's caused by this repository. The answers here might help: https://stackoverflow.com/questions/63142518/system-limit-for-number-of-file-watchers-reached |
Thanks @ysulyma , despite this message error the server.js run success. What's the objetive of this demo? Thanks in advance. |
Thanks for using it! My fault for not testing it thoroughly, I just pushed an update which should fix it. The issue was that MathJax requires an absolute path for its config file; on ractive-player.org it's located at |
@ssalanitri I'm running a workshop tomorrow (March 13) doing a deep dive on ractives! It'll be 1pm-4pm EST on the Discord: https://discord.gg/u8Qab99zHx |
Thank you @ysulyma.
El vie., 12 de marzo de 2021 22:07, Yuri Sulyma ***@***.***>
escribió:
… @ssalanitri <https://github.com/ssalanitri> I'm running a workshop
tomorrow (March 13) doing a deep dive on ractives! It'll be 1pm-4pm EST on
the Discord: https://discord.gg/u8Qab99zHx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB54AXU76Y6O664GZNWAMTTDKUDPANCNFSM4YUHGKQQ>
.
|
Is a placer to use you project , is very interesting
I'm forked you code and when I getndertand it I wish add more
functionality.
Best regards.
El mié., 10 de marzo de 2021 01:25, Yuri Sulyma ***@***.***>
escribió:
… Thanks for using it! My fault for not testing it thoroughly, I just pushed
an update which should fix it.
The issue was that MathJax requires an absolute path for its config file;
on ractive-player.org it's located at /r/rp-tutorial-math, but when
running it from server.js it's located at /. You will need to modify this
again when you have a completed ractive that you want to upload to a
server; I added a note in the README about this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB54AR2IPEAIN3TCHTFNOTTC3RCLANCNFSM4YUHGKQQ>
.
|
Dear:
I try to test the ractive-tutorial-math into Kubuntu 20.10 system
When try to run the server.js using the command $node server.js code fail with the folowing error message
Error: ENOENT: no such file or directory, open '/home/sergio/source/repos/rp-tutorial/ssl/ractive-player.key'
at Object.openSync (fs.js:458:3)
at Object.readFileSync (fs.js:360:35)
at Object. (/home/sergio/source/repos/rp-tutorial/server.js:9:14)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/sergio/source/repos/rp-tutorial/ssl/ractive-player.key'
Then, I applied the recomedation of article that you suggest in the README.md file
Note You must access the page over HTTPS in order to record audio. Here is a tutorial on how to get HTTPS working in a development environment: https://www.freecodecamp.org/news/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec/
And I create the .key and .crt files
However , the system fail but for another error
tls_common.js:149
c.context.setKey(key, passphrase);
^
Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
at Object.createSecureContext (_tls_common.js:149:17)
at Server.setSecureContext (_tls_wrap.js:1321:27)
at Server (_tls_wrap.js:1185:8)
at new Server (https.js:68:14)
at Object.createServer (https.js:92:10)
at Object.exports.createServer (/home/sergio/source/repos/rp-tutorial/node_modules/livereload/lib/livereload.js:238:19)
at Object. (/home/sergio/source/repos/rp-tutorial/server.js:6:29)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32) {
opensslErrorStack: [ 'error:0906A065:PEM routines:PEM_do_header:bad decrypt' ],
library: 'digital envelope routines',
function: 'EVP_DecryptFinal_ex',
reason: 'bad decrypt',
code: 'ERR_OSSL_EVP_BAD_DECRYPT'
}
Do you help me?
Thanks and Best regards
The text was updated successfully, but these errors were encountered: