Dinesh Bali
asked on
Unable to run node project
Hi,
I wanted to run the project locally. from github: https://github.com/sampotts/plyr
code is building by npm run build command
But I am not able to run locally using
npm run serve command
It is not recognising serve command.
Please advise.
I wanted to run the project locally. from github: https://github.com/sampotts/plyr
code is building by npm run build command
But I am not able to run locally using
npm run serve command
It is not recognising serve command.
Please advise.
It is not recognising serve command.Install the serve package first : https://www.npmjs.com/package/serve
npm i serve
1) Aside: Just reading over the docs of this project had my head swimming.
Suggestion: Open a new question... title of something like... "Describe how your do self-hosted audio/video streaming".
Must easier to arrange for all this on the server side, then use a simple <video> tag for your markup.
2) If you really must use this project, then you'll provide every command you issued, along with all command output, which will likely show some minor problem.
To test plyr someone would have to take the time to actually go through all the setup instructions.
If you find comments coming to slowly for you...
Open a GitHub issue ticket about this with the pylr developers.
Suggestion: Open a new question... title of something like... "Describe how your do self-hosted audio/video streaming".
Must easier to arrange for all this on the server side, then use a simple <video> tag for your markup.
2) If you really must use this project, then you'll provide every command you issued, along with all command output, which will likely show some minor problem.
To test plyr someone would have to take the time to actually go through all the setup instructions.
If you find comments coming to slowly for you...
Open a GitHub issue ticket about this with the pylr developers.
ASKER
Many thanks everyone for your replies.
I am still trying to build and run.
Hi @Julian,
Are you sure below code is not node code?
Also, I am trying to run this code using gulp build. I am missing something?
@leakim971, I tried code npm i serve. That did not helped.
@David,
I can see error is already at UR: https://github.com/sampotts/plyr/issues/2248
No response from May.
Guys,
Please help me out here.
Kind Regards
I am still trying to build and run.
Hi @Julian,
Are you sure below code is not node code?
Also, I am trying to run this code using gulp build. I am missing something?
@leakim971, I tried code npm i serve. That did not helped.
@David,
I can see error is already at UR: https://github.com/sampotts/plyr/issues/2248
No response from May.
Guys,
Please help me out here.
Kind Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Julian
Here my expectation is just to build and run this code on my local.
I am using VSCode.
Kind Regards,
Here my expectation is just to build and run this code on my local.
I am using VSCode.
Kind Regards,
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You are too good. Many thanks to you and EE
You are welcome Dinesh.
As an aside npm can be used to install any package - it does not mean it is specifically for node. Client side code can also be installed using npm - maybe that is what caused some of the confusion.
As an aside npm can be used to install any package - it does not mean it is specifically for node. Client side code can also be installed using npm - maybe that is what caused some of the confusion.
ASKER
Many thanks Julian
Node is a server solution - this library is intended for the client..