trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.32k forks source link

Truffle for Package Management Error: Cannot find any published versions of 'ens' with the specified version range (*) #1668

Closed Muhammad-Altabba closed 2 years ago

Muhammad-Altabba commented 5 years ago

Issue

Error when using Truffle Install <PACKAGE>

Steps to Reproduce

Following the documentation at Truffle for Package Management: https://truffleframework.com/docs/truffle/getting-started/package-management-via-ethpm

When Trying to install a package like ENS:

truffle install ens

Expected Behavior

The package is installed.

Actual Results

The following error is shown:

Error: Cannot find any published versions of 'ens' with the specified version range (*)
    at /usr/local/lib/node_modules/truffle/build/webpack:/~/ethpm-registry/lib/registry.js:85:1
    at \<anonymous\>
    at process._tickCallback (internal/process/next_tick.js:188:7) 
Truffle v5.0.2 (core: 5.0.2) 
Node v8.11.2

Environment

gnidan commented 5 years ago

Marking this "on hold" until we can revisit EthPM integration work in the near/mid future. Thanks!

Muhammad-Altabba commented 5 years ago

Actually, the problem is with truffle install nothing work with it. I picked ENS to open the issue with, because it is the one mentioned in the documentation https://truffleframework.com/docs/truffle/getting-started/package-management-via-ethpm.

eggplantzzz commented 5 years ago

@Muhammad-Altabba So truffle install relies on ethPM which is in kind of a strange, unknown state right now. However, I can successfully run truffle install zeppelin on my project. And as @gnidan mentioned, in the near/mid future we will be doing some more work to hopefully get this stuff ironed out!

cliffoo commented 2 years ago

Closing. See https://github.com/trufflesuite/truffle/pull/5283