Dreamyplayer / DANG

🔥 A Powerful JavaScript Module for Generating and Checking Discord Nitro 🌹
Apache License 2.0
109 stars 115 forks source link

Prestart #9

Closed Ducci9129 closed 1 year ago

Ducci9129 commented 1 year ago

`@Ducci9129 ➜ /workspaces/NitroGen/DANG (main ✗) $ npm start

dang@2.0.3 prestart git pull origin master && node -e 'setTimeout(()=>{},5000)' && node src/Generator

fatal: couldn't find remote ref master @Ducci9129 ➜ /workspaces/NitroGen/DANG (main ✗) $ `

Im trying to run this in a codespace but continue to get this error. I have no idea what it means tho :/

Dreamyplayer commented 1 year ago

since there're new updates in project, you can remove git pull origin master && node -e 'setTimeout(()=>{},5000)' && this line from package.json file would work fine in both ways. Package.json

  "scripts": {
    "start": "node src/app",
    "prestart": "git pull origin master && node -e 'setTimeout(()=>{},5000)' && node src/Generator"
  },

change to

  "scripts": {
    "start": "node src/app",
    "prestart": "node src/Generator"
  },