1
当我运行npm i
命令时,它部分克隆了bitbucket回购的代码。以下是package.json
npm install部分克隆git repo的源码
"dependencies": {
"bluerain-app-hello-world": "git+ssh://[email protected]/projects/bluerain-app-hello-world.git#build_issue",
"graphql-tag": "0.1.16" }
的来源,但是当我通过
ls node_modules/bluerain-app-hello-world/
名单下跌从node_module克隆绳子它给这个名单
index.js node_modules package.json README.md src
在我的源代码中有一个dist文件夹,但它没有正确克隆。我试图删除我的节点模块并重新安装它,但它没有奏效。有什么建议吗?
我怀疑这是你的.gitignore。 –
'* .idea 日志 * .LOG NPM-*的debug.log 构建/发布 node_modules .npm .eslintcache .node_repl_history * .tgz的 .idea ' 的.gitignore – sbs
不能忽视规则;忽略规则*仅影响未跟踪文件的列表 –