-
Notifications
You must be signed in to change notification settings - Fork 2.3k
not installing properly #3959
Comments
So it looks like it is installing correctly but there are a lot of warnings! It would be nice if we could go through and update a lot of our dependencies. This would make sure we have the best versions and hopefully eliminate a lot of that output. Thanks for bringing this up! |
How can I fix this? |
What exactly do you want to fix? The warnings are most likely coming from dependencies of dependencies. So we would have to upgrade Truffle's dependencies to newer versions that do not have warnings. The warnings won't harm anything for now, they look to be all deprecation warnings. Ideally we would upgrade these to newer versions though. |
thank you for ur work but i cant use it if i use 'truffle -version' it shows not found so i am not able to use truffle which I require for my college project. thats it. keep up the goodwork ;) |
Oh so you are saying that after installation, if you try and execute |
@MiStErDaNgErR How did you solve this issue ? |
The correct syntax is 'truffle version', not 'truffle -version'. Your installation is likely operating as intended. There is however still a slew of deprecated warnings, which we are all getting. Later Truffle versions should address this, but you can move forward with your project. |
i get these error messages as well npm WARN deprecated har-validator@5.1.5: this library is no longer supported |
i got this when i tried to check the version PS C:\Users\hp> truffle version
|
Same Issues
|
Hi @pappylee00777, @Lakhankumawat, Your issues are different from this closed issue. Have you tried following the instructions in the error log?
|
npm WARN config global npm ERR! A complete log of this run can be found in: the last two lines indicate my error, I'm still unable to get it installed. i really appreciate any help! |
Issue
What the issue is, in broad strokes.
Steps to Reproduce
Please provide the shortest amount of steps to reproduce your issue.
Expected Behavior
What you expected to happen.
Actual Results
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated remotedev-serialize@0.1.9: Package moved to @redux-devtools/serialize.
npm WARN deprecated redux-devtools-core@0.2.1: Package moved to @redux-devtools/app.
npm WARN deprecated redux-devtools-instrument@1.10.0: Package moved to @redux-devtools/instrument.
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated multicodec@0.5.7: stable api reached
npm WARN deprecated core-js@2.6.12: 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.
added 1637 packages, and audited 1638 packages in 16m
89 packages are looking for funding
run
npm fund
for details27 vulnerabilities (19 low, 8 moderate)
To address all issues, run:
npm audit fix
Environment
truffle version
):errornode --version
):v14.15.3npm --version
): 7.7.6The text was updated successfully, but these errors were encountered: