evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.04k stars 717 forks source link

Not able to run pencil on Windows 11 #705

Open vikramviswanathan opened 2 years ago

vikramviswanathan commented 2 years ago

After following the README.md page, I'm unable to run on my system. I get the below error message

d:\Workspaces\NodeWorkspace\pencil>npm start

> start
> ./node_modules/.bin/electron ./app

'.' is not recognized as an internal or external command,
operable program or batch file.

Has anyone faced this kind of issue, if yes, can you please guide me on how this can be resolved?

Thanks in advance.

rstewa commented 2 years ago

Open package.json with vim or some other text editor and change line 73 to:

     "start": ".\\node_modules\\.bin\\electron .\\app",

If you want to to know why, this Stack Overflow post explains it pretty well.