I archived the project because I did too much thing to it… I try a new one importing the same source from Git hub but now taking too much time to import… I try different source also stalling as nothing happen. Why like this?
If your Glitch account is new (less than 2 days old) there is a limit on how many new projects you can create. This might be the reason for your new problems.
See if you can unarchive and restore the first project to its original state?
Basically it’s not working because the lib stuff doesn’t exist inside the assets directory. This is because yarn + bower install haven’t run successfully. I’m looking into that…
Another load of thoughts:
The way the original site works, is that running gulp build-dist will build the site for production into the dist folder. Then the dist folder can be hosted as a static site on GitHub Pages or wherever.
The way it’s currently running on Glitch is like a full-stack interactive app, so its just constantly rebuilding the dev environment. We need some way to build dist and then host that as a static site.
Fortunately, Glitch recently got “Generated Static Sites” to do this, so we should probably set up some config for that.
That is the thing that I tried to create nodemodule directory by opening terminal and install bower and gulp using npm install command, but to my surprise glitch wont create the library. And then I tried also to install using yarn command also… the commands was running but not generating the files.
I dont know nothing yet about Glitch I thougt it has all function as a nodejs server as on my laptop BUT not local, it is online also. Look likes nothing like that or is it?
Yeah, it does, just sometimes when you’re importing a weird project you have to do some extra stuff to make it work. This project you’re importing uses tools from 5 years ago
In this case, it’s because Glitch doesn’t let yarn have all the permissions it needs. Glitch is designed to use pnpm (or npm).
So, I got it working. Here’s what you need to do after importing from GitHub:
Add bower to devDependencies:
"devDependencies": {
"bower": "^1.8.12",
...
Wait a few seconds, then go into the Glitch console and run:
bower i
Wait for that to complete, then run
refresh
If you have your site open in another tab, open devtools and clear down any Cache Storage it’s using. Then force-refresh the site with Ctrl+F5
Wow… I cick yours and it does work…amazing… now le me try mine… thank you its really a big help… I dont know much yet about coding but want to learn but before I spent time learning I want to make sure which tools that is work… and so thats the reason I just use code example from github or others …
Before I tried NGROK… not to much success though…until my old laptop fell off the floor while I fell asleep on it (old man does that lol…) and now totally dead. but I keep searching with my cell phone and came across glitch which is great because si far I only acess glitch only with my cellular device.
I know have confident to continue… but the details of find way around the problems still haunted me because no way find by just google it until I ask…so thank you for the quick response…
I see. I think you will have more luck starting with a remix from an existing Glitch project, they’re much more likely to work than importing any given GitHub project.