0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'serve' 1 verbose cli ] 2 info using npm@6.10.2 3 info using node@v12.8.1 4 verbose run-script [ 'preserve', 'serve', 'postserve' ] 5 info lifecycle fasp-gp@1.0.0~preserve: fasp-gp@1.0.0 6 info lifecycle fasp-gp@1.0.0~serve: fasp-gp@1.0.0 7 verbose lifecycle fasp-gp@1.0.0~serve: unsafe-perm in lifecycle true 8 verbose lifecycle fasp-gp@1.0.0~serve: PATH: C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\apple\test\fasp-gp-dev\node_modules\.bin;C:\Program Files\Parallels\Parallels Tools\Applications;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\nodejs\;C:\Users\apple\AppData\Local\Microsoft\WindowsApps;C:\Users\apple\AppData\Roaming\npm;C:\Users\apple\AppData\Local\Programs\Microsoft VS Code\bin 9 verbose lifecycle fasp-gp@1.0.0~serve: CWD: C:\Users\apple\test\fasp-gp-dev 10 silly lifecycle fasp-gp@1.0.0~serve: Args: [ '/d /s /c', 'vue-cli-service serve' ] 11 silly lifecycle fasp-gp@1.0.0~serve: Returned: code: 134 signal: null 12 info lifecycle fasp-gp@1.0.0~serve: Failed to exec serve script 13 verbose stack Error: fasp-gp@1.0.0 serve: `vue-cli-service serve` 13 verbose stack Exit status 134 13 verbose stack at EventEmitter.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:326:16) 13 verbose stack at EventEmitter.emit (events.js:203:13) 13 verbose stack at ChildProcess.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:203:13) 13 verbose stack at maybeClose (internal/child_process.js:1021:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) 14 verbose pkgid fasp-gp@1.0.0 15 verbose cwd C:\Users\apple\test\fasp-gp-dev 16 verbose Windows_NT 10.0.19045 17 verbose argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve" 18 verbose node v12.8.1 19 verbose npm v6.10.2 20 error code ELIFECYCLE 21 error errno 134 22 error fasp-gp@1.0.0 serve: `vue-cli-service serve` 22 error Exit status 134 23 error Failed at the fasp-gp@1.0.0 serve script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 134, true ]

时间: 2023-07-23 16:13:05 浏览: 86
根据日志信息,出现了一个 Exit status 134 错误,这通常表示发生了一个非正常的进程终止。根据日志中的信息,这个错误是由于运行 "vue-cli-service serve" 命令时引起的。 要进一步排查该问题,可以尝试以下步骤: 1. 确保你的项目依赖项已经正确安装。可以尝试运行 `npm install` 命令来安装缺失的依赖项。 2. 尝试使用最新版本的 npm 和 Node.js。你正在使用 npm 6.10.2 和 Node.js v12.8.1,你可以尝试更新到最新版本来看看是否能够解决问题。 3. 检查项目的配置和代码是否正确。特别注意 "vue-cli-service serve" 命令是否正确配置和调用。 4. 如果你使用了自定义的插件或配置,请确保它们与当前版本的 Vue CLI 兼容。可能需要更新插件或调整配置文件以适应最新版本。 如果上述方法都没有解决问题,建议查找类似的问题或在相关社区寻求帮助,以获取更多针对你具体项目和配置的支持。
相关问题

npm err! gyp info it worked if it ends with ok

npm err! gyp info it worked if it ends with ok 是 npm 构建工具 gyp 提示信息中的一句话。它表示构建过程正常完成且没有错误。gyp 是一个用于生成跨平台 C++ 编译配置的工具,它提供了一种统一的方式来构建 Node.js 程序中的本地 C++ 模块。当看到这个提示时,说明 gyp 命令执行成功,没有遇到错误。 npm 是 Node.js 的包管理器,用于安装、发布、卸载包,以及管理项目依赖关系。当我们使用 npm 安装包或构建项目时,有时会出现各种错误信息。在这个特定的错误提示中,如果最后显示 "ok",表示 gyp 命令已经成功执行,并且没有遇到任何问题。 这个提示的出现意味着 gyp 构建工具运行正常,这对于项目开发者来说是一个好消息。这意味着程序的本地 C++ 模块的编译和构建过程没有发生错误,可以继续进行后续的操作。 需要注意的是,如果出现其他错误提示,说明 gyp 命令可能遇到了问题,需要查看具体的错误信息来解决。可以根据错误信息进行排查和调试,以修复问题并确保构建过程正常进行。因此,开发者在遇到这类问题时应该查看完整的错误信息,而不仅仅关注是否以 "ok" 结尾。

npm ERR! code 1 npm ERR! path D:\长安qms\qms_manage_ui\node_modules\node-sass npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js npm ERR! Building: D:\Nodejs\node.exe D:\长安qms\qms_manage_ui\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= npm ERR! gyp info it worked if it ends with ok npm ERR! gyp verb cli [

It seems like you're facing an error while running the command `npm install` or `npm run build` in your project. The error message indicates that there is an issue with the `node-sass` module. To resolve this issue, you can try the following steps: 1. Clear the npm cache by running the command: ``` npm cache clean --force ``` 2. Delete the `node_modules` folder by running the command: ``` rm -rf node_modules ``` or ``` rmdir /s /q node_modules ``` 3. Install the `node-sass` module again by running the command: ``` npm install node-sass ``` 4. Try running the build command again: ``` npm run build ``` If the issue persists, make sure you have all the necessary dependencies installed and that your environment is set up correctly. Let me know if this helps!

相关推荐

0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'dev' 1 verbose cli ] 2 info using npm@6.14.16 3 info using node@v12.22.12 4 verbose run-script [ 'predev', 'dev', 'postdev' ] 5 info lifecycle vue-element-admin@4.4.0~predev: vue-element-admin@4.4.0 6 info lifecycle vue-element-admin@4.4.0~dev: vue-element-admin@4.4.0 7 verbose lifecycle vue-element-admin@4.4.0~dev: unsafe-perm in lifecycle true 8 verbose lifecycle vue-element-admin@4.4.0~dev: PATH: C:\Users\zhongke_imzzx\AppData\Roaming\nvm\v12.22.12\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\zhongke_imzzx\Desktop\新建文件夹\lianxi_ceshi\PJC_jiaqiang\PJC_jiaqiang\node_modules\.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Users\zhongke_imzzx\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\allDownload\tortoiseGit\TortoiseGit_dir\bin;C:\Users\zhongke_imzzx\AppData\Local\Microsoft\WindowsApps;C:\Users\zhongke_imzzx\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\zhongke_imzzx\AppData\Roaming\nvm;C:\Program Files\nodejs; 9 verbose lifecycle vue-element-admin@4.4.0~dev: CWD: C:\Users\zhongke_imzzx\Desktop\新建文件夹\lianxi_ceshi\PJC_jiaqiang\PJC_jiaqiang 10 silly lifecycle vue-element-admin@4.4.0~dev: Args: [ '/d /s /c', 'vue-cli-service serve' ] 11 silly lifecycle vue-element-admin@4.4.0~dev: Returned: code: 1 signal: null 12 info lifecycle vue-element-admin@4.4.0~dev: Failed to exec dev script 13 verbose stack Error: vue-element-admin@4.4.0 dev: vue-cli-service serve 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (C:\Users\zhongke_imzzx\AppData\Roaming\nvm\v12.22.12\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:314:20) 13 verbose stack at ChildProcess.<anonymous> (C:\Users\zhongke_imzzx\AppData\Roaming\nvm\v12.22.12\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:314:20) 13 verbose stack at maybeClose (internal/child_process.js:1022:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) 14 verbose pkgid vue-element-admin@4.4.0 15 verbose cwd C:\Users\zhongke_imzzx\Desktop\新建文件夹\lianxi_ceshi\PJC_jiaqiang\PJC_jiaqiang 16 verbose Windows_NT 10.0.22621 17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev" 18 verbose node v12.22.12 19 verbose npm v6.14.16 20 error code ELIFECYCLE 21 error errno 1 22 error vue-element-admin@4.4.0 dev: vue-cli-service serve 22 error Exit status 1 23 error Failed at the vue-element-admin@4.4.0 dev script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

'''' Training Multiple Faces stored on a DataBase: ==> Each face should have a unique numeric integer ID as 1, 2, 3, etc ==> LBPH computed model will be saved on trainer/ directory. (if it does not exist, pls create one) ==> for using PIL, install pillow library with "pip install pillow" Based on original code by Anirban Kar: https://github.com/thecodacus/Face-Recognition Developed by Marcelo Rovai - MJRoBot.org @ 21Feb18 ''' import cv2 import numpy as np from PIL import Image import os # Path for face image database path = 'dataset' recognizer = cv2.face.LBPHFaceRecognizer_create() detector = cv2.CascadeClassifier("haarcascade_frontalface_default.xml"); # function to get the images and label data def getImagesAndLabels(path): imagePaths = [os.path.join(path,f) for f in os.listdir(path)] faceSamples=[] ids = [] for imagePath in imagePaths: PIL_img = Image.open(imagePath).convert('L') # convert it to grayscale img_numpy = np.array(PIL_img,'uint8') id = int(os.path.split(imagePath)[-1].split(".")[1]) faces = detector.detectMultiScale(img_numpy) for (x,y,w,h) in faces: faceSamples.append(img_numpy[y:y+h,x:x+w]) ids.append(id) return faceSamples,ids print ("\n [INFO] Training faces. It will take a few seconds. Wait ...") faces,ids = getImagesAndLabels(path) recognizer.train(faces, np.array(ids)) # Save the model into trainer/trainer.yml recognizer.write('trainer/trainer.yml') # recognizer.save() worked on Mac, but not on Pi # Print the numer of faces trained and end program print("\n [INFO] {0} faces trained. Exiting Program".format(len(np.unique(ids)))) 翻译各语句

'''' Training Multiple Faces stored on a DataBase: ==> Each face should have a unique numeric integer ID as 1, 2, 3, etc ==> LBPH computed model will be saved on trainer/ directory. (if it does not exist, pls create one) ==> for using PIL, install pillow library with "pip install pillow" Based on original code by Anirban Kar: https://github.com/thecodacus/Face-Recognition Developed by Marcelo Rovai - MJRoBot.org @ 21Feb18 ''' import cv2 import numpy as np from PIL import Image import os # Path for face image database path = 'dataset' recognizer = cv2.face.LBPHFaceRecognizer_create() detector = cv2.CascadeClassifier("haarcascade_frontalface_default.xml"); # function to get the images and label data def getImagesAndLabels(path): imagePaths = [os.path.join(path,f) for f in os.listdir(path)] faceSamples=[] ids = [] for imagePath in imagePaths: PIL_img = Image.open(imagePath).convert('L') # convert it to grayscale img_numpy = np.array(PIL_img,'uint8') id = int(os.path.split(imagePath)[-1].split(".")[1]) faces = detector.detectMultiScale(img_numpy) for (x,y,w,h) in faces: faceSamples.append(img_numpy[y:y+h,x:x+w]) ids.append(id) return faceSamples,ids print ("\n [INFO] Training faces. It will take a few seconds. Wait ...") faces,ids = getImagesAndLabels(path) recognizer.train(faces, np.array(ids)) # Save the model into trainer/trainer.yml recognizer.write('trainer/trainer.yml') # recognizer.save() worked on Mac, but not on Pi # Print the numer of faces trained and end program print("\n [INFO] {0} faces trained. Exiting Program".format(len(np.unique(ids)))) 翻译各代码的意思

最新推荐

recommend-type

linux操作系统安装MONO执行C#程序的详解步骤

System.Console.Write("My first mono app worked!\n"); } } ``` 4. **编译C#程序** 使用`gmcs`编译器将C#源代码编译为可执行文件: ```bash gmcs example.cs ``` 5. **执行程序** 编译成功后,运行生成...
recommend-type

基于STM32控制遥控车的蓝牙应用程序

基于STM32控制遥控车的蓝牙应用程序
recommend-type

Memcached 1.2.4 版本源码包

粤嵌gec6818开发板项目Memcached是一款高效分布式内存缓存解决方案,专为加速动态应用程序和减轻数据库压力而设计。它诞生于Danga Interactive,旨在增强LiveJournal.com的性能。面对该网站每秒数千次的动态页面请求和超过七百万的用户群,Memcached成功实现了数据库负载的显著减少,优化了资源利用,并确保了更快的数据访问速度。。内容来源于网络分享,如有侵权请联系我删除。另外如果没有积分的同学需要下载,请私信我。
recommend-type

利用迪杰斯特拉算法的全国交通咨询系统设计与实现

全国交通咨询模拟系统是一个基于互联网的应用程序,旨在提供实时的交通咨询服务,帮助用户找到花费最少时间和金钱的交通路线。系统主要功能包括需求分析、个人工作管理、概要设计以及源程序实现。 首先,在需求分析阶段,系统明确了解用户的需求,可能是针对长途旅行、通勤或日常出行,用户可能关心的是时间效率和成本效益。这个阶段对系统的功能、性能指标以及用户界面有明确的定义。 概要设计部分详细地阐述了系统的流程。主程序流程图展示了程序的基本结构,从开始到结束的整体运行流程,包括用户输入起始和终止城市名称,系统查找路径并显示结果等步骤。创建图算法流程图则关注于核心算法——迪杰斯特拉算法的应用,该算法用于计算从一个节点到所有其他节点的最短路径,对于求解交通咨询问题至关重要。 具体到源程序,设计者实现了输入城市名称的功能,通过 LocateVex 函数查找图中的城市节点,如果城市不存在,则给出提示。咨询钱最少模块图是针对用户查询花费最少的交通方式,通过 LeastMoneyPath 和 print_Money 函数来计算并输出路径及其费用。这些函数的设计体现了算法的核心逻辑,如初始化每条路径的距离为最大值,然后通过循环更新路径直到找到最短路径。 在设计和调试分析阶段,开发者对源代码进行了严谨的测试,确保算法的正确性和性能。程序的执行过程中,会进行错误处理和异常检测,以保证用户获得准确的信息。 程序设计体会部分,可能包含了作者在开发过程中的心得,比如对迪杰斯特拉算法的理解,如何优化代码以提高运行效率,以及如何平衡用户体验与性能的关系。此外,可能还讨论了在实际应用中遇到的问题以及解决策略。 全国交通咨询模拟系统是一个结合了数据结构(如图和路径)以及优化算法(迪杰斯特拉)的实用工具,旨在通过互联网为用户提供便捷、高效的交通咨询服务。它的设计不仅体现了技术实现,也充分考虑了用户需求和实际应用场景中的复杂性。
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

【实战演练】基于TensorFlow的卷积神经网络图像识别项目

![【实战演练】基于TensorFlow的卷积神经网络图像识别项目](https://img-blog.csdnimg.cn/20200419235252200.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM3MTQ4OTQw,size_16,color_FFFFFF,t_70) # 1. TensorFlow简介** TensorFlow是一个开源的机器学习库,用于构建和训练机器学习模型。它由谷歌开发,广泛应用于自然语言
recommend-type

CD40110工作原理

CD40110是一种双四线双向译码器,它的工作原理基于逻辑编码和译码技术。它将输入的二进制代码(一般为4位)转换成对应的输出信号,可以控制多达16个输出线中的任意一条。以下是CD40110的主要工作步骤: 1. **输入与编码**: CD40110的输入端有A3-A0四个引脚,每个引脚对应一个二进制位。当你给这些引脚提供不同的逻辑电平(高或低),就形成一个四位的输入编码。 2. **内部逻辑处理**: 内部有一个编码逻辑电路,根据输入的四位二进制代码决定哪个输出线应该导通(高电平)或保持低电平(断开)。 3. **输出**: 输出端Y7-Y0有16个,它们分别与输入的编码相对应。当特定的
recommend-type

全国交通咨询系统C++实现源码解析

"全国交通咨询系统C++代码.pdf是一个C++编程实现的交通咨询系统,主要功能是查询全国范围内的交通线路信息。该系统由JUNE于2011年6月11日编写,使用了C++标准库,包括iostream、stdio.h、windows.h和string.h等头文件。代码中定义了多个数据结构,如CityType、TrafficNode和VNode,用于存储城市、交通班次和线路信息。系统中包含城市节点、交通节点和路径节点的定义,以及相关的数据成员,如城市名称、班次、起止时间和票价。" 在这份C++代码中,核心的知识点包括: 1. **数据结构设计**: - 定义了`CityType`为short int类型,用于表示城市节点。 - `TrafficNodeDat`结构体用于存储交通班次信息,包括班次名称(`name`)、起止时间(原本注释掉了`StartTime`和`StopTime`)、运行时间(`Time`)、目的地城市编号(`EndCity`)和票价(`Cost`)。 - `VNodeDat`结构体代表城市节点,包含了城市编号(`city`)、火车班次数(`TrainNum`)、航班班次数(`FlightNum`)以及两个`TrafficNodeDat`数组,分别用于存储火车和航班信息。 - `PNodeDat`结构体则用于表示路径中的一个节点,包含城市编号(`City`)和交通班次号(`TraNo`)。 2. **数组和变量声明**: - `CityName`数组用于存储每个城市的名称,按城市编号进行索引。 - `CityNum`用于记录城市的数量。 - `AdjList`数组存储各个城市的线路信息,下标对应城市编号。 3. **算法与功能**: - 系统可能实现了Dijkstra算法或类似算法来寻找最短路径,因为有`MinTime`和`StartTime`变量,这些通常与路径规划算法有关。 - `curPath`可能用于存储当前路径的信息。 - `SeekCity`函数可能是用来查找特定城市的函数,其参数是一个城市名称。 4. **编程语言特性**: - 使用了`#define`预处理器指令来设置常量,如城市节点的最大数量(`MAX_VERTEX_NUM`)、字符串的最大长度(`MAX_STRING_NUM`)和交通班次的最大数量(`MAX_TRAFFIC_NUM`)。 - `using namespace std`导入标准命名空间,方便使用iostream库中的输入输出操作。 5. **编程实践**: - 代码的日期和作者注释显示了良好的编程习惯,这对于代码维护和团队合作非常重要。 - 结构体的设计使得数据组织有序,方便查询和操作。 这个C++代码实现了全国交通咨询系统的核心功能,涉及城市节点管理、交通班次存储和查询,以及可能的路径规划算法。通过这些数据结构和算法,用户可以查询不同城市间的交通信息,并获取最优路径建议。
recommend-type

"互动学习:行动中的多样性与论文攻读经历"

多样性她- 事实上SCI NCES你的时间表ECOLEDO C Tora SC和NCESPOUR l’Ingén学习互动,互动学习以行动为中心的强化学习学会互动,互动学习,以行动为中心的强化学习计算机科学博士论文于2021年9月28日在Villeneuve d'Asq公开支持马修·瑟林评审团主席法布里斯·勒菲弗尔阿维尼翁大学教授论文指导奥利维尔·皮耶昆谷歌研究教授:智囊团论文联合主任菲利普·普雷教授,大学。里尔/CRISTAL/因里亚报告员奥利维耶·西格德索邦大学报告员卢多维奇·德诺耶教授,Facebook /索邦大学审查员越南圣迈IMT Atlantic高级讲师邀请弗洛里安·斯特鲁布博士,Deepmind对于那些及时看到自己错误的人...3谢谢你首先,我要感谢我的两位博士生导师Olivier和Philippe。奥利维尔,"站在巨人的肩膀上"这句话对你来说完全有意义了。从科学上讲,你知道在这篇论文的(许多)错误中,你是我可以依
recommend-type

【实战演练】使用Seaborn和Plotly进行数据可视化项目

![【实战演练】使用Seaborn和Plotly进行数据可视化项目](https://ask.qcloudimg.com/http-save/yehe-5669851/lifus0nfda.jpeg) # 1. 数据可视化的基础** 数据可视化是指将数据转换为图形或图表,以帮助人们理解和解释数据。它是一种强大的工具,可以揭示数据中的模式、趋势和异常情况,从而帮助人们做出更好的决策。 数据可视化有许多不同的类型,包括条形图、折线图、散点图和饼图。每种类型都有其独特的优点和缺点,具体选择哪种类型取决于数据类型和要传达的信息。 在创建数据可视化时,重要的是要考虑以下因素: * **受众:**