Unable to run Shopify Getting started app on macOS Catalina - node.js

I am trying to run the Shopify Getting started app. Configuration and steps followed up to now:
Running on macOS Catalina 10.15.7 (don't reply with update your macOS, please) on a late 2013 MacBook Pro Retina (don't reply with buy a new Mac).
Created my Shopify partner account and development shop/store
Installed Node.js 14.19 with nvm (10.18.1 is my default and still in use for development unrelated to Shopify)
Installed shopify-cli 2.15.2 from Homebrew (I was using Homebrew before)
Ran nvm use lts/fermium
Ran shopify login
Ran shopify app create node, naming it hello_world, and as a public app
Created my ngrok account and the auth token
Ran shopify app tunnel auth with the token
Ran a first time shopify app serve
Installed the app into my development store using the URL shown by the preceding command. I saw an "Hello World"-style line (I don't remember the exact text)
Stopped the app with Ctrl+C
Rebooted computer for a security update
Ran nvm use lts/fermium then shopify app serve again
Now, I am unable to see again what I saw at the end of step 11.
Inside the Shopify development store dashboard, when I go to Applications then I click the link to my app that is listed, I get a 404 error from Github Pages.
When I point the ngrok endpoint URL in a browser on the same Mac, it tries and fails to redirect to https://undefined/admin/oauth/authorize?client_id=1f78cccba52990ef59c873bf295d0d4f&scope=write_products%2Cwrite_customers%2Cwrite_draft_orders&redirect_uri=https%3A%2F%2Fe6aa-174-92-160-71.ngrok.io%2Fauth%2Fcallback&state=091059053102325&grant_options%5B%5D=per-user . The undefined host seems very fishy. Of course, I don't have a network node named that way.
The same happens when I point http://localhost:8081 to that same browser on the same Mac.

Related

Meteor Tool 1.4.4.1 stuck on extracting or downloading. Deploying app on AWS EC2 Linux

Ive scoured to web with no avail..
noob here as well... sorry im still learning
App Dependencies are all out of date... I honestly dont know how to go about updating them yet
System Meteor version is 2.9.1
App Meteor version is 1.4.4.1
when I run Yarn Start, Meteor Tools starts download and extracting. well, it never finishes extracting, even if i leave it for hours.
Works locally no problems but when running on the AWS server or Digital Ocean droplets, both get stuck on Meteor Tools Extracting
I attempted to remove meteor and reinstall meteor globally. Didn't touch anything inside the app as i dont want to break the app. Tried running
meteor update
only for it to freeze on meteor tools extracting. Also tried
meteor update --patch
only to have it freeze as well.

NodeJS not recognized under Windows 10

I am using the LTS version of NodeJS. The problem started with version node-v16.18.0-x64 and did continue with node-v18.12.0-x64.
What I am doing:
Developing Playwright test. I ran the test and NodeJS was working. After one minute, I rerun the test and NodeJS is no longer recognized in my OS.
The issue appears when I am using Cypress, so I think the issue is not related to the technology that I am using.
I checked the environment variable: It is there.
The workaround I am doing is to uninstall the NodeJS from the control panel and install it again. There is an option to repair the NodeJS installation. But when I try to use it, I receive an error message that the NodeJS is not installed on this OS.

Hosting Nodejs in Cpanel- Enter to the virtual environment

what does these command means?
Secondly my nodejs RestAPI is working fine with local machine - but not working once i deploy it to server using nodejs cpanel.
Local postman
while in actual server getting "Cannot GET /apps/api/product/all" -- where my domainName/apps represents "Application URL" in the Cpanel.
little advice....push your project to git then pull it to your server. all dependencies on your machine will be ignored then in the server you can run install updated packages and compatible with your servers Operating system then start the server. fixes most of the version dependency problems you will keep facing. This is the ideal concept not a straight answer

npm live-server this app can't run on your pc

I'm learning react, and Installed live-server via npm globally. Each time i try to serve the directory (live-server public), i get a windows error saying - "this app can't run on your pc"
I am using windows 8.1
I found the problem, the problem was that live-server was trying to render my app using a browser but the default chrome browser was having issues so it kept popping that error.
The solution was just to set Firefox as my default browser from the control panel. Control Panel>default programs

Nodejs Web Application in windows

I am new to NodeJS. I have created a web application (it runs at https://localhost:4321) in a Windows server machine using npm, gulp etc. How do I host it in the server. That is I want to open the app in the browser without having to use nodejs through command prompt and using "gulp serve" etc.
If you want to host your node.js app locally on Iis server on Windows machine you should definitely take a look into this project.

Resources