Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/29.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
Node.js 角度泳道Ngx图表不在本地工作,在stackblitz中工作_Node.js_Angular_Npm_Ngx Datatable - Fatal编程技术网

Node.js 角度泳道Ngx图表不在本地工作,在stackblitz中工作

Node.js 角度泳道Ngx图表不在本地工作,在stackblitz中工作,node.js,angular,npm,ngx-datatable,Node.js,Angular,Npm,Ngx Datatable,我对Angular是个初学者,不过我读了一些文档和视频 我运行angular的示例应用程序,但我要运行的应用程序是 .这在空中运行很好,但当我在本地下载时。 解压文件夹后,我运行下面的命令 1) npm安装 2) npm启动 在执行start时,会出现以下错误: 信息如果以ok结尾,它工作了 1 verbose cli['/usr/local/ceral/node/10.10.0/bin/node', 1个详细cli'/usr/local/bin/npm', 1详细cli“开始”] 2信息使用n

我对Angular是个初学者,不过我读了一些文档和视频

我运行angular的示例应用程序,但我要运行的应用程序是 .这在空中运行很好,但当我在本地下载时。 解压文件夹后,我运行下面的命令

1) npm安装

2) npm启动

在执行start时,会出现以下错误:

信息如果以ok结尾,它工作了 1 verbose cli['/usr/local/ceral/node/10.10.0/bin/node', 1个详细cli'/usr/local/bin/npm', 1详细cli“开始”] 2信息使用npm@6.4.1 3信息使用node@v10.10.0 4详细的运行脚本['prestart','start','poststart'] 5信息生命周期竖条-chart@0.0.0~prestart:竖条-chart@0.0.0 6信息生命周期竖条-chart@0.0.0~start:竖条-chart@0.0.0 7详细生命周期竖条-chart@0.0.0~start:生命周期中的不安全烫发为true 8详细生命周期竖条-chart@0.0.0~start:PATH:/usr/local/lib/node\u modules/npm/node\u modules/npm lifecycle/node gyp bin:/Users/asha.koshti/Desktop/vertical条形图/node\u modules/.bin:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/bin:/sbin:/sbin 9详细生命周期竖条-chart@0.0.0~start:CWD:/Users/asha.koshti/Desktop/vertical-bar-chart 10.垂直条-chart@0.0.0~start:Args:['-c',ng serve'] 11.垂直条-chart@0.0.0~start:Returned:code:1信号:null 12信息生命周期竖条-chart@0.0.0~start:无法执行启动脚本 13详细堆栈错误:垂直条-chart@0.0.0开始:
ng发球
13详细堆栈退出状态1 13 EventEmitter上的详细堆栈。(/usr/local/lib/node_modules/npm/node_modules/npm lifecycle/index.js:301:16) 13 EventEmitter.emit上的详细堆栈(events.js:182:13) 13子进程上的详细堆栈。(/usr/local/lib/node_modules/npm/node_modules/npm lifecycle/lib/spawn.js:55:14) 13 ChildProcess.emit上的详细堆栈(events.js:182:13) 13 maybeClose的详细堆栈(internal/child_process.js:962:16) 13 Process.ChildProcess.\u handle.onexit处的详细堆栈(internal/child\u Process.js:251:5) 14详细pkgid垂直条-chart@0.0.0 15详细cwd/Users/asha.koshti/Desktop/vertical-bar-chart 16详细达尔文17.7.0 17详细argv“/usr/local/ceral/node/10.10.0/bin/node”“/usr/local/bin/npm”“启动” 18详细节点v10.10.0 19详细的npm v6.4.1 20错误代码ELIFECYCLE 21错误1 22误差垂直条-chart@0.0.0开始:
ng发球
22错误退出状态1 23垂直条上的错误失败-chart@0.0.0开始脚本。 23错误这可能不是npm的问题。上面可能还有其他日志输出。 24详细退出[1,true]

我的npm和节点版本如下所示:

节点-v v10.10.0

npm-v 6.4.1


请对此提供帮助。

要运行Angular,请转到Angular文件夹。对于myApp内的ex,键入
ng serve
以运行Angular应用程序。要开始学习,请遵循官方文件: