The site will not deploy

Hello

I’am trying to make a new site but when I try to deploy it will not work, I tried to find similar cases on the internet but found nothing and to me the build log said nothing exept build failed.
Do in need more in my package.json file or not? I never found an answer. I also tried to make a netlify.toml but still it didn’t work.

The site works sometimes but the final step of the build always fails. On other tries when is was online for some unknown reason I had to put /dist/ behind the link.

I hops someone can help me.
Thanks in advance.

The project is made in phpstorm and uses gulp
The name of the site is https://practical-kepler-26a3ad.netlify.app (does not work now)
And this is the full build log:

Blockquote
10:22:04 AM: build-image version: ca811f47d4c1cbd1812d1eb6ecb0c977e86d1a1d
10:22:04 AM: build-image tag: v3.3.20
10:22:04 AM: buildbot version: 78b5536ab4f742c26705d3e953381b9cde6e22ef
10:22:05 AM: Fetching cached dependencies
10:22:05 AM: Failed to fetch cache, continuing with build
10:22:05 AM: Starting to prepare the repo for build
10:22:05 AM: No cached dependencies found. Cloning fresh repo
10:22:05 AM: git clone https://github.com/Michiel-VE/NoNameYet
10:22:06 AM: Preparing Git Reference refs/heads/master
10:22:07 AM: Different build dir detected, going to use the one specified in the Netlify configuration file: ‘’ versus ‘/’ in the Netlify UI
10:22:07 AM: Starting build script
10:22:07 AM: Installing dependencies
10:22:07 AM: Python version set to 2.7
10:22:09 AM: v12.18.0 is already installed.
10:22:10 AM: Now using node v12.18.0 (npm v6.14.4)
10:22:10 AM: Started restoring cached build plugins
10:22:10 AM: Finished restoring cached build plugins
10:22:10 AM: Attempting ruby version 2.7.1, read from environment
10:22:12 AM: Using ruby version 2.7.1
10:22:13 AM: Using PHP version 5.6
10:22:13 AM: Using Swift version 5.2
10:22:13 AM: Started restoring cached node modules
10:22:13 AM: Finished restoring cached node modules
10:22:13 AM: Installing NPM modules using NPM version 6.14.4
10:22:16 AM: npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
10:22:19 AM: npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
10:22:20 AM: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
10:22:21 AM: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
10:22:22 AM: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
10:22:34 AM: > ngrok@3.2.7 postinstall /opt/build/repo/node_modules/ngrok
10:22:34 AM: > node ./postinstall.js
10:22:34 AM: ngrok - downloading binary https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
10:22:35 AM: ngrok - downloading progress: 0/13773305ngrok - downloading progress: 13904/13773305ngrok - downloading progress: 30288/13773305ngrok - downloading progress: 77080/13773305ngrok - downloading progress: 93464/13773305ngrok - downloading progress: 109472/13773305ngrok - downloading progress: 125856/13773305ngrok - downloading progress: 175008/13773305ngrok - downloading progress: 191392/13773305ngrok - downloading progress: 225768/13773305ngrok - downloading progress: 242152/13773305ngrok - downloading progress: 258536/13773305ngrok - downloading progress: 274920/13773305ngrok - downloading progress: 291304/13773305ngrok - downloading progress: 296264/13773305ngrok - downloading progress: 312648/13773305ngrok - downloading progress: 329032/13773305ngrok - downloading progress: 345416/13773305ngrok - downloading progress: 351288/13773305ngrok - downloading progress: 367672/13773305ngrok - downloading progress: 384056/13773305ngrok - downloading progress: 387488/13773305ngrok - downloading progress: 403872/13773305ngrok - downloading progress: 613376/13773305ngrok - downloading progress: 629760/13773305ngrok - downloading progress: 646144/13773305ngrok - downloading progress: 662528/13773305ngrok - downloading progress: 678912/13773305ngrok - downloading progress: 694464/13773305ngrok - downloading progress: 710848/13773305ngrok - downloading progress: 727232/13773305ngrok - downloading progress: 743616/13773305ngrok - downloading progress: 760000/13773305ngrok - downloading progress: 776384/13773305ngrok - downloading progress: 784240/13773305ngrok - downloading progress: 800624/13773305ngrok - downloading progress: 805960/13773305ngrok - downloading progress: 822344/13773305ngrok - downloading progress: 838728/13773305ngrok - downloading progress: 855112/13773305ngrok - downloading progress: 871496/13773305ngrok - downloading progress: 884152/13773305ngrok - downloading progress: 895736/13773305ngrok - downloading progress: 912120/13773305ngrok - downloading progress: 928504/13773305ngrok - downloading progress: 944888/13773305ngrok - downloading progress: 961272/13773305ngrok - downloading progress: 977656/13773305ngrok - downloading progress: 994040/13773305ngrok - downloading progress: 994200/13773305ngrok - downloading progress: 1010584/13773305ngrok - downloading progress: 1324264/13773305ngrok - downloading progress: 1340648/13773305ngrok - downloading progress: 1343168/13773305ngrok - downloading progress: 1359552/13773305ngrok - downloading progress: 1375936/13773305ngrok - downloading progress: 1392320/13773305ngrok - downloading progress: 1408704/13773305ngrok - downloading progress: 1417016/13773305ngrok - downloading progress: 1433400/13773305ngrok - downloading progress: 1449784/13773305ngrok - downloading progress: 1451768/13773305ngrok - downloading progress: 1468152/13773305ngrok - downloading progress: 1484536/13773305ngrok - downloading progress: 1500920/13773305ngrok - downloading progress: 1581016/13773305ngrok - downloading progress: 1597400/13773305ngrok - downloading progress: 1613784/13773305ngrok - downloading progress: 1630168/13773305ngrok - downloading progress: 1645800/13773305ngrok - downloading progress: 1662184/13773305ngrok - downloading progress: 1678568/13773305ngrok - downloading progress: 1686344/13773305ngrok - downloading progress: 1702728/13773305ngrok - downloading progress: 1719112/13773305ngrok - downloading progress: 1735496/13773305ngrok - downloading progress: 1751880/13773305ngrok - downloading progress: 1939584/13773305ngrok - downloading progress: 1948432/13773305ngrok - downloading progress: 1964816/13773305ngrok - downloading progress: 1981200/13773305ngrok - downloading progress: 1984632/13773305ngrok - downloading progress: 2001016/13773305ngrok - downloading progress: 2017400/13773305ngrok - downloading progress: 2033784/13773305ngrok - downloading progress: : 2199848/13773305ngrok - downloading progress: 2216232/13773305ngrok - downloading progress: 2232616/13773305ngrok - downloading progress: 2245272/13773305ngrok - downloading progress: 2261656/13773305ngrok - downloading progress: 2278040/13773305ngrok - downloading progress: 2294424/13773305ngrok - downloading progress: 2297400/13773305ngrok - downloading progress: 2313784/13773305ngrok - downloading progress: 2330168/13773305ngrok - downloading progress: 2346552/13773305ngrok - downloading progress: 2362936/13773305ngrok - downloading progress: 2379320/13773305ngrok - downloading progress: 2388624/13773305ngrok - downloading progress: 2405008/13773305ngrok - downloading progress: 2421392/13773305ngrok - downloading progress: 2437776/13773305ngrok - downloading progress: 2454160/13773305ngrok - downloading progress: 2470544/13773305ngrok - downloading progress: 2486928/13773305ngrok - downloading progress: 2503312/13773305ngrok - downloading progress: 2519696/13773305ngrok - downloading progress: 2536080/13773305ngrok - downloading progress: 2552464/13773305ngrok - downloading progress: 2558040/13773305ngrok - downloading progress: 2574424/13773305ngrok - downloading progress: 2590808/13773305ngrok - downloading progress: 2607192/13773305ngrok - downloading progress: 2623200/13773305ngrok - downloading progress: 2639584/13773305ngrok - downloading progress: 2655968/13773305ngrok - downloading progress: 2672352/13773305ngrok - downloading progress: 3028480/13773305ngrok - downloading progress: 3044864/13773305ngrok - downloading progress: 3061248/13773305ngrok - downloading progress: 3077632/13773305ngrok - downloading progress: 3079320/13773305ngrok - downloading progress: 3095704/13773305ngrok - downloading progress: 3112088/13773305ngrok - downloading progress: 3128472/13773305ngrok - downloading progress: 3144856/13773305ngrok - downloading progress: 3161240/13773305ngrok - downloading progress: 3177624/13773305ngrok - downloading progress: 3194008/13773305ngrok - downloading progress: 3210392/13773305ngrok - downloading progress: 3226776/13773305ngrok - downloading progress: 3229912/13773305ngrok - downloading progress: 3246296/13773305ngrok - downloading progress: 3262680/13773305ngrok - downloading progress: 3279064/13773305ngrok - downloading progress: 3290728/13773305ngrok - downloading progress: 3307112/13773305ngrok - downloading progress: 3323496/13773305ngrok - downloading progress: 3339880/13773305ngrok - downloading progress: 3356264/13773305ngrok - downloading progress: 3372648/13773305ngrok - downloading progress: 3389032/13773305ngrok - downloading progress: 3405120/13773305ngrok - downloading progress: 3421504/13773305ngrok - downloading progress: 3437888/13773305ngrok - downloading progress: 3454272/13773305ngrok - downloading progress: 3470656/13773305ngrok - downloading progress: 3487040/13773305ngrok - downloading progress: 3503424/13773305ngrok - downloading progress: s: 3701184/13773305ngrok - downloading progress: 3717568/13773305ngrok - downloading progress: 3730920/13773305ngrok - downloading progress: 3747304/13773305ngrok - downloading progress: 3763688/13773305ngrok - downloading progress: 3774360/13773305ngrok - downloading progress: 3790744/13773305ngrok - downloading progress: 3807128/13773305ngrok - downloading progress: 3823512/13773305ngrok - downloading progress: 3823592/13773305ngrok - downloading progress: 3839976/13773305ngrok - downloading progress: 3856360/13773305ngrok - downloading progress: 3872744/13773305ngrok - downloading progress: 3889128/13773305ngrok - downloading progress: 3905512/13773305ngrok - downloading progress: 3921896/13773305ngrok - downloading progress: 4284968/13773305ngrok - downloading progress: 4301352/13773305ngrok - downloading progress: 4317736/13773305ngrok - downloading progress: 4334120/13773305ngrok - downloading progress: 4350504/13773305ngrok - downloading progress: 4366888/13773305ngrok - downloading progress: 4383272/13773305ngrok - downloading progress: 4399656/13773305ngrok - downloading progress: 4416040/13773305ngrok - downloading progress: 4432424/13773305ngrok - downloading progress: 4448808/13773305ngrok - downloading progress: 4465192/13773305ngrok - downloading progress: 4701536/13773305ngrok - downloading progress: 4717920/13773305ngrok - downloading progress: 4734304/13773305ngrok - downloading progress: 4750688/13773305ngrok - downloading progress: 4767072/13773305ngrok - downloading progress: 4783456/13773305ngrok - downloading progress: 4799840/13773305ngrok - downloading progress: 4811128/13773305ngrok - downloading progress: 4827512/13773305ngrok - downloading progress: 4843896/13773305ngrok - downloading progress: 4860280/13773305ngrok - downloading progress: 4876664/13773305ngrok - downloading progress: 4893048/13773305ngrok - downloading progress: 4909432/13773305ngrok - downloading progress: 4925816/13773305ngrok - downloading progress: 4942200/13773305ngrok - downloading progress: 5246736/13773305ngrok - downloading progress: 5249872/13773305ngrok - downloading progress: 5266256/13773305ngrok - downloading progress: 5282640/13773305ngrok - downloading progress: 5299024/13773305ngrok - downloading progress: 5315408/13773305ngrok - downloading progress: 5331792/13773305ngrok - downloading progress: 5348176/13773305ngrok - downloading progress: 5364560/13773305ngrok - downloading progress: 5380944/13773305ngrok - downloading progress: 5397328/13773305ngrok - downloading progress: 5413712/13773305ngrok - downloading progress: 5430096/13773305ngrok - downloading progress: 5446480/13773305ngrok - downloading progress: 5462864/13773305ngrok - downloading progress: 5479248/13773305ngrok - downloading progress: 5653704/13773305ngrok - downloading progress: 5659656/13773305ngrok - downloading progress: 5676040/13773305ngrok - downloading progress: 5692424/13773305ngrok - downloading progress: 5708808/13773305ngrok - downloading progress: 5725192/13773305ngrok - downloading progress: 5741576/13773305ngrok - downloading progress: 5757960/13773305ngrok - downloading progress: 5774344/13773305ngrok - downloading progress: 5790728/13773305ngrok - downloading progress: 5807112/13773305ngrok - downloading progress: 5823496/13773305ngrok - downloading progress: 5839880/13773305ngrok - downloading progress: 5856264/13773305ngrok - downloading progress: 5872648/13773305ngrok - downloading progress: 5889032/13773305ngrok - downloading progress: 5905416/13773305ngrok - downloading progress: 5913056/13773305ngrok - downloading progress: 5929440/13773305ngrok - downloading progress: 5945824/13773305ngrok - downloading progress: 5962208/13773305ngrok - downloading progress: 5978592/13773305ngrok - downloading progress: 5994976/13773305ngrok - downloading progress: 6011360/13773305ngrok - downloading progress: 6027744/13773305ngrok - downloading progress: 6044128/13773305ngrok - downloading progress: 6246768/13773305ngrok - downloading progress: 6263152/13773305ngrok - downloading progress: 6279536/13773305ngrok - downloading progress: 6295920/13773305ngrok - downloading progress: 6312304/13773305ngrok - downloading progress: 6328688/13773305ngrok - downloading progress: 6345072/13773305ngrok - downloading progress: 6356144/13773305ngrok - downloading progress: 6372528/13773305ngrok - downloading progress: 6388912/13773305ngrok - downloading progress: 6405296/13773305ngrok - downloading progress: 6421680/13773305ngrok - downloading progress: 6827200/13773305ngrok - downloading progress: 6843584/13773305ngrok - downloading progress: 6859968/13773305ngrok - downloading progress: 6876352/13773305ngrok - downloading progress: 6892736/13773305ngrok - downloading progress: 6909120/13773305ngrok - downloading progress: 6925504/13773305ngrok - downloading progress: 6941888/13773305ngrok - downloading progress: 6958272/13773305ngrok - downloading progress: 6974656/13773305ngrok - downloading progress: 6991040/13773305ngrok - downloading progress: 7007424/13773305ngrok - downloading progress: 7023808/13773305ngrok - downloading progress: 7040192/13773305ngrok - downloading progress: 7054080/13773305ngrok - downloading progress: 7070464/13773305ngrok - downloading progress: 7086848/13773305ngrok - downloading progress: 7103232/13773305ngrok - downloading progress: 7119616/13773305ngrok - downloading progress: 7136000/13773305ngrok - downloading progress: 7152384/13773305ngrok - downloading progress: 7168768/13773305ngrok - downloading progress: 7185152/13773305ngrok - downloading progress: 7201536/13773305ngrok - downloading progress: 7401440/13773305ngrok - downloading progress: 7417824/13773305ngrok - downloading progress: 7434208/13773305ngrok - downloading progress: 7450592/13773305ngrok - downloading progress: 7466976/13773305ngrok - downloading progress: 7483360/13773305ngrok - downloading progress: 7499744/13773305ngrok - downloading progress: 7516128/13773305ngrok - downloading progress: 7523232/13773305ngrok - downloading progress: 7539616/13773305ngrok - downloading progress: 7556000/13773305ngrok - downloading progress: 7572384/13773305ngrok - downloading progress: 7588768/13773305ngrok - downloading progress: 7605152/13773305ngrok - downloading progress: 7621536/13773305ngrok - downloading progress: 7637920/13773305ngrok - downloading progress: 7654304/13773305ngrok - downloading progress: 7670688/13773305ngrok - downloading progress: 7687072/13773305ngrok - downloading progress: 7703456/13773305ngrok - downloading progress: 7705680/13773305ngrok - downloading progress: 7722064/13773305ngrok - downloading progress: 8098896/13773305ngrok - downloading progress: 8115280/13773305ngrok - downloading progress: 8131664/13773305ngrok - downloading progress: 8148048/13773305ngrok - downloading progress: 8148768/13773305ngrok - downloading progress: 8165152/13773305ngrok - downloading progress: 8181536/13773305ngrok - downloading progress: 8197920/13773305ngrok - downloading progress: 8214304/13773305ngrok - downloading progress: 8230688/13773305ngrok - downloading progress: 8247072/13773305ngrok - downloading progress: 8263456/13773305ngrok - downloading progress: 8279840/13773305ngrok - downloading progress: 8296224/13773305ngrok - downloading progress: 8312608/13773305ngrok - downloading progress: 8328992/13773305ngrok - downloading progress: 8341352/13773305ngrok - downloading progress: 8357736/13773305ngrok - downloading progress: 8374120/13773305ngrok - downloading progress: 8390504/13773305ngrok - downloading progress: 8406888/13773305ngrok - downloading progress: 8423272/13773305ngrok - downloading progress: 8439656/13773305ngrok - downloading progress: 8456040/13773305ngrok - downloading progress: 8472424/13773305ngrok - downloading progress: 8488808/13773305ngrok - downloading progress: 8839384/13773305ngrok - downloading progress: 8855768/13773305ngrok - downloading progress: 8872152/13773305ngrok - downloading progress: 8888536/13773305ngrok - downloading progress: 8904920/13773305ngrok - downloading progress: 8921304/13773305ngrok - downloading progress: 9066104/13773305ngrok - downloading progress: 9082488/13773305ngrok - downloading progress: 9088520/13773305ngrok - downloading progress: 9104904/13773305ngrok - downloading progress: 9121288/13773305ngrok - downloading progress: 9137672/13773305ngrok - downloading progress: 9154056/13773305ngrok - downloading progress: 9170440/13773305ngrok - downloading progress: 9186824/13773305ngrok - downloading progress: 9203208/13773305ngrok - downloading progress: 9219592/13773305ngrok - downloading progress: 9235976/13773305ngrok - downloading progress: 9252360/13773305ngrok - downloading progress: 9268744/13773305ngrok - downloading progress: 9285128/13773305ngrok - downloading progress: 9301512/13773305ngrok - downloading progress: 9317896/13773305ngrok - downloading progress: 9334280/13773305ngrok - downloading progress: 9350664/13773305ngrok -

10:22:35 AM: downloading progress: 9367048/13773305ngrok - downloading progress: 9382464/13773305ngrok - downloading progress: 9398848/13773305ngrok - downloading progress: 9415232/13773305ngrok - downloading progress: 9431616/13773305ngrok - downloading progress: 9448000/13773305ngrok - downloading progress: 9464384/13773305ngrok - downloading progress: 9480768/13773305ngrok - downloading progress: 9497152/13773305ngrok - downloading progress: 9513536/13773305ngrok - downloading progress: 9529920/13773305ngrok - downloading progress: 9546304/13773305ngrok - downloading progress: 9562016/13773305ngrok - downloading progress: : 9799488/13773305ngrok - downloading progress: 9815872/13773305ngrok - downloading progress: 9832256/13773305ngrok - downloading progress: 9848640/13773305ngrok - downloading progress: 9865024/13773305ngrok - downloading progress: 9881408/13773305ngrok - downloading progress: 9897792/13773305ngrok - downloading progress: 9914176/13773305ngrok - downloading progress: 9930560/13773305ngrok - downloading progress: 9946944/13773305ngrok - downloading progress: 9963328/13773305ngrok - downloading progress: 9979712/13773305ngrok - downloading progress: 9996096/13773305ngrok - downloading progress: 10012480/13773305ngrok - downloading progress: 10028864/13773305ngrok - downloading progress: 10045248/13773305ngrok - downloading progress: 10051440/13773305ngrok - downloading progress: 10067824/13773305ngrok - downloading progress: 10084208/13773305ngrok - downloading progress: 10100592/13773305ngrok - downloading progress: 10116976/13773305ngrok - downloading progress: 10133360/13773305ngrok - downloading progress: 10311384/13773305ngrok - downloading progress: 10312080/13773305ngrok - downloading progress: 10545504/13773305ngrok - downloading progress: 10561888/13773305ngrok - downloading progress: 10578272/13773305ngrok - downloading progress: 10594656/13773305ngrok - downloading progress: 10604576/13773305ngrok - downloading progress: 10620960/13773305ngrok - downloading progress: 10637344/13773305ngrok - downloading progress: 10653728/13773305ngrok - downloading progress: 10670112/13773305ngrok - downloading progress: 10686496/13773305ngrok - downloading progress: 10702880/13773305ngrok - downloading progress: 10719264/13773305ngrok - downloading progress: 10919168/13773305ngrok - downloading progress: 10935552/13773305ngrok - downloading progress: 10951936/13773305ngrok - downloading progress: 10968320/13773305ngrok - downloading progress: 10984704/13773305ngrok - downloading progress: 11001088/13773305ngrok - downloading progress: 11224696/13773305ngrok - downloading progress: 11241080/13773305ngrok - downloading progress: 11257464/13773305ngrok - downloading progress: 11273848/13773305ngrok - downloading progress: 11279344/13773305ngrok - downloading progress: 11295728/13773305ngrok - downloading progress: 11312112/13773305ngrok - downloading progress: 11328496/13773305ngrok - downloading progress: 11344880/13773305ngrok - downloading progress: 11361264/13773305ngrok - downloading progress: 11377648/13773305ngrok - downloading progress: 11394032/13773305ngrok - downloading progress: 11410416/13773305ngrok - downloading progress: 11419800/13773305ngrok - downloading progress: 11436184/13773305ngrok - downloading progress: 11452568/13773305ngrok - downloading progress: 11562160/13773305ngrok - downloading progress: 11578544/13773305ngrok - downloading progress: 11594928/13773305ngrok - downloading progress: 11611312/13773305ngrok - downloading progress: 11627696/13773305ngrok - downloading progress: 11644080/13773305ngrok - downloading progress: 11660464/13773305ngrok - downloading progress: 11676848/13773305ngrok - downloading progress: 11690576/13773305ngrok - downloading progress: 11706960/13773305ngrok - downloading progress: 11723344/13773305ngrok - downloading progress: 11739728/13773305ngrok - downloading progress: 12147208/13773305ngrok - downloading progress: 12149592/13773305ngrok - downloading progress: 12165976/13773305ngrok - downloading progress: 12182360/13773305ngrok - downloading progress: 12198744/13773305ngrok - downloading progress: 12215128/13773305ngrok - downloading progress: 12231512/13773305ngrok - downloading progress: 12247896/13773305ngrok - downloading progress: 12264280/13773305ngrok - downloading progress: 12280664/13773305ngrok - downloading progress: 12297048/13773305ngrok - downloading progress: 12313432/13773305ngrok - downloading progress: 12329816/13773305ngrok - downloading progress: 12346200/13773305ngrok - downloading progress: 12362584/13773305ngrok - downloading progress: 12378968/13773305ngrok - downloading progress: 12395352/13773305ngrok - downloading progress: 12411736/13773305ngrok - downloading progress: 12428120/13773305ngrok - downloading progress: 12444504/13773305ngrok - downloading progress: 12460888/13773305ngrok - downloading progress: 12477272/13773305ngrok - downloading progress: 12493656/13773305ngrok - downloading progress: 12510040/13773305ngrok - downloading progress: 12526424/13773305ngrok - downloading progress: 12542808/13773305ngrok - downloading progress: 12559192/13773305ngrok - downloading progress: 12575576/13773305ngrok - downloading progress: 12897216/13773305ngrok - downloading progress: 12913600/13773305ngrok - downloading progress: 12929984/13773305ngrok - downloading progress: 12946368/13773305ngrok - downloading progress: 12962752/13773305ngrok - downloading progress: 12979136/13773305ngrok - downloading progress: 12995520/13773305ngrok - downloading progress: 13011904/13773305ngrok - downloading progress: 13028288/13773305ngrok - downloading progress: 13044672/13773305ngrok - downloading progress: 13680264/13773305ngrok - downloading progress: 13696648/13773305ngrok - downloading progress: 13713032/13773305ngrok - downloading progress: 13729416/13773305ngrok - downloading progress: 13745800/13773305ngrok - downloading progress: 13762184/13773305ngrok - downloading progress: 13773305/13773305

10:22:35 AM: ngrok - binary downloaded to /opt/buildhome/.ngrok/aHR0cHM6Ly9iaW4uZXF1aW5veC5pby9jLzRWbUR6QTdpYUhiL25ncm9rLXN0YWJsZS1saW51eC1hbWQ2NC56aXA=.zip

10:22:35 AM: ngrok - unpacking binary
10:22:35 AM: ngrok - binary unpacked to /opt/build/repo/node_modules/ngrok/bin/ngrok
10:22:36 AM: npm notice created a lockfile as package-lock.json. You should commit this file.
10:22:36 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
10:22:36 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
10:22:36 AM: npm WARN bootstrap@4.5.0 requires a peer of popper.js@^1.16.0 but none is installed. You must install peer dependencies yourself.
10:22:36 AM: added 643 packages from 574 contributors and audited 644 packages in 21.431s
10:22:36 AM: 8 packages are looking for funding
10:22:36 AM: run npm fund for details
10:22:36 AM: found 3 vulnerabilities (2 low, 1 high)
10:22:36 AM: run npm audit fix to fix them, or npm audit for details
10:22:36 AM: NPM modules installed
10:22:36 AM: Started restoring cached go cache
10:22:36 AM: Finished restoring cached go cache
10:22:37 AM: go version go1.14.4 linux/amd64
10:22:37 AM: go version go1.14.4 linux/amd64
10:22:37 AM: Installing missing commands
10:22:37 AM: Verify run directory
10:22:38 AM: ​
10:22:38 AM: ┌─────────────────────────────┐
10:22:38 AM: │ Netlify Build │
10:22:38 AM: └─────────────────────────────┘
10:22:38 AM: ❯ Version
10:22:38 AM: @netlify/build 2.0.27
10:22:38 AM: ​
10:22:38 AM: ❯ Flags
10:22:38 AM: deployId: 5f0ebcaaec35fe0008a86a1c
10:22:38 AM: mode: buildbot
10:22:38 AM: ❯ Current directory
10:22:38 AM: /opt/build/repo
10:22:38 AM: ❯ Config file
10:22:38 AM: No config file was defined: using default values.
10:22:38 AM: ❯ Context
10:22:38 AM: production
10:22:38 AM: ​
10:22:38 AM: ┌───────────────────────────────────┐
10:22:38 AM: │ 1. Build command from Netlify app │
10:22:38 AM: └───────────────────────────────────┘
10:22:38 AM: $ gulp build
10:22:40 AM: [08:22:40] Using gulpfile /opt/build/repo/gulpfile.js
10:22:40 AM: [08:22:40] Task never defined: build
10:22:40 AM: [08:22:40] To list available tasks, try running: gulp --tasks​
10:22:40 AM: ┌─────────────────────────────┐
10:22:40 AM: │ “build.command” failed │
10:22:40 AM: └─────────────────────────────┘
10:22:40 AM: Error message
10:22:40 AM: Command failed with exit code 1: gulp build
10:22:40 AM: Error location
10:22:40 AM: In Build command from Netlify app:
10:22:40 AM: gulp build
10:22:40 AM: Resolved config
10:22:40 AM: build:
10:22:40 AM: base: /opt/build/repo
10:22:40 AM: command: gulp build
10:22:40 AM: commandOrigin: ui
10:22:40 AM: publish: /opt/build/repo/dist
10:22:40 AM: Caching artifacts
10:22:40 AM: Started saving node modules
10:22:40 AM: Finished saving node modules
10:22:40 AM: Started saving build plugins
10:22:40 AM: Finished saving build plugins
10:22:40 AM: Started saving pip cache
10:22:40 AM: Finished saving pip cache
10:22:40 AM: Started saving emacs cask dependencies
10:22:40 AM: Finished saving emacs cask dependencies
10:22:40 AM: Started saving maven dependencies
10:22:40 AM: Finished saving maven dependencies
10:22:40 AM: Started saving boot dependencies
10:22:41 AM: Finished saving boot dependencies
10:22:41 AM: Started saving go dependencies
10:22:41 AM: Finished saving go dependencies
10:22:44 AM: Error running command: Build script returned non-zero exit code: 1
10:22:44 AM: Failing build: Failed to build site
10:22:44 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
10:22:44 AM: Finished processing build request in 39.272691636s

hi there,

is there a task called “build” defined in your gulpfile? we seem to think that there is not. Can you post your gulpfile maybe so we can check?

`const gulp = require(‘gulp’);
const browserSync = require(‘browser-sync’).create();
const plumber = require(‘gulp-plumber’);
const notify = require(‘gulp-notify’);
const newer = require(‘gulp-newer’);
const sass = require(‘gulp-dart-sass’);
const prefix = require(‘gulp-autoprefixer’);

const sourcemaps = require(‘gulp-sourcemaps’);
const cleanCSS = require(‘gulp-clean-css’);
const postcss = require(‘gulp-postcss’);
const mqpacker = require(’@lipemat/css-mqpacker’);
const ngrok = require(‘ngrok’);

gulp.task(‘browser-sync’, function () {
browserSync.init({
startPath: ‘/index.html’,
server: {
baseDir: “./dist”,
directory: true
}
}, async function (err, bs) {
const tunnel = await ngrok.connect({
port: bs.options.get(‘port’),
region: ‘eu’
});
console.log(’ ------------------------------------------------’);
console.log( ngrok control panel: http://localhost:4040);
console.log(public URL running at: ${tunnel});
console.log(’ ------------------------------------------------’);
});
gulp.watch(’./scss//*.scss’, gulp.series(‘sass’));
gulp.watch(’./
/*.{html,css,js,php}’).on(‘change’, browserSync.reload);
})
;

// Optimize CSS just before publishing
gulp.task(‘minify-css’, function () {
return gulp.src(’./dist/**/*.css’)
.pipe(cleanCSS())
.pipe(gulp.dest(’./dist’));
});

// Copy bootstrap JS-files
gulp.task(‘js’, function () {
return gulp.src([‘node_modules/bootstrap/dist/js/bootstrap.bundle.min.js’, ‘node_modules/jquery/dist/jquery.min.js’])
.pipe(newer(’./dist/js’))
.pipe(notify({message: ‘Copy JS files’}))
.pipe(gulp.dest(’./dist/js’));
});

// Compile sass into CSS (/dist/css/) & auto-inject into browser
gulp.task(‘sass’, function () {
const processors = [
mqpacker({sort: true})
];
return gulp.src(’./scss/**/*.scss’)
.pipe(plumber({
errorHandler: notify.onError({
title: ‘SASS compile error!’,
message: ‘<%= error.message %>’
})
}))
.pipe(sourcemaps.init())
// outputStyle: nested (default), expanded, compact, compressed
.pipe(sass({outputStyle: ‘expanded’}).on(‘error’, sass.logError))
.pipe(prefix(“last 2 versions”))
.pipe(postcss(processors))
.pipe(sourcemaps.write())
.pipe(gulp.dest(’./dist/css’));
});

gulp.task(‘default’, gulp.series(‘js’, ‘sass’, ‘browser-sync’));
gulp.task(‘minify’, gulp.series(‘minify-css’));`

yea there is no build task
If there is one what should it be? (I just started don’t know alot about it)
btw i added a custom domain with hope it would fix but no
no you can find the site on jjejej.tk (also wont work :confused:)

And now the site will built but i get the 404 error don’t really know why

Hi there,

Well I am glad you got it to build! Did you see this guide yet? This is the best place to start for “Page Not Found” issues.

YES thanks for helping me or atleast to give me hits so i could find the solution

1 Like

hi there! can you share the task you created to build this? I don’t find any documentation about this and I’m new to Gulp

@jesusrmz used this command/build to get my site online but also make sure your index.html is in the root or otherwise it will not work (pretty sure there is no command to do it atleast i didn’t find it )

I hope this solves this and good luck.

Peace

image