Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 1

npm run deploy error

Hi there,

 

I just developped my first website based on HTML SCSS and JS.

 

I arrived to import it on my github rep while using 'git remode add...' 'git push...' and there isn't any problems. My files are all there you can check it https://github.com/StefanYYC/testsite

But the problems happens when i run 'npm run deploy' on my bash terminal.

image.png

Here is my package.json with my deploy script 

{
  "name": "porte_folio_stefan",
  "version": "1.0.0",
  "description": "Site portefolio responsive",
  "main": "index.js",
  "homepage": "https://stefanyyc.github.io/testsite",
  "scripts": {
    "sass": "node-sass -w scss/ -o dist/css/ --recursive",
    "deploy": "gh-pages -d dist"
  },
  "author": "Stefan Speter",
  "license": "MIT",
  "dependencies": {
    "gh-pages": "^2.0.1",
    "node-sass": "^4.11.0"
  }
}

I even tried to switch my default branch on my project and I put gh-pages, I saw that for some ppl it was working.

And GitHub see me too 

image.png

Sooo I don't know what to do else tbh.

I precise that is the first time I'm using git / scss so maybe I missed smthg stupid idk.

 

Thanks for your help !