I am new to NodeJS and I have a droplet edshare.tech
Editing the helpText with the shark gif works but I cannot see a console output.
On Chrome I get: “DevTools failed to load SourceMap: Could not load content for chrome-extension://fehcbmngdgagfalpnfphdhojfdcoblgc/static/js/contentScript.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME”
On Firefox: Error: Can’t find profile directory.
Restarting the hello app with pm2 is fine. I do it with the console of WinSCP
I need some tutorial or example for these very first steps to running a hello world app, adding some code and test it. Could someone help me?
Some more specific questions
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi there @eckard.ritter,
I believe that a great resource for learning Node.js is this free eBook here:
Regarding your questions:
You can start an app from any directory as long as your project is stored in there
Here is a link to a Hello World project on GitHub that also uses index.js:
https://github.com/johnpapa/node-hello
In case that you get an unauthorized message in WinSCP you need to use the command line and add the sudo
keyword in front of your command.
Here are a couple of alternative terminals for Windows:
Hope that this helps. Regards, Bobby
Thanks so much @bobbyiliev for your extensive and helpful answer. That’s going to save me many hours. Best, Eckard
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.