Skip to content
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

nodejs_demo doesn't work as described on web site; does via readme #851

Open
garyrob opened this issue Apr 29, 2023 · 2 comments
Open

nodejs_demo doesn't work as described on web site; does via readme #851

garyrob opened this issue Apr 29, 2023 · 2 comments

Comments

@garyrob
Copy link

garyrob commented Apr 29, 2023

On the page https://www.transcrypt.org/docs/html/installation_use.html, there's a description of how to compile and run the nodejs_demo. However, following the instructions there lead to errors. There is a readme.txt in the nodejs_demo directory. It says to use rollup, which bundles the javascript into a CommonJS format which node can run. That necessary instruction is omitted from the web site version. Also the arguments to the transcrypt command are different; I'm not sure why.

I could offer a PR to fix the docs, but I'm not sure if there's some reason for the different arguments to transcrypt or for not using rollup in the description on the web site. The web site calls transcrypt with:
transcrypt -b -p .none nodejs_demo
whereas the readme.txt uses:
transcrypt -b nodejs_demo

@JennaSys
Copy link
Collaborator

Related to issue #832

@garyrob
Copy link
Author

garyrob commented Apr 29, 2023

Yes, it's the same issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants