Git Product home page Git Product logo

Comments (7)

JUNHAN12138 avatar JUNHAN12138 commented on April 27, 2024

tnpm装不了3.0.1

from egg.

fengmk2 avatar fengmk2 commented on April 27, 2024

怎样复现的?执行了什么命令?

from egg.

zhoushan1 avatar zhoushan1 commented on April 27, 2024

同样出现这个报错,在初始化项目执行npm init egg --type=simple
node版本: v16.20.0

from egg.

yinhaixiang avatar yinhaixiang commented on April 27, 2024

同样出现这个报错,在初始化项目执行npm init egg --type=simple
node版本: v18.17.1

from egg.

fengmk2 avatar fengmk2 commented on April 27, 2024

估计是安装了 egg-init,可以看看版本 egg-init --version

如果是老版本,请先重新安装它,执行 npm i -g egg-init

from egg.

Chef5 avatar Chef5 commented on April 27, 2024

node v16.20.0
npm初始化,同样报这个错:

jj@MBP egg-example % npm init egg --type=simple
[egg-init] use registry: https://registry.npmmirror.com
[egg-init] new version available: 2.3.1 → 3.1.0, not compatible, you must update to use this.
npm ERR! code 1
npm ERR! path /Users/jj/Examples/egg-example
npm ERR! command failed
npm ERR! command sh -c -- create-egg

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jj/.npm/_logs/2024-03-24T11_13_24_507Z-debug-0.log
jj@MBP egg-example % egg-init --version
zsh: command not found: egg-init
jj@MBP egg-example % npm i -g egg-init

from egg.

a-painting avatar a-painting commented on April 27, 2024

估计是安装了 egg-init,可以看看版本 egg-init --version

如果是老版本,请先重新安装它,执行 npm i -g egg-init

没有啊,还是报这个错

from egg.

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.