Giter VIP home page Giter VIP logo

Comments (9)

chentsulin avatar chentsulin commented on May 2, 2024 1

Reinstall packages maybe solve your problem

rm -rf node_modules
npm install

from electron-react-boilerplate.

jhen0409 avatar jhen0409 commented on May 2, 2024

@timc3 I run start-hot is worked on Windows 7, no Welcome to Electron screen. Maybe the . path is not work on Windows 10? but I haven't machine of Windows 10. :\

from electron-react-boilerplate.

neighborhood999 avatar neighborhood999 commented on May 2, 2024

@jhen0409 Sorry. I misunderstanding timc3 problem!
yesterday, I got this error message, my PC is Win7:

...
fs.js:585
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
...

then, i asked C.T.Lin, it's solved, need reinstall:
$ node node_modules/electron-prebuilt/install.js

from electron-react-boilerplate.

WMeldon avatar WMeldon commented on May 2, 2024

For whatever reason, changing the command to "command": "electron ./" was what fixed this for me.

from electron-react-boilerplate.

timc3 avatar timc3 commented on May 2, 2024

WMeldon actually has the solution (though I did upgrade all my devDependancies). Works on both OS X and Windows 10.

from electron-react-boilerplate.

Semigradsky avatar Semigradsky commented on May 2, 2024

The same issue on Windows 10. Maybe update the README or package.json?

from electron-react-boilerplate.

chandu avatar chandu commented on May 2, 2024

@WMeldon : +1. Your solution works for me (Windows 10).

from electron-react-boilerplate.

Smurf-IV avatar Smurf-IV commented on May 2, 2024

Now appears to be broekn in Windows 8.1

D:\electron-react-boilerplate-master>npm run start-hot

> [email protected] start-hot D:\electron-react-boilerplate-maste
r
> cross-env HOT=1 NODE_ENV=development electron ./

fs.js:584
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'D:\electron-react-boilerplate-ma
ster\node_modules\electron-prebuilt\path.txt'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
etc...

from electron-react-boilerplate.

dunk3l avatar dunk3l commented on May 2, 2024

@chentsulin Your soulution works for me.

from electron-react-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.