Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
angularjs nodejs npm安装出现错误_Angularjs_Node.js_Npm_Npm Install_Node Modules - Fatal编程技术网

angularjs nodejs npm安装出现错误

angularjs nodejs npm安装出现错误,angularjs,node.js,npm,npm-install,node-modules,Angularjs,Node.js,Npm,Npm Install,Node Modules,我必须使用angularjs主题 为此,我从以下URL下载源代码: 执行安装步骤 install node-v6.9.2-x64.msi E:\angular-material-dashboard-master>npm install 它给出了以下错误 npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_mo

我必须使用angularjs主题

为此,我从以下URL下载源代码:

执行安装步骤

install node-v6.9.2-x64.msi
E:\angular-material-dashboard-master>npm install
它给出了以下错误

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.2
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! angular-material-dashboard@1.3.0 install: `bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-material-dashboard@1.3.0 install script 'bower install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-material-dashboard package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-material-dashboard
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-material-dashboard
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\angular-material-dashboard-master\npm-debug.log
E:\angular-material-dashboard-master>npm install
对于上述错误,我尝试运行以下命令

E:\angular-material-dashboard-master>npm install bower
它给出以下输出

E:\angular-material-dashboard-master>npm install bower
angular-material-dashboard@1.3.0 E:\angular-material-dashboard-master
+-- bower@1.8.0
+-- UNMET PEER DEPENDENCY jasmine-core@*
`-- UNMET PEER DEPENDENCY karma@>=0.10 <=0.13

npm WARN gulp-karma@0.0.5 requires a peer of karma@>=0.10 <=0.13 but none was installed.
npm WARN karma-jasmine@0.3.8 requires a peer of jasmine-core@* but none was installed.
npm WARN karma-phantomjs-launcher@0.1.4 requires a peer of karma@>=0.9 but none was installed.
npm WARN angular-material-dashboard@1.3.0 No repository field.
npm WARN angular-material-dashboard@1.3.0 No license field.
它给出了同样的错误


我正在使用Windows 10和node-v6.9.2。

您也应该安装依赖项。@RandheerSinghChouhan我必须安装哪个依赖项以及如何安装?由于karma jasmine 0.3.0,jasmine库不再与karma jasmine捆绑在一起,您必须自己安装它。您只需执行以下操作:
$npm install-g karma jasmine
@RandheerSinghChouhan您的意思是我必须运行类似于“C:\Program Files\nodejs>npm install karma”的命令-jasmine@0.1.0--保存开发”对吗?是的,例如,
$npm install-g karma jasmine
您也应该安装依赖项。@RandheerSinghChouhan我必须安装哪个依赖项以及如何安装?由于karma jasmine 0.3.0,jasmine库不再与karma jasmine捆绑,您必须自己安装。您只需执行以下操作:
$npm install-g karma jasmine
@RandheerSinghChouhan您的意思是我必须运行类似于“C:\Program Files\nodejs>npm install karma”的命令-jasmine@0.1.0--保存开发“对吗?是的,例如,
$npm安装-g karma jasmine