You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am installing the package locally (python 2.7) with
pip install --user pastalog
i directly execute the pastalog script at ~/.local/bin/pastalog --install
which works fine
when starting the server with pastalog --serve 8120
I get:
npm ERR! Error: ENOENT, open '/media/p***/.local/lib/python2.7/site-packages/pastalog/node_modules/--port/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 4.2.6-300.fc23.x86_64
npm ERR! command "node" "/usr/bin/npm" "start" "--" "--port" "8120"
npm ERR! cwd /media/p**/.local/lib/python2.7/site-packages/pastalog
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path /media/p**/.local/lib/python2.7/site-packages/pastalog/node_modules/--port/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /media/p***/.local/lib/python2.7/site-packages/pastalog/npm-debug.log
npm ERR! not ok code 0
I could fix this error by changing how subprocess is created, namely from:
subprocess.call(["npm", "start", "--", "--port", str(args.serve)])
Hi, I am installing the package locally (python 2.7) with
pip install --user pastalog
i directly execute the pastalog script at ~/.local/bin/pastalog --install
which works fine
when starting the server with pastalog --serve 8120
I get:
npm ERR! Error: ENOENT, open '/media/p***/.local/lib/python2.7/site-packages/pastalog/node_modules/--port/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 4.2.6-300.fc23.x86_64
npm ERR! command "node" "/usr/bin/npm" "start" "--" "--port" "8120"
npm ERR! cwd /media/p**/.local/lib/python2.7/site-packages/pastalog
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path /media/p**/.local/lib/python2.7/site-packages/pastalog/node_modules/--port/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /media/p***/.local/lib/python2.7/site-packages/pastalog/npm-debug.log
npm ERR! not ok code 0
I could fix this error by changing how subprocess is created, namely from:
subprocess.call(["npm", "start", "--", "--port", str(args.serve)])
to
subprocess.call(["npm", "start", "--port"+ str(args.serve)])
after this change the server starts up fine, however when I start logging I get
pastalog --serve 8120
pastalog server listening on port: 8120
/media/p****/.local/lib/python2.7/site-packages/pastalog/build/server.js:7207
throw renameError;
^
Error: ENOENT, rename 'database.json'
npm ERR! weird error 8
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: