Skip to content
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

projects using pug cannot be installed globally #3239

Closed
richRemer opened this issue Apr 27, 2020 · 1 comment · Fixed by #3259
Closed

projects using pug cannot be installed globally #3239

richRemer opened this issue Apr 27, 2020 · 1 comment · Fixed by #3259

Comments

@richRemer
Copy link

richRemer commented Apr 27, 2020

Pug Version: 2.0.4

Node Version: 10.19

Minimal steps to reproduce:

npm init -y
# change name to something unique; I used [@zingle/npm-error](https://www.npmjs.com/package/@zingle/npm-error) as a minimal example
npm publish --access all
# then switch to the root user and run:
npm install -g @zingle/npm-error      # ... or whatever package you named it

The npm command will exit with the following error:

npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

> [email protected] postinstall /usr/local/lib/node_modules/@zingle/npm-error/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Additional Comments

This makes pug completely useless for a number of reasonable use cases.

@cekvenich
Copy link

It can be installed it just has the warning.

ForbesLindesay added a commit that referenced this issue May 25, 2020
ForbesLindesay added a commit that referenced this issue May 25, 2020
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

Successfully merging a pull request may close this issue.

2 participants