question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: command "npm" with parameters "install,build/dist/" exited with code 1

See original GitHub issue

Attach (recommended) or Link to PDF file here: none

Configuration:

  • Web browser and its version: 104.0.5112.101
  • Operating system and its version: macOS 12.4
  • PDF.js version: v2.16.105
  • Is a browser extension:

Steps to reproduce the problem:

  1. I can open http://localhost:8888/web/viewer.html successfully following the instructions in https://github.com/mozilla/pdf.js#getting-the-code
  2. Next I want to see some examples in https://github.com/mozilla/pdf.js/tree/master/examples/browserify#getting-started. When I run gulp dist-install, I got this:
(base) cuiyc@cuiycdeMacBook-Pro pdf.js % sudo gulp dist-install
Password:
[12:58:35] Using gulpfile ~/DLTribe/pdf.js/gulpfile.js
[12:58:35] Starting 'dist-install'...
[12:58:35] Starting 'dist-pre'...
[12:58:35] Starting 'generic'...
[12:58:35] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:35] Finished 'createBuildNumber' after 22 ms
[12:58:35] Starting 'locale'...

### Building localization files
[12:58:35] Finished 'locale' after 79 ms
[12:58:35] Starting 'scriptingGeneric'...

### Building default preferences
[12:58:36] asset pdf.scripting.js 105 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[12:58:36] Finished 'scriptingGeneric' after 700 ms
[12:58:36] Starting 'createGeneric'...

### Creating generic viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[12:58:38] asset pdf.sandbox.js 616 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:40] asset viewer.js 416 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:41] asset pdf.js 490 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:41] asset pdf.worker.js 1.88 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:41] Finished 'createGeneric' after 5.16 s
[12:58:41] Finished 'generic' after 5.96 s
[12:58:41] Starting 'generic-legacy'...
[12:58:41] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:41] Finished 'createBuildNumber' after 22 ms
[12:58:41] Starting 'locale'...

### Building localization files
[12:58:41] Finished 'locale' after 48 ms
[12:58:41] Starting 'scriptingGenericLegacy'...

### Building default preferences
[12:58:41] asset pdf.scripting.js 109 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[12:58:41] Finished 'scriptingGenericLegacy' after 227 ms
[12:58:41] Starting 'createGenericLegacy'...

### Creating generic (legacy) viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[12:58:43] asset pdf.sandbox.js 621 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:46] asset viewer.js 509 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:47] asset pdf.js 655 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:47] asset pdf.worker.js 1.98 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:47] Finished 'createGenericLegacy' after 5.25 s
[12:58:47] Finished 'generic-legacy' after 5.55 s
[12:58:47] Starting 'components'...
[12:58:47] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:47] Finished 'createBuildNumber' after 21 ms
[12:58:47] Starting 'createComponents'...

### Creating generic components
[12:58:47] asset pdf_viewer.js 224 KiB [emitted] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:47] Finished 'createComponents' after 382 ms
[12:58:47] Finished 'components' after 404 ms
[12:58:47] Starting 'components-legacy'...
[12:58:47] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:47] Finished 'createBuildNumber' after 20 ms
[12:58:47] Starting 'createComponentsLegacy'...

### Creating generic (legacy) components
[12:58:48] asset pdf_viewer.js 260 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:48] Finished 'createComponentsLegacy' after 418 ms
[12:58:48] Finished 'components-legacy' after 439 ms
[12:58:48] Starting 'image_decoders'...
[12:58:48] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:48] Finished 'createBuildNumber' after 20 ms
[12:58:48] Starting 'createImageDecoders'...

### Creating image decoders
[12:58:48] asset pdf.image_decoders.js 242 KiB [emitted] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:48] Finished 'createImageDecoders' after 465 ms
[12:58:48] Finished 'image_decoders' after 485 ms
[12:58:48] Starting 'image_decoders-legacy'...
[12:58:48] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:48] Finished 'createBuildNumber' after 20 ms
[12:58:48] Starting 'createImageDecodersLegacy'...

### Creating (legacy) image decoders
[12:58:49] asset pdf.image_decoders.js 291 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:49] Finished 'createImageDecodersLegacy' after 488 ms
[12:58:49] Finished 'image_decoders-legacy' after 508 ms
[12:58:49] Starting 'lib'...
[12:58:49] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:49] Finished 'createBuildNumber' after 20 ms
[12:58:49] Starting 'scriptingLib'...

### Building default preferences
[12:58:49] asset pdf.scripting.js 105 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[12:58:49] Finished 'scriptingLib' after 166 ms
[12:58:49] Starting 'createLib'...
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[12:58:50] asset pdf.sandbox.js 616 KiB [emitted] [big] (name: main)
  
webpack 5.74.0 compiled successfully
[12:58:52] Finished 'createLib' after 3.01 s
[12:58:52] Finished 'lib' after 3.2 s
[12:58:52] Starting 'minified'...
[12:58:52] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:58:52] Finished 'createBuildNumber' after 23 ms
[12:58:52] Starting 'locale'...

### Building localization files
[12:58:52] Finished 'locale' after 48 ms
[12:58:52] Starting 'scriptingMinified'...

### Building default preferences
[12:58:52] asset pdf.scripting.js 105 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[12:58:52] Finished 'scriptingMinified' after 161 ms
[12:58:52] Starting 'createMinified'...

### Creating minified viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[12:58:54] asset pdf.sandbox.js 616 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:55] asset pdf.image_decoders.js 242 KiB [emitted] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:56] asset viewer.js 416 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:57] asset pdf.js 490 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:57] asset pdf.worker.js 1.88 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:58:57] Finished 'createMinified' after 5 s
[12:58:57] Starting 'compressMinified'...

### Minifying js files

### Cleaning js files
[12:59:02] Finished 'compressMinified' after 4.72 s
[12:59:02] Finished 'minified' after 9.95 s
[12:59:02] Starting 'minified-legacy'...
[12:59:02] Starting 'createBuildNumber'...

### Getting extension build number
This is not a Git repository; using default build number.
Extension build number: 0
[12:59:02] Finished 'createBuildNumber' after 30 ms
[12:59:02] Starting 'locale'...

### Building localization files
[12:59:02] Finished 'locale' after 44 ms
[12:59:02] Starting 'scriptingMinifiedLegacy'...

### Building default preferences
[12:59:02] asset pdf.scripting.js 109 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[12:59:02] Finished 'scriptingMinifiedLegacy' after 196 ms
[12:59:02] Starting 'createMinifiedLegacy'...

### Creating minified (legacy) viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[12:59:04] asset pdf.sandbox.js 621 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:59:06] asset viewer.js 509 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:59:07] asset pdf.js 655 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:59:08] asset pdf.worker.js 1.98 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:59:08] asset pdf.image_decoders.js 291 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[12:59:08] Finished 'createMinifiedLegacy' after 5.69 s
[12:59:08] Starting 'compressMinifiedLegacy'...

### Minifying js files

### Cleaning js files
[12:59:12] Finished 'compressMinifiedLegacy' after 4.74 s
[12:59:12] Finished 'minified-legacy' after 11 s
[12:59:12] Starting 'types'...
### Generating TypeScript definitions using `tsc`
[12:59:15] Finished 'types' after 2.46 s
[12:59:15] Starting 'createDist'...

### Cloning baseline distribution

### Overwriting all files
[12:59:28] Finished 'createDist' after 13 s
[12:59:28] Finished 'dist-pre' after 53 s
[12:59:28] Starting 'createDistInstall'...
Error: command "npm" with parameters "install,build/dist/" exited with code 1
[12:59:35] The following tasks did not complete: dist-install, createDistInstall
[12:59:35] Did you forget to signal async completion?

What went wrong? (add screenshot)

Error: command "npm" with parameters "install,build/dist/" exited with code 1
[12:59:35] The following tasks did not complete: dist-install, createDistInstall
[12:59:35] Did you forget to signal async completion?
image

I google it and I found some solutions like https://stackoverflow.com/questions/36897877/gulp-error-the-following-tasks-did-not-complete-did-you-forget-to-signal-async. But it doesn’t help.

Node version : v16.16.0 gulp CLI version: 2.3.0 gulp Local version: 4.0.2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
yc-cuicommented, Sep 3, 2022

@Snuffleupagus Problem solved. I tried the error command npm install build/dist, turned out I got:

(base) cuiyc@cuiycdeMacBook-Pro pdf.js % npm install build/dist
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/build/dist.git
npm ERR! ERROR: Repository not found.
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/cuiyc/.npm/_logs/2022-09-03T03_03_30_876Z-debug-0.log

It seems that npm recognized the command to clone a repository. So I changed the demo: image

Finally:

### Overwriting all files
[11:02:41] Finished 'createDist' after 5.25 s
[11:02:41] Finished 'dist-pre' after 44 s
[11:02:41] Starting 'createDistInstall'...
[11:02:46] Finished 'createDistInstall' after 5.18 s
[11:02:46] Finished 'dist-install' after 49 s
0reactions
yc-cuicommented, Sep 2, 2022

@Snuffleupagus , I have tried both methods including git clone command and downloading the zip file. Actually, one command is differnet, it’s npm install. I have to use npm install --force to bypass the conflict(one solution found in stackoverflow). Should I have to use npm install ?

git clone https://github.com/mozilla/pdf.js.git

(base) cuiyc@cuiycdeMacBook-Pro DLTribe % git clone https://github.com/mozilla/pdf.js.git
Cloning into 'pdf.js'...
remote: Enumerating objects: 84562, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 84562 (delta 59), reused 110 (delta 50), pack-reused 84431
Receiving objects: 100% (84562/84562), 131.78 MiB | 1.73 MiB/s, done.
Resolving deltas: 100% (60548/60548), done.

npm install met error

(base) cuiyc@cuiycdeMacBook-Pro DLTribe % cd pdf.js
(base) cuiyc@cuiycdeMacBook-Pro pdf.js % npm install 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: eslint-plugin-mozilla@2.12.4
npm ERR! Found: eslint-plugin-html@7.1.0
npm ERR! node_modules/eslint-plugin-html
npm ERR!   dev eslint-plugin-html@"^7.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-html@"^6.0.0" from eslint-plugin-mozilla@2.12.4
npm ERR! node_modules/eslint-plugin-mozilla
npm ERR!   dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: eslint-plugin-html@6.2.0
npm ERR! node_modules/eslint-plugin-html
npm ERR!   peer eslint-plugin-html@"^6.0.0" from eslint-plugin-mozilla@2.12.4
npm ERR!   node_modules/eslint-plugin-mozilla
npm ERR!     dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/cuiyc/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/cuiyc/.npm/_logs/2022-09-02T10_01_24_999Z-debug-0.log

So I tried npm install --force

(base) cuiyc@cuiycdeMacBook-Pro DLTribe % cd pdf.js
(base) cuiyc@cuiycdeMacBook-Pro pdf.js % npm install --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-plugin-mozilla@2.12.4
npm WARN Found: eslint-plugin-html@7.1.0
npm WARN node_modules/eslint-plugin-html
npm WARN   dev eslint-plugin-html@"^7.1.0" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-html@"^6.0.0" from eslint-plugin-mozilla@2.12.4
npm WARN node_modules/eslint-plugin-mozilla
npm WARN   dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm WARN 
npm WARN Conflicting peer dependency: eslint-plugin-html@6.2.0
npm WARN node_modules/eslint-plugin-html
npm WARN   peer eslint-plugin-html@"^6.0.0" from eslint-plugin-mozilla@2.12.4
npm WARN   node_modules/eslint-plugin-mozilla
npm WARN     dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-plugin-mozilla@2.12.4
npm WARN Found: eslint-plugin-prettier@4.2.1
npm WARN node_modules/eslint-plugin-prettier
npm WARN   dev eslint-plugin-prettier@"^4.2.1" from the root project
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-prettier@"^3.0.0" from eslint-plugin-mozilla@2.12.4
npm WARN node_modules/eslint-plugin-mozilla
npm WARN   dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm WARN 
npm WARN Conflicting peer dependency: eslint-plugin-prettier@3.4.1
npm WARN node_modules/eslint-plugin-prettier
npm WARN   peer eslint-plugin-prettier@"^3.0.0" from eslint-plugin-mozilla@2.12.4
npm WARN   node_modules/eslint-plugin-mozilla
npm WARN     dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: eslint-plugin-mozilla@2.12.4
npm WARN Found: prettier@2.7.1
npm WARN node_modules/prettier
npm WARN   dev prettier@"^2.7.1" from the root project
npm WARN   2 more (eslint-plugin-prettier, stylelint-prettier)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer prettier@"^1.19.1" from eslint-plugin-mozilla@2.12.4
npm WARN node_modules/eslint-plugin-mozilla
npm WARN   dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm WARN 
npm WARN Conflicting peer dependency: prettier@1.19.1
npm WARN node_modules/prettier
npm WARN   peer prettier@"^1.19.1" from eslint-plugin-mozilla@2.12.4
npm WARN   node_modules/eslint-plugin-mozilla
npm WARN     dev eslint-plugin-mozilla@"^2.12.4" from the root project
npm WARN deprecated fsevents@1.2.9: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated core-js@2.6.9: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

> postinstall
> cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js

Requesting latest Firefox Nightly version from https://product-details.mozilla.org/1.0/firefox_versions.json
Downloading Firefox Nightly r106.0a1 - 139 Mb [====================] 100% 0.0s 
Firefox Nightly (106.0a1) downloaded to /Users/cuiyc/DLTribe/pdf.js/node_modules/puppeteer/.local-firefox/mac-106.0a1

added 1149 packages in 2m

116 packages are looking for funding
  run `npm fund` for details

gulp dist-install

(base) cuiyc@cuiycdeMacBook-Pro pdf.js % gulp dist-install
[17:45:27] Using gulpfile ~/DLTribe/pdf.js/gulpfile.js
[17:45:27] Starting 'dist-install'...
[17:45:27] Starting 'dist-pre'...
[17:45:27] Starting 'generic'...
[17:45:27] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:27] Finished 'createBuildNumber' after 29 ms
[17:45:27] Starting 'locale'...

### Building localization files
[17:45:27] Finished 'locale' after 54 ms
[17:45:27] Starting 'scriptingGeneric'...

### Building default preferences
[17:45:28] asset pdf.scripting.js 105 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[17:45:28] Finished 'scriptingGeneric' after 657 ms
[17:45:28] Starting 'createGeneric'...

### Creating generic viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[17:45:30] asset pdf.sandbox.js 617 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:32] asset viewer.js 416 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:33] asset pdf.js 490 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:33] asset pdf.worker.js 1.88 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:33] Finished 'createGeneric' after 5.03 s
[17:45:33] Finished 'generic' after 5.77 s
[17:45:33] Starting 'generic-legacy'...
[17:45:33] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:33] Finished 'createBuildNumber' after 27 ms
[17:45:33] Starting 'locale'...

### Building localization files
[17:45:33] Finished 'locale' after 46 ms
[17:45:33] Starting 'scriptingGenericLegacy'...

### Building default preferences
[17:45:33] asset pdf.scripting.js 109 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[17:45:33] Finished 'scriptingGenericLegacy' after 206 ms
[17:45:33] Starting 'createGenericLegacy'...

### Creating generic (legacy) viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[17:45:35] asset pdf.sandbox.js 622 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:37] asset viewer.js 509 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:39] asset pdf.js 654 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:39] asset pdf.worker.js 1.98 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:39] Finished 'createGenericLegacy' after 5.5 s
[17:45:39] Finished 'generic-legacy' after 5.78 s
[17:45:39] Starting 'components'...
[17:45:39] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:39] Finished 'createBuildNumber' after 30 ms
[17:45:39] Starting 'createComponents'...

### Creating generic components
[17:45:39] asset pdf_viewer.js 224 KiB [emitted] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:39] Finished 'createComponents' after 363 ms
[17:45:39] Finished 'components' after 393 ms
[17:45:39] Starting 'components-legacy'...
[17:45:39] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:39] Finished 'createBuildNumber' after 27 ms
[17:45:39] Starting 'createComponentsLegacy'...

### Creating generic (legacy) components
[17:45:40] asset pdf_viewer.js 260 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:40] Finished 'createComponentsLegacy' after 471 ms
[17:45:40] Finished 'components-legacy' after 499 ms
[17:45:40] Starting 'image_decoders'...
[17:45:40] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:40] Finished 'createBuildNumber' after 26 ms
[17:45:40] Starting 'createImageDecoders'...

### Creating image decoders
[17:45:40] asset pdf.image_decoders.js 242 KiB [emitted] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:40] Finished 'createImageDecoders' after 443 ms
[17:45:40] Finished 'image_decoders' after 469 ms
[17:45:40] Starting 'image_decoders-legacy'...
[17:45:40] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:40] Finished 'createBuildNumber' after 24 ms
[17:45:40] Starting 'createImageDecodersLegacy'...

### Creating (legacy) image decoders
[17:45:41] asset pdf.image_decoders.js 290 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:41] Finished 'createImageDecodersLegacy' after 511 ms
[17:45:41] Finished 'image_decoders-legacy' after 535 ms
[17:45:41] Starting 'lib'...
[17:45:41] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:41] Finished 'createBuildNumber' after 24 ms
[17:45:41] Starting 'scriptingLib'...

### Building default preferences
[17:45:41] asset pdf.scripting.js 105 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[17:45:41] Finished 'scriptingLib' after 164 ms
[17:45:41] Starting 'createLib'...
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[17:45:42] asset pdf.sandbox.js 616 KiB [emitted] [big] (name: main)
  
webpack 5.74.0 compiled successfully
[17:45:44] Finished 'createLib' after 3.03 s
[17:45:44] Finished 'lib' after 3.22 s
[17:45:44] Starting 'minified'...
[17:45:44] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:44] Finished 'createBuildNumber' after 25 ms
[17:45:44] Starting 'locale'...

### Building localization files
[17:45:44] Finished 'locale' after 46 ms
[17:45:44] Starting 'scriptingMinified'...

### Building default preferences
[17:45:44] asset pdf.scripting.js 105 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[17:45:44] Finished 'scriptingMinified' after 165 ms
[17:45:44] Starting 'createMinified'...

### Creating minified viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[17:45:46] asset pdf.sandbox.js 617 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:47] asset pdf.image_decoders.js 242 KiB [emitted] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:49] asset viewer.js 416 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:49] asset pdf.js 490 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:49] asset pdf.worker.js 1.88 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:49] Finished 'createMinified' after 5.08 s
[17:45:49] Starting 'compressMinified'...

### Minifying js files

### Cleaning js files
[17:45:54] Finished 'compressMinified' after 4.55 s
[17:45:54] Finished 'minified' after 9.86 s
[17:45:54] Starting 'minified-legacy'...
[17:45:54] Starting 'createBuildNumber'...

### Getting extension build number
Extension build number: 17
[17:45:54] Finished 'createBuildNumber' after 28 ms
[17:45:54] Starting 'locale'...

### Building localization files
[17:45:54] Finished 'locale' after 44 ms
[17:45:54] Starting 'scriptingMinifiedLegacy'...

### Building default preferences
[17:45:54] asset pdf.scripting.js 109 KiB [emitted] (name: main)
  
webpack 5.74.0 compiled successfully
[17:45:54] Finished 'scriptingMinifiedLegacy' after 202 ms
[17:45:54] Starting 'createMinifiedLegacy'...

### Creating minified (legacy) viewer
[BABEL] Note: The code generator has deoptimised the styling of /Users/cuiyc/DLTribe/pdf.js/external/quickjs/quickjs-eval.js as it exceeds the max of 500KB.
[17:45:56] asset pdf.sandbox.js 622 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:58] asset viewer.js 509 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:45:59] asset pdf.js 654 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:46:00] asset pdf.image_decoders.js 290 KiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:46:00] asset pdf.worker.js 1.98 MiB [emitted] [big] (name: main) 1 related asset
  
webpack 5.74.0 compiled successfully
[17:46:00] Finished 'createMinifiedLegacy' after 5.78 s
[17:46:00] Starting 'compressMinifiedLegacy'...

### Minifying js files

### Cleaning js files
[17:46:05] Finished 'compressMinifiedLegacy' after 4.78 s
[17:46:05] Finished 'minified-legacy' after 11 s
[17:46:05] Starting 'types'...
### Generating TypeScript definitions using `tsc`
[17:46:08] Finished 'types' after 2.92 s
[17:46:08] Starting 'createDist'...

### Cloning baseline distribution

### Overwriting all files
[17:46:24] Finished 'createDist' after 17 s
[17:46:24] Finished 'dist-pre' after 57 s
[17:46:24] Starting 'createDistInstall'...
Error: command "npm" with parameters "install,build/dist/" exited with code 1
[17:46:28] The following tasks did not complete: dist-install, createDistInstall
[17:46:28] Did you forget to signal async completion?
Read more comments on GitHub >

github_iconTop Results From Across the Web

'The command "npm install" exited with code 1' error when ...
This error log points out what's happening: npm install npm ERR! code EJSONPARSE npm ERR! file ...
Read more >
Error MSB3073 The command "npm run build" exited with ...
The error I faced on visual studio during the build was the below. "npm run build" exited with code 1 - Visual Studio...
Read more >
tsc-watch - npm
The nodemon for TypeScript. tsc-watch starts a TypeScript compiler with --watch parameter, with the ability to react to compilation status.
Read more >
Command failed with exit code 1: npm run build - Netlify fix 2020
Udemy Courses:- 9 React Projects on Udemy - https://bit.ly/2D83M8c- 9 React Projects on Gumroad ...
Read more >
Npm@1 - npm v1 task - Microsoft Learn
Install and publish npm packages, or run an npm command. Supports npmjs.com and authenticated registries like Azure Artifacts.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found