Skip to content

Private npm packages preventing install #220

Description

@alchemicjon

Overview

When running bin/bootstrap to set up the app for the first time, I ran into an error installing npm packages. It looks like there are two packages that are coming from a private npm server:

  • https://npm.powerapp.cloud/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz
  • https://npm.powerapp.cloud/webpack-dev-server/-/webpack-dev-server-5.2.1.tgz#049072d6e19cbda8cf600b9e364e6662d61218ba

The error

== Installing dependencies ==
The Gemfile's dependencies are satisfied
yarn check v1.13.0
[---------------------------------------------------------------------------------------------------------------------------------------------] 0/986(node:124) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
error An unexpected error occurred: "https://npm.powerapp.cloud/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz: Request failed \"401 Unauthorized\"".
info If you think this is a bug, please open a bug report with the information provided in "/home/app/src/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
yarn install v1.13.0
(node:344) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://npm.powerapp.cloud/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz: Request failed \"401 Unauthorized\"".
info If you think this is a bug, please open a bug report with the information provided in "/home/app/src/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

== Command ["bin/yarn check || bin/yarn install"] failed ==

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions