ziiw / starter-electron-react

:construction: || Piece of cake setup for native apps: React, Browserify
MIT License
0 stars 0 forks source link

Error: ENOENT: no such file or directory, open 'public/build/css/style.css' #1

Closed bartonhammond closed 8 years ago

bartonhammond commented 8 years ago

The electon window is blank - nothing at all.

I did:

npm install -g browserify uglify-js stylus autoprefixer-stylus
npm install

and then npm start as shown below

~/projects/electron/starter-electron-react (master)$ npm start

> starter-electron-react@0.0.1 start /Users/barton/projects/electron/starter-electron-react
> npm run stylus & npm run electron & npm run budo

> starter-electron-react@0.0.1 budo /Users/barton/projects/electron/starter-electron-react
> budo src/main.js:build/js/app.js --live --dir ./public -- -t [babelify --presets [ es2015 react ] aliasify]

> starter-electron-react@0.0.1 electron /Users/barton/projects/electron/starter-electron-react
> electron main.js

> starter-electron-react@0.0.1 stylus /Users/barton/projects/electron/starter-electron-react
> stylus -w src/stylus/main.styl -u autoprefixer-stylus -o public/build/css/style.css

  watching /usr/local/lib/node_modules/stylus/lib/functions/index.styl
  watching src/stylus/reset.styl
  watching src/stylus/mixins.styl
  watching src/layout/layout.styl
/usr/local/lib/node_modules/stylus/bin/stylus:708
    if (err) throw err;
             ^

Error: ENOENT: no such file or directory, open 'public/build/css/style.css'
    at Error (native)

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "stylus"
npm ERR! node v4.2.3
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! starter-electron-react@0.0.1 stylus: `stylus -w src/stylus/main.styl -u autoprefixer-stylus -o public/build/css/style.css`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the starter-electron-react@0.0.1 stylus script 'stylus -w src/stylus/main.styl -u autoprefixer-stylus -o public/build/css/style.css'.
npm ERR! This is most likely a problem with the starter-electron-react package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     stylus -w src/stylus/main.styl -u autoprefixer-stylus -o public/build/css/style.css
npm ERR! You can get their info via:
npm ERR!     npm owner ls starter-electron-react
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/barton/projects/electron/starter-electron-react/npm-debug.log
 info budo: Server running at http://192.168.56.1:9966/ (connect)
 info budo: LiveReload running on 35729
 info budo: Server running at http://192.168.56.1:9967/ (connect)
LiveReload running on port 35730
 info budo: LiveReload running on 35730
bartonhammond commented 8 years ago

After a very long amount of time, the ui displayed.

ziiw commented 8 years ago

Hey @bartonhammond !

Sorry for my late reply, I didn't notice the issue. The developement of this project was a bit in standby, but I'm currently working on it.

They are two problems:

A fresh and new version, will be soon available ;)