Open rkrules opened 4 years ago
Hi @rkrules, it seems you are not running npm install and npm start in the correct path
try
edit: steps updated here
🚀
Just tried all the steps above now, I get the same error as @rkrules.
Output:
> bulma-start@0.0.4 start /code/bulma-start-0.0.4
> npm-run-all --parallel css-watch js-watch
> bulma-start@0.0.4 css-watch /code/bulma-start-0.0.4
> npm run css-build -- --watch
> bulma-start@0.0.4 js-watch /code/bulma-start-0.0.4
> npm run js-build -- --watch
> bulma-start@0.0.4 js-build /code/bulma-start-0.0.4
> babel _javascript --out-dir lib "--watch"
> bulma-start@0.0.4 css-build /code/bulma-start-0.0.4
> node-sass _sass/main.scss css/main.css "--watch"
_javascript/main.js -> lib/main.js
Note that execution doesn't crash. Visiting localhost:8080 throws an ERR_EMPTY_RESPONSE
.
In which directory are you runing npm install?
Yo can know it using "pwd" in Linux or "cd" in Windows
I'm also having the sample problem in which it just gets stuck:
❯ npm start
> bulma-start@0.0.4 start /Users/eugene/Sources/temp/bulma-sample
> npm-run-all --parallel css-watch js-watch
> bulma-start@0.0.4 css-watch /Users/eugene/Sources/temp/bulma-sample
> npm run css-build -- --watch
> bulma-start@0.0.4 js-watch /Users/eugene/Sources/temp/bulma-sample
> npm run js-build -- --watch
> bulma-start@0.0.4 css-build /Users/eugene/Sources/temp/bulma-sample
> node-sass _sass/main.scss css/main.css "--watch"
> bulma-start@0.0.4 js-build /Users/eugene/Sources/temp/bulma-sample
> babel _javascript --out-dir lib "--watch"
_javascript/main.js -> lib/main.js
node
~/Sources/temp/bulma-sample 1m 54s
❯ node -v
v12.18.2
~/Sources/temp/bulma-sample
❯ npm -v
6.14.5
Hi @yujinyuz, your output seems correct, have you tried to modify /_sass/main.scss? Does it works?
I just tried today [26/10/2020]:
step 1. download .zip from https://bulma.io/bulma-start/ step 2. right click and extract here step 3. delete bulma-start-0.0.4.zip (optional) step 4. rename "bulma-start-0.0.4" directory to your project's name (e.g. my-new-bulma-site) step 5. cd my-new-bulma-site (e.g. ~/Desktop/my-new-bulma-site) step 6. npm install step 7. npm start step 8. edit _sass/main.scss file (e.g. html { background-color: $green; }) step 9. save file step 10. open index.html with your favorite browser and check if html background color is green.
If it is, you made it! 🚀
I am a complete beginner and struggling little bit to get started. Bulma-start doesn't provide instructions for npm install, but I tried npm install bulma-start and seeing below errors.
I then went the route of extracting from zip and npm install and npm start, however now I get stuck at