Skip to content

Missing NPM package: console-feed #2285

Closed
@felixbade

Description

@felixbade

p5.js version

2.6.2

What is your operating system?

Mac OS

Web browser and version

N/A

Actual Behavior

I am trying to build the web editor, but NPM complains about missing package console-feed. The dependency is defined here and the package would be here if it was published.

Command: npm install
Output:

npm WARN deprecated flatten@1.0.2: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated bson@1.0.9: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/console-feed/-/console-feed-3.3.0.tgz - Not found
npm ERR! 404 
npm ERR! 404  'console-feed@https://registry.npmjs.org/console-feed/-/console-feed-3.3.0.tgz' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/felix/.npm/_logs/2023-07-07T16_48_10_550Z-debug-0.log

I think the complete log output is not needed, since the reason for the error is pretty obvious: the package console-feed version 3.3.0 is not published.

Related discussion in the console-feed GitHub page: samdenty/console-feed#124

I understand that this installation issue won't be solved automatically after console-feed is republished, since (according to the issue discussion) the same version number can't be reused:

Unfortunately, there is no way to re-use a version of a package in the npm registry, even if it's been unpublished

Expected Behavior

I was expecting npm install to run successfully.

Steps to reproduce

Steps:

Following these instructions: https://github.com/processing/p5.js-web-editor/blob/release/contributor_docs/installation.md

git clone git@github.com:processing/p5.js-web-editor.git
cd p5.js-web-editor
git checkout release
nvm install 16.14.2
nvm use 16.14.2

At this point I am verifying that the versions are correct.

node -v
v16.14.2
npm -v
8.5.0

Building: npm install

That command throws the error.

I also tried building in the develop branch, but same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: DependenciesPull requests that update a dependency fileBugError or unexpected behaviorsPriority:HighShould be addressed soon but not critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions