Coder Social home page Coder Social logo

Ubuntu server 22.04.01 执行安装 npm install -g think-cli 后 提示 [email protected]: Please upgrade to version 7 or higher. about thinkjs HOT 8 CLOSED

Frank0400Dong avatar Frank0400Dong commented on June 2, 2024
Ubuntu server 22.04.01 执行安装 npm install -g think-cli 后 提示 [email protected]: Please upgrade to version 7 or higher.

from thinkjs.

Comments (8)

Frank0400Dong avatar Frank0400Dong commented on June 2, 2024 2

warning 不影响使用,uuid 的版本已升级已合入发版。你的疑问,建议学习下 Node.js 的基础部分,相信会有所帮助

非常感谢您,我在查查资料,希望有一天也能向您和其他小伙伴一样,可以维护Think.js :)

from thinkjs.

lizheming avatar lizheming commented on June 2, 2024

看了下 uuid 是在 think-helper 模块中使用的,warning 不影响使用。如果可以的话,可以提个 PR 帮忙更新下 think-helper 的 uuid 版本号。

from thinkjs.

zhangbowy avatar zhangbowy commented on June 2, 2024

下uuid 是think-helper如果模块中使用的,warning 不影响使用的话,提个PR 帮忙更新下think-helper 的uuid 可以在版本号。

提了 thinkjs/think-helper#7

from thinkjs.

Frank0400Dong avatar Frank0400Dong commented on June 2, 2024

下uuid 是think-helper如果模块中使用的,warning 不影响使用的话,提个PR 帮忙更新下think-helper 的uuid 可以在版本号。

提了 thinkjs/think-helper#7

Thanks,多谢您了,我也学着修改下,这次确实不太会修改,不知改怎么入手...

from thinkjs.

Frank0400Dong avatar Frank0400Dong commented on June 2, 2024

下uuid 是think-helper如果模块中使用的,warning 不影响使用的话,提个PR 帮忙更新下think-helper 的uuid 可以在版本号。

提了 thinkjs/think-helper#7

Thanks,多谢您了,我也学着修改下,这次确实不太会修改,不知改怎么入手...

看了下 uuid 是在 think-helper 模块中使用的,warning 不影响使用。如果可以的话,可以提个 PR 帮忙更新下 think-helper 的 uuid 版本号。

您好,
1.1.我这边的情况是影响使用了...
Think问题

尝试如下
1)执行了清缓存
npm cache clean
2)强制安装最新版
npm install -g uuid@latest --force
3)确认版本
npm list --depth=0
4)最后再重新安装 think-cli
npm install -g think-cli**
5)还是报 “ [email protected]: Please upgrade to version 7 or higher”
6)查询安装情况提示
root@ming:# thinkjs -V
-bash: thinkjs: command not found
root@ming:
# thinkjs -h
-bash: thinkjs: command not found

2.小伙伴zhangbowy 已经修改了,是不是您那边在合并下,
我这边就能继续执行这个指令试下=>npm install -g think-cli

谢谢您和zhangbowy :)

from thinkjs.

lizheming avatar lizheming commented on June 2, 2024

你的问题和 uuid 版本无关,下面的 node: Permission denied 才是问题,自行检查下相关的权限看下

from thinkjs.

Frank0400Dong avatar Frank0400Dong commented on June 2, 2024

你的问题和 uuid 版本无关,下面的 node: Permission denied 才是问题,自行检查下相关的权限看下

您好,
1.我检查了下,我是用的nvm方式安装的Node.js,
在执行$npm install -g think-cli 后,出现的警告和错误...
2.我采用这种方式curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
在执行$npm install -g think-cli 后,出现的警告,但think.js 安装成功了.

想进一步请教下:
1).Linux(ubuntu)系统环境是不是推荐用nodesource这种方式先安装NodeJs
再安装 think-cli ?

2).另外发现(ubuntu 22.04)安装PM2也是报这个警告但不影响使用,是不是要从npm的源代码入手,和安装的think、pm2没有关系
image

非常感谢您的耐心解答,我刚接触Linux不久,
有很多基础的知识需要尽快熟练掌握,提出的问题有些小白,请您见谅:)

from thinkjs.

lizheming avatar lizheming commented on June 2, 2024

warning 不影响使用,uuid 的版本已升级已合入发版。你的疑问,建议学习下 Node.js 的基础部分,相信会有所帮助

from thinkjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.