liuxilei / node Goto Github PK
View Code? Open in Web Editor NEWnode相关
License: MIT License
node相关
License: MIT License
error An unexpected error occurred: "C:\\Users\\z\\AppData\\Local\\Yarn\\Cache\\v4\\npm-jest-environment-jsdom-22.4.3-d67daa4155e33516aecdd35afd82d4abf0fa8a1e\\node_modules\\jest-environment-jsdom\\package.json: Unexpected end of JSON input".
info If you think this is a bug, please open a bug report with the information provided in "E:\\工作\\huozi-landing\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn cache clean
// 安装node版本,比如安装10.18
nvm install 10.18
// 查看已经安装的版本
nvm list
nvm ls
// 使用某个版本
nvm use 10.18
// 删除某个版本
nvm uninstall 10.18
// 显示当前使用版本
nvm current
淘宝 npm地址: http://npm.taobao.org/
$ npm --registry https://registry.npm.taobao.org install express
$ npm config set registry https://registry.npm.taobao.org
配置后可通过下面方式来验证是否成功
$ npm config get registry
$ npm config set registry https://registry.npmjs.org
.npmrc
文件$ npm config edit
.npmrc
配置文件位置$ npm config list
查看; userconfig那一行
$ npm config get cache
$ npm config get prefix
$ npm list -g --depth 0
命令 | 解释 |
---|---|
npm list | 显示安装过的包 |
-g | 全局 |
--depth 0 | 限制输出模块层级 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.