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

npm WARN deprecated node-uuid@1.4.7: use uuid module instead #155

Closed
mderazon opened this issue Nov 23, 2016 · 16 comments
Closed

npm WARN deprecated node-uuid@1.4.7: use uuid module instead #155

mderazon opened this issue Nov 23, 2016 · 16 comments

Comments

@mderazon
Copy link

Don't see any deprecation notice here

What am I missing ?

@danjenkins
Copy link

Looks like the package node-uuid package on npm has been deprecated but the repo hasn't been because its now serving up the source code for uuid. Issue #142 explains what happened

@broofa
Copy link
Member

broofa commented Nov 23, 2016

Renaming kelektiv/node-uuid to kelektiv/uuid at some point might avoid confusion?

@alvirbismonte
Copy link

alvirbismonte commented Dec 6, 2016

Hi @broofa , any updates on your provided answer? Does renaming the folder actually solves the issue?

@bondif
Copy link

bondif commented Dec 8, 2016

so what's the solution ??

@broofa
Copy link
Member

broofa commented Dec 8, 2016

npm uninstall --save node-uuid
npm install --save uuid

The old node-uuid module is deprecated and won't be maintained moving forward. The module is still published in NPM for backward compatibility (with the deprecation notice). If you need the source, clone this repo then git checkout v1.4.7.

@zachlysobey
Copy link

Yea, I have to say, this was slightly confusing at first.

It might be nice if the readme here had an explanation of what's going on?

@broofa
Copy link
Member

broofa commented Dec 21, 2016

@defunctzombie - We can just rename this github project and let github redirect everything, right? Then update the repository info in package.json in the next release...?

@defunctzombie
Copy link
Contributor

We can, but I don't really see the huge value in it. The deprecation notice is on the module name, not on our repo. And is a packaging artifact and not a repo artifact. I am pretty sure the deprecation notice already says use the uuid module instead.

The better solution might be to just add something to the readme.

@bparanj
Copy link

bparanj commented Jan 31, 2017

👍 @broofa Thanks.

@itsmaheshkariya
Copy link

C:>npm install --save uuid
npm WARN saveError ENOENT: no such file or directory, open 'C:\package.json'
C:
`-- uuid@3.0.1

npm WARN enoent ENOENT: no such file or directory, open 'C:\package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

@itsmaheshkariya
Copy link

C:>npm install -g cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Users\MAHESH-MACKEY\AppData\Roaming\npm\cordova -> C:\Users\MAHESH-MACKEY\AppData\Roaming\npm\node_modules\cordova\bin\cordova
C:\Users\MAHESH-MACKEY\AppData\Roaming\npm
`-- cordova@6.5.0

@broofa
Copy link
Member

broofa commented Apr 28, 2017

@maheshkareeya Cordova-lib is depending on old version of npm, that's pulling in an old request version that uses the old node-uuid module. The deprecation warning is harmless and will go away when Cordova updates to more recent npm module version

`-- cordova@6.5.0
  +-- cordova-lib@6.5.0
  | +-- npm@2.15.12
  | | +-- request@2.74.0
  | | | +-- node-uuid@1.4.7

@tusharkkumar
Copy link

So guys uuid module is just a warning message... you must avoid it completely as it does n't creates any trouble in your further process... :)
All the commands like of add platform and build is running completely well.
If you want to know the correct and error free method of adding platform and running build command
check -> ionic-team/ionic-framework#4712

sgnn7 added a commit to sgnn7/skipper-better-s3 that referenced this issue Aug 15, 2017
@tusharkkumar
Copy link

tusharkkumar commented Sep 14, 2017 via email

@xherax
Copy link

xherax commented Nov 22, 2017

I am try to get logs from notification using firebase functions, is npm WARN causing no logs ?

@dhinakaranape
Copy link

HOW TO FIX THIS PROBLEM

C:\Users\dhina>npm install -g cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm ERR! path C:\Users\dhina\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\ansistyles
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\dhina\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\ansistyles' -> 'C:\Users\dhina\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules.ansistyles.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dhina\AppData\Roaming\npm-cache_logs\2017-12-15T12_46_06_571Z-debug.log

HELP MEE........

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

No branches or pull requests