Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save james-criscuolo/ef582791075749eac377b106c27e47bb to your computer and use it in GitHub Desktop.
Save james-criscuolo/ef582791075749eac377b106c27e47bb to your computer and use it in GitHub Desktop.
~/SIP.js   test-with-chrome-headless  npm run buildAndTest
> sip.js@0.11.2 buildAndTest /Users/jamescriscuolo/SIP.js
> npm run build && npm run commandLineTest
> sip.js@0.11.2 prebuild /Users/jamescriscuolo/SIP.js
> eslint src/*.js src/**/*.js
> sip.js@0.11.2 build /Users/jamescriscuolo/SIP.js
> npm run build-dev && npm run build-prod && npm run copy-dist-files
> sip.js@0.11.2 build-dev /Users/jamescriscuolo/SIP.js
> webpack --progress --env.buildType dev
14% building modules 39/40 modules 1 active …eb/SessionDescriptionHandlerObserver.js(node:28192) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Hash: d6fbf2387e75954bcb9c
Version: webpack 4.16.0
Time: 2333ms
Built at: 2018-07-12 11:19:14
Asset Size Chunks Chunk Names
sip.js 445 KiB 0 [emitted] sip
[0] ./src/index.js 75 bytes {0} [built]
[1] ./src/SIP.js 1.55 KiB {0} [built]
[3] ./src/Utils.js 8.24 KiB {0} [built]
[5] ./src/EventEmitter.js 505 bytes {0} [built]
[7] ./src/Constants.js 6.13 KiB {0} [built]
[8] ./src/Exceptions.js 2.33 KiB {0} [built]
[9] ./src/Timers.js 813 bytes {0} [built]
[10] ./src/Transport.js 4.21 KiB {0} [built]
[11] ./src/Parser.js 7.5 KiB {0} [built]
[12] ./src/SIPMessage.js 16.3 KiB {0} [built]
[13] ./src/URI.js 5.54 KiB {0} [built]
[14] ./src/NameAddrHeader.js 2.46 KiB {0} [built]
[22] ./src/ServerContext.js 2.96 KiB {0} [built]
[39] ./src/Web/Simple.js 12.2 KiB {0} [built]
[40] ./src/environment_browser.js 974 bytes {0} [built]
+ 26 hidden modules
> sip.js@0.11.2 build-prod /Users/jamescriscuolo/SIP.js
> webpack --progress --env.buildType prod
14% building modules 39/40 modules 1 active …eb/SessionDescriptionHandlerObserver.js(node:28194) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
Hash: 84186ab7d407b890dc03
Version: webpack 4.16.0
Time: 4793ms
Built at: 2018-07-12 11:19:20
Asset Size Chunks Chunk Names
sip.min.js 207 KiB 0 [emitted] sip.min
[0] (webpack)/buildin/global.js 489 bytes {0} [built]
[2] ./src/environment_browser.js 974 bytes {0} [built]
[3] ./src/Web/Simple.js 12.2 KiB {0} [built]
[4] ./src/Web/Modifiers.js 2.32 KiB {0} [built]
[6] ./src/Grammar.js 370 bytes {0} [built]
[9] ./src/DigestAuthentication.js 5.01 KiB {0} [built]
[10] ./src/SanityCheck.js 5.96 KiB {0} [built]
[14] ./src/UA.js 38.3 KiB {0} [built]
[33] ./src/Constants.js 6.13 KiB {0} [built]
[35] ./src/EventEmitter.js 505 bytes {0} [built]
[36] ./src/LoggerFactory.js 2.99 KiB {0} [built]
[37] ./src/Utils.js 8.24 KiB {0} [built]
[38] ./package.json 2.08 KiB {0} [built]
[39] ./src/SIP.js 1.55 KiB {0} [built]
[40] ./src/index.js 75 bytes {0} [built]
+ 26 hidden modules
> sip.js@0.11.2 copy-dist-files /Users/jamescriscuolo/SIP.js
> cp dist/sip.js dist/sip-$npm_package_version.js && cp dist/sip.min.js dist/sip-$npm_package_version.min.js
> sip.js@0.11.2 commandLineTest /Users/jamescriscuolo/SIP.js
> karma start --reporters mocha --browsers ChromeHeadless --single-run
START:
(node:28200) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
⚠ 「wdm」: Hash: 93bbb0e1eae084ed2055
Version: webpack 4.16.0
Time: 11075ms
Built at: 2018-07-12 11:19:22
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ℹ 「wdm」: Compiled with warnings.
ℹ 「wdm」: Compiling...
ℹ 「wdm」: wait until bundle finished: noop
⚠ 「wdm」: Hash: ffae08a88715ea5cec45
Version: webpack 4.16.0
Time: 11621ms
Built at: 2018-07-12 11:19:23
Asset Size Chunks Chunk Names
test/spec/Web/Modifiers.spec.js 3.03 KiB 0 [emitted] test/spec/Web/Modifiers.spec.js
test/spec/Web/SessionDescriptionHandler.spec.js 17.3 KiB 1 [emitted] test/spec/Web/SessionDescriptionHandler.spec.js
Entrypoint test/spec/Web/Modifiers.spec.js = test/spec/Web/Modifiers.spec.js
Entrypoint test/spec/Web/SessionDescriptionHandler.spec.js = test/spec/Web/SessionDescriptionHandler.spec.js
[0] ./src/Web/Modifiers.js 2.11 KiB {0} [built]
[1] ./test/spec/Web/Modifiers.spec.js 1.39 KiB {0} [built]
[2] ./src/Web/SessionDescriptionHandlerObserver.js 641 bytes {1} [built]
[3] (webpack)/buildin/global.js 489 bytes {1} [built]
[4] ./src/Web/SessionDescriptionHandler.js 21.3 KiB {1} [built]
[5] ./test/spec/Web/SessionDescriptionHandler.spec.js 7.19 KiB {1} [built]
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ℹ 「wdm」: Compiled with warnings.
12 07 2018 11:19:23.811:INFO [karma]: Karma v2.0.4 server started at http://0.0.0.0:9876/
12 07 2018 11:19:23.814:INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency
12 07 2018 11:19:23.820:INFO [launcher]: Starting browser ChromeHeadless
12 07 2018 11:20:23.827:WARN [launcher]: ChromeHeadless have not captured in 60000 ms, killing.
12 07 2018 11:20:25.833:WARN [launcher]: ChromeHeadless was not killed in 2000 ms, sending SIGKILL.
12 07 2018 11:20:27.834:WARN [launcher]: ChromeHeadless was not killed by SIGKILL in 2000 ms, continuing.
Finished in 0 secs / 0 secs @ 11:20:27 GMT-0400 (EDT)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sip.js@0.11.2 commandLineTest: `karma start --reporters mocha --browsers ChromeHeadless --single-run`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sip.js@0.11.2 commandLineTest 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! /Users/jamescriscuolo/.npm/_logs/2018-07-12T15_20_27_856Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sip.js@0.11.2 buildAndTest: `npm run build && npm run commandLineTest`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sip.js@0.11.2 buildAndTest 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! /Users/jamescriscuolo/.npm/_logs/2018-07-12T15_20_27_919Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment