Coder Social home page Coder Social logo

Comments (7)

dland avatar dland commented on May 18, 2024

It might be better to find dist -delete instead. If the directory doesn't exist it's just a no-op and won't scribble to stderr.

from hls.js.

mangui avatar mangui commented on May 18, 2024

@tjenkinson would you mind rechecking with latest hls.js/master ?
clean and test should work
regarding Hls not exported, it might be solved by https://github.com/dailymotion/hls.js/pull/17

from hls.js.

mangui avatar mangui commented on May 18, 2024

closing as should be fixed and no additional complaints received for a month now :-)
plz reopen with fresh logs in case any issue persists.

from hls.js.

tjenkinson avatar tjenkinson commented on May 18, 2024

Sorry I missed your previous message about building. I'll give it a try later!

On 26 Oct 2015, at 11:20, Guillaume du Pontavice [email protected] wrote:

closing as should be fixed and no additional complaints received for a month now :-)
plz reopen with fresh logs in case any issue persists.

โ€”
Reply to this email directly or view it on GitHub.

from hls.js.

tjenkinson avatar tjenkinson commented on May 18, 2024

This is the output I get when I run npm run build with http://babun.github.io/

{ hls.js } master ยป npm run build                 /cygdrive/c/Users/Thoma/Documents/GitHub/hls.js

> [email protected] prebuild C:\Users\Thoma\Documents\GitHub\hls.js
> npm run clean & npm run test


> [email protected] clean C:\Users\Thoma\Documents\GitHub\hls.js
> find dist -mindepth 1 -delete


> [email protected] pretest C:\Users\Thoma\Documents\GitHub\hls.js
> npm run lint


> [email protected] lint C:\Users\Thoma\Documents\GitHub\hls.js
> jshint src/

src\utils\xhr-loader.js: line 30, col 108, 'frag' is defined but never used.

1 error

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "lint"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] lint: `jshint src/`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] lint script 'jshint src/'.
npm ERR! This is most likely a problem with the hls.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jshint src/
npm ERR! You can get their info via:
npm ERR!     npm owner ls hls.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Thoma\Documents\GitHub\hls.js\npm-debug.log

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "test"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] pretest: `npm run lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] pretest script 'npm run lint'.
npm ERR! This is most likely a problem with the hls.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run lint
npm ERR! You can get their info via:
npm ERR!     npm owner ls hls.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Thoma\Documents\GitHub\hls.js\npm-debug.log

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prebuild: `npm run clean & npm run test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prebuild script 'npm run clean & npm run test'.
npm ERR! This is most likely a problem with the hls.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run clean & npm run test
npm ERR! You can get their info via:
npm ERR!     npm owner ls hls.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Thoma\Documents\GitHub\hls.js\npm-debug.log

If I remove the npm run test from the prebuild step in package.json then it builds fine, so there are still issues, but it is possible to get it to build now with a tweak :)

from hls.js.

mangui avatar mangui commented on May 18, 2024

thanks for rechecking, most probably the issue is related to the lint error, which fix has just been merged, see https://github.com/dailymotion/hls.js/pull/41, if by any chance you could update and confirm that everything is now working without any tweak ?
thanks in advance ๐Ÿ˜Š

from hls.js.

rohanleach4 avatar rohanleach4 commented on May 18, 2024

Hi.
I am having a similar problem in Windows 10.
I have tried removing the npm run test from the prebuild step in package.json, but still no joy.

Here is the npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe',
1 verbose cli 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info predev [email protected]
6 info dev [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec dev script
9 verbose stack Error: [email protected] dev: npm run build && npm run open -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s'
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:827:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd C:\Users\rohan.leach\Downloads\hls.js
12 error Windows_NT 10.0.10586
13 error argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
14 error node v4.4.2
15 error npm v2.15.0
16 error code ELIFECYCLE
17 error [email protected] dev: npm run build && npm run open -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s'
17 error Exit status 1
18 error Failed at the [email protected] dev script 'npm run build && npm run open -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s''.
18 error This is most likely a problem with the hls.js package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error npm run build && npm run open -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s'
18 error You can get information on how to open an issue for this project with:
18 error npm bugs hls.js
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls hls.js
18 error There is likely additional logging output above.

19 verbose exit [ 1, true ]

from hls.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.