Skip to content

Deprecated package #822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
drepram opened this issue Sep 11, 2018 · 3 comments
Closed

Deprecated package #822

drepram opened this issue Sep 11, 2018 · 3 comments

Comments

@drepram
Copy link

drepram commented Sep 11, 2018

Bug report

Version

0.14.2

Steps to reproduce

  1. Make some changes
  2. Push changes into GitHub (and it'll trigger a Travis build)
  3. Build would failed in travis

What is expected?

Success build.

screen shot 2018-09-11 at 22 35 05

$ npm install -g vuepress
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
/home/travis/.nvm/versions/node/v8.11.4/bin/vuepress -> /home/travis/.nvm/versions/node/v8.11.4/lib/node_modules/vuepress/bin/vuepress.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/vuepress/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ [email protected]
added 1246 packages in 46.276s
22.88s

$ vuepress build
 WAIT  Extracting site metadata...
[15:08:54] Compiling Client
[15:08:55] Compiling Server
(node:3512) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
[15:09:06] Compiled Server in 12s
[15:09:12] Compiled Client in 17s
 WAIT  Rendering static HTML...
ll DONE  Success! Generated static files in .vuepress/dist.

What is actually happening?

Failed build.

screen shot 2018-09-11 at 22 34 54

npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for workbox-strategies@^3.5.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'workbox-google-analytics'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2018-09-11T15_10_41_568Z-debug.log
The command "npm install -g vuepress" failed and exited with 1 during .
Your build has been stopped.

Other relevant information

  • Your OS: macOS 10.12.6
  • Node.js version: v9.9.0
  • Browser version: Google Chrome | 71.0.3548.0 (Official Build) canary (64-bit)
  • Is this a global or local install? Global (install using Travis CI)
  • Which package manager did you use for the install? NPM
@drepram drepram changed the title rowserslist 2 could fail on reading Browserslist >3.0 config used in other tools. Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. Sep 11, 2018
@drepram drepram changed the title Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. Deprecated package Sep 11, 2018
@ulivz
Copy link
Member

ulivz commented Sep 15, 2018

Duplicate of #632, See: #632 (comment)

@ulivz ulivz closed this as completed Sep 15, 2018
@gluons
Copy link

gluons commented Feb 3, 2019

It seems different.

#632 has Tapable.plugin is deprecated. Use new API on '.hooks' instead warning.
But this issue is deprecated warnings from Browserslist from some dependencies of VuePress.

@lkjimy
Copy link

lkjimy commented Feb 16, 2019

I tried to install locally and globally with both npm and yarn and getting the same problem.
Running on Windows 10 | (nvm) node v10.15.1 | npm v6.4.1

deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants