• feng_cli脚手架开发遇到问题及解决方法整理


    1、npm link 失败

     加后缀即可 www.js 

     

     2、下载模板时,用封装的loading函数报错

     const result = await waitFnloading(download, 'download template')(repo, tag)

     箭头处忘加... 通过打log,一步步排查发现参数传递报错。

     3.给gitlab加tag

    git tag 1.0 git tag 2.0   git tag   git push origin --tags

    4.传代码

    git remote -v

    git remote add origin http://.........

    git remote set-url origin http://.....

    5.npm

    npm link

    npm unlink

    npm publish

    npm ubpublish XXX --force

    gitlab:

    https://github.com/flzCoder/feng-cli 

    npm i feng-cli -g

    试用....

  • 相关阅读:
    RTP/RTSP编程
    makefile
    VS 2010内存泄漏检测
    Linux Shell中捕获CTRL+C
    const
    Hdu 5344
    Hdu5762
    CF1200C
    CF1200B
    CF1200A
  • 原文地址:https://www.cnblogs.com/fengluzheweb/p/14384220.html
Copyright © 2020-2023  润新知