Open ghost opened 8 years ago
Could you tell me npm version, node version, and OS version.
Thanks,
Francisco
Same to me, MAC version: 10.12.1 npm 2.14.2 node 4.0.0
Thanks!
Same here! Solved it by not using sudo when installing npm kit globally (sudo npm i -g demokit
)
my environment
npm 5.4.0
node 8.0.0
Not sure about my logic but I noticed that demokit would mentioning version @1.0.0 so I specified the latest version (@7.0.0 in this case) and now the demokit window opens when I run:
demokit ./path/to/demo-file.js
It was installing 1.0.0 from just doing npm install demekit?
@tolmasky my terminal command was "sudo npm install -g demokit" and when I googled pieces of the errors I was getting I found https://github.com/websockets/bufferutil/issues/22 mentioning out of date dependencies. I saw in my error response " demokit@1.0.0 install: node-gyp rebuild
" and " Failed at the demokit@1.0.0 install script. " so with what limited knowledge I have I tried "sudo npm install -g demokit@7.0.0" and it seems like things are running correctly now.
This is a lot of help, thanks. If you happen to have time, could you answer these questions:
npm uninstall -g demokit
and then npm install -g demokit@latest
, does it work?npm uninstall -g demokit
and then just try npm install -g demokit
, doe sit continue to not work?I'm just trying to figure out why it was giving you 1.0.0 instead of 7.0.0.
Sorry for the late reply!
installed demokit, ran
demokit new foo
which worked fine, but runningdemokit ./foo/index.js
gives this error:Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/demokit/electron/node_modules/electron/path.txt'