npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

deepexi-scaffold-ui

v1.2.0

Published

DeepEXI 脚手架 UI 可视化操作界面

Downloads

8

Readme

deepexi-scaffold-ui

NPM version npm download Build Status codecov

CHANGELOG

注意:此版本暂不稳定,且仅支持在 Mac、Linux 系统运行

DeepEXI 脚手架 UI 可视化操作界面

DeepEXI 脚手架 UI

如何使用

脚本启动

安装 Yeoman

npm install -g yo

请检查 yo 命令是否能正常执行,如若不行请看 [启动错误处理]

yo -v

安装脚手架UI

npm install deepexi-scaffold-ui -g

启动脚手架UI,可选项:

  • -p :服务端口号(默认7001)
  • -s :开启Swagger访问(默认关闭)
  • -d :是否开启调试模式(默认关闭)
scaffold-ui start -p 7001 -s 

停止脚手架UI

scaffold-ui stop

访问脚手架UI:http://localhost:7001/index.html

清理脚手架缓存信息:http://localhost:7001/clearCache

docker 方式启动

# 打包镜像
docker build -t scaffold-ui:v1.0.0 .
# 启动镜像
docker run -d -p 7001:7001 --name scaffold-ui scaffold-ui:v1.0.0

启动错误处理

node 与 npm 版本过低问题

如若遇到以下错误信息

npm ERR! Linux 3.10.0-693.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "start"
npm ERR! node v6.17.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
....
npm ERR! Exit status 1

请更新 node 与 npm 版本

# 清理npm的cache
npm cache clean -f
# 安装版本管理工具 n
npm install -g n
# 更新 node 到最新版
n latest
# 更新 npm 版本
npm install -g npm@latest

Yeoman 权限不足问题

如果脚手架安装后无法正常显示描述与表单信息,如下图:

或遇到以下错误信息

Error: EACCES: permission denied, open '/root/.config/insight-nodejs/insight-yo.json.1765396883'
    at Object.openSync (fs.js:451:3)
    at Function.writeFileSync [as sync] (/root/.npm-global/lib/node_modules/yo/node_modules/write-file-atomic/index.js:212:13)
    at Conf.set store [as store] (/root/.npm-global/lib/node_modules/yo/node_modules/conf/index.js:142:19)
    at Conf.set (/root/.npm-global/lib/node_modules/yo/node_modules/conf/index.js:64:14)

请修改目录权限

chmod 777 -R /root/