npm install zsh:找不到命令:npm

时间:2019-06-05 11:11:03

标签: node.js npm zsh

我只是在笔记本电脑上重新安装了节点,然后尝试安装项目中打包的软件包。我使用MacOS通过brew和Im安装了节点。

npm install
zsh: command not found: npm

1 个答案:

答案 0 :(得分:1)

您的npm二进制文件位于 <android.support.design.widget.CollapsingToolbarLayout android:id="@+id/collapsing_detail_buddhism" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_scrollFlags="scroll|exitUntilCollapsed|snap" app:title="" app:expandedTitleMarginStart="10dp" app:expandedTitleMarginBottom="20dp" app:expandedTitleMarginTop="20dp" app:expandedTitleTextAppearance="@style/Base.TextAppearance.AppCompat.Display1"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/main_image" android:layout_width="match_parent" android:layout_height="220dp" android:src="@drawable/buddha" android:scaleType="centerCrop" android:foreground="@drawable/drawable_bottom_effect" /> </RelativeLayout> <android.support.v7.widget.Toolbar android:id="@+id/toolbar_detail_buddhism" android:layout_width="match_parent" android:layout_height="?android:attr/actionBarSize" app:layout_collapseMode="pin"/> </android.support.design.widget.CollapsingToolbarLayout> 中。这是您的路径环境变量吗?

如果未使用<?xml version="1.0" encoding="UTF-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="rectangle"> <gradient android:angle="270" android:endColor="#000000" android:startColor="#00000000" android:type="linear" /> </shape> </item> </layer-list> 将其导出到/usr/local/share/npm/bin