Skip to content

Tag: git

How can I use github to host an external CSS file?

I uploaded my css to github, then went to the file on the site and clicked the raw option. I tried adding it to a webpage, but chrome is giving me the following errors: Resource interpreted as Stylesheet but transferred with MIME type text/plain: “”. and Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type text/plain. See

Heroku + Node: Cannot find module error

My Node app is running fine locally, but has run into an error when deploying to Heroku. The app uses Sequelize in a /models folder, which contains index.js, Company.js and Users.js. Locally, I am able to import the models using the following code in /models/index.js: This works fine, however, when I deploy to Heroku the app crashes with the following