[Sugar-devel] Unable to set up the Music Blocks repository
shreytripathi27 at gmail.com
Mon Sep 28 00:50:26 EDT 2020
I didn't know whom to contact regarding this or where to post this, hence
am putting this up here.
I was following the steps to set up Music Blocks on my local system from
But after I cloned the repository, changed my directory to 'musicblocks',
and ran 'npm run serve', I get the following error:
> musicblocks at 3.2.0 serve /home/me/SUGAR/musicblocks
> > python -c "import os, sys; os.system('python -m SimpleHTTPServer 3000
> --bind 127.0.0.1') if sys.version_info.major==2 else os.system('python -m
> http.server 3000 --bind 127.0.0.1');"
> sh: 1: python: not found
> npm ERR! code ELIFECYCLE
> npm ERR! syscall spawn
> npm ERR! file sh
> npm ERR! errno ENOENT
> npm ERR! musicblocks at 3.2.0 serve: `python -c "import os, sys;
> os.system('python -m SimpleHTTPServer 3000 --bind 127.0.0.1') if
> sys.version_info.major==2 else os.system('python -m http.server 3000 --bind
> npm ERR! spawn ENOENT
> npm ERR!
> npm ERR! Failed at the musicblocks at 3.2.0 serve script.
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/me/.npm/_logs/2020-09-28T04_33_00_096Z-debug.log
I have npm(version 6.14.4), node(version v10.19.0), and python installed on
my Ubuntu system, and I can run 'python' from the command line. The
complete error log as defined in the last line above can be found here
Please help me out here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel