-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can not install command line tool #10
Comments
Did the installation succeed? Do you see Alternatively you can install your global npm packages in your user directory (and not need sudo):
djot should then be in |
No, I do not see djot in /usr/local/bin even when I ran the installer as sudo. I did not get any errors while installing so wonder what failed and how I can debug this. |
Try the approach above for a user directory install. |
Ok, now I got Node and NPM working as expected, but the installer fails here again.
´´´
I ran:
npm run build
that returned
***@***.*** build
tsc && webpack
sh: tsc: command not found
´´´
|
Ok finally got the tsc installed as well, so now I run the installer which gives this error:
Ran this from the djot repo directory after the npm run build
´´´
npm install -g djot-js
npm ERR! code ENOVERSIONS
npm ERR! No versions available for djot-js
´´´
That's interesting since the build gave me a version number, so wonder what went wrong here.
|
This is because I unpublished the package (we're thinking of a different name). Try this:
I can try to fix |
so we don't presuppose a global install. See #10.
Thanks, I fixed it by using your suggestion in a recloned repo directory, and now it finally got installed!
That's fantastic.
Yes, it would be great if the TSC was mentioned if not installed. This would have saved me quite some hours reinstalling stuff. It was just this morning I found that TSC wasn't installed.
Depending on the future of Djot, would it make any sense to make some more userfriendly documentation for the installation of Djot.js?
|
I think I've now fixed the tsc issue. |
Cool, I have now experimented for some hours, and i absolutely LOVE Djot!
I really hope this format can be included with Pandoc and other tools. I really see Djot as a great alternative for Markdown in so many cases. Both for people who writes blogs or just want to format their documents before converting them to docx or other known formats.
Djot has a very easy to learn syntax.
I am a Braille reader since I have no eye sight, and Djot makes formating my document so easy. I liked Markdown and used it for years, but I think DJOT may replace this when it is released.
If you are interested I could make some notes in a discussion over at the syntax repo.
Thanks for a great project and for helping me getting this to work!
Sendt fra min Mac Mini via Apple Mail
… Den 6. jan. 2023 kl. 21.02 skrev John MacFarlane ***@***.***>:
I think I've now fixed the tsc issue.
Once we get this published on npm it should be a simple npm install -g djot (or whatever the npm name turns out to be).
—
Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGGLXRQPUGPBGJ63X7GFLOTWRB24LANCNFSM6AAAAAATQAOUA4>.
You are receiving this because you authored the thread.
|
Glad to hear you finally got it to work! |
Have tried to install Djot.js several times.
I have to run the install script as sudo to get it to work since the admin user doesn't have the right levels of permisions to the /usr/local/lib/node_modules directory where Djot can be installed.
When I type
djot into the terminal it says: Command not found.
I installed Node.js from their website instead of using Homebrew hoping this would give better results.
The text was updated successfully, but these errors were encountered: