musicblocks
musicblocks copied to clipboard
bash: syntax error near unexpected token `'py -m SimpleHTTPServer 3000''
Hi, I'm a newbie here. So i was trying to run this repo but when I run
py -c \"import os, sys; os.system('py -m SimpleHTTPServer 3000') if sys.version_info.major==2 else os.system('py -m http.server 3000 --bind 127.0.0.1');
there's an error on my console showing
`bash: syntax error near unexpected token `'py -m SimpleHTTPServer 3000''
`
@Sarfraz-droid i was also getting same error. only run this command npm run serve
. you don't need to run this py -c \"import os, sys; os.system('py -m SimpleHTTPServer 3000') if sys.version_info.major==2 else os.system('py -m http.server 3000 --bind 127.0.0.1');
hi i got the same error you just need to install python on your computer and then add it to the path of your system