[英]npm install issue with laravel
please i need you help me,i am learning laravel according to the steps in the documentation,but every time i run npm install
command,it does not work and i got this error请我需要你帮助我,我正在根据文档中的步骤学习 laravel,但每次我运行
npm install
命令时,它都不起作用,我收到此错误
PS C:\xampp\htdocs\laravel-authentication> npm install
PS C:\xampp\htdocs\laravel-authentication> npm 安装
npm ERR!npm 错误! Cannot read properties of undefined (reading 'name')
无法读取未定义的属性(读取“名称”)
npm ERR: A complete log of this run can be found in:npm ERR:此运行的完整日志可在以下位置找到:
npm ERR: C.\Users\Joseph\AppData\Local\npm-cache_logs\2022-08-12T19_52_24_666Z-debug-0.lognpm 错误:C.\Users\Joseph\AppData\Local\npm-cache_logs\2022-08-12T19_52_24_666Z-debug-0.log
cd application
first, and then npm install
先
cd application
,然后npm install
first check your node version and compare with required.首先检查您的节点版本并与所需的进行比较。
otherwise use following coommands否则使用以下命令
npm cache clean --force npm install npm run build npm 缓存清理 --force npm 安装 npm 运行构建
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.