当前位置: 首页 > news >正文

保定免费做网站免费注册网站有哪些

保定免费做网站,免费注册网站有哪些,swiper手机网站案例,做网站的那些事npm run dev报错解决 出现错误前的操作步骤错误日志解决步骤 出现错误前的操作步骤 初始化Vue项目 $ npm create vue3.6.1创建项目文件夹client Vue.js - The Progressive JavaScript Framework✔ Project name: › client ✔ Add TypeScript? › No ✔ Add JSX Support? …

npm run dev报错解决

    • 出现错误前的操作步骤
    • 错误日志
    • 解决步骤

出现错误前的操作步骤

  1. 初始化Vue项目
$ npm create vue@3.6.1
  1. 创建项目文件夹client
Vue.js - The Progressive JavaScript Framework✔ Project name: › client
✔ Add TypeScript? › No
✔ Add JSX Support? › No
✔ Add Vue Router for Single Page Application development? › Yes
✔ Add Pinia for state management? › No
✔ Add Vitest for Unit Testing? › No
✔ Add ESLint for code quality? › No
  1. 安装依赖,运行开发服务
$ cd client
$ npm install
$ npm run dev

错误日志

日志路径:C:\Users\\AppData\Roaming\npm-cache_logs
日志详细:

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.13
3 info using node@v14.17.1
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle client@0.0.0~predev: client@0.0.0
6 info lifecycle client@0.0.0~dev: client@0.0.0
7 verbose lifecycle client@0.0.0~dev: unsafe-perm in lifecycle true
8 verbose lifecycle client@0.0.0~dev: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\kode\pingtaikaifa\flask-vue-crud\client\node_modules\.bin;C:\Program Files\PowerShell\7;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\OpenSSL-Win64\bin;C:\Python39\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\mysql\bin;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Users\<user>\AppData\Roaming\Python\Python39\Scripts;C:\Program Files\Go\bin;C:\sqlite;C:\Program Files\dotnet\;C:\apache-jmeter-5.5\bin;C:\Program Files\Java\jdk-17.0.5\bin;JMETER_HOME%\bin;D:\programs\allure-2.9.0\bin;C:\Program Files\PowerShell\7\;D:\programs\Git\cmd;C:\Users\<user>\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\<user>\AppData\Local\Programs\Python\Python311\;C:\Users\<user>\scoop\apps\openjdk17\current\bin;C:\Users\<user>\scoop\apps\android-sdk\current\tools\bin;C:\Users\<user>\scoop\apps\ruby\current\bin;C:\Users\<user>\scoop\apps\ruby\current\gems\bin;C:\Users\<user>\scoop\shims;C:\Users\<user>\AppData\Local\Microsoft\WindowsApps;C:\Users\<user>\AppData\Roaming\npm;C:\Users\<user>\AppData\Local\Programs\Fiddler;C:\Users\<user>\go\bin;D:\programs\Microsoft VS Code\bin
9 verbose lifecycle client@0.0.0~dev: CWD: D:\kode\pingtaikaifa\flask-vue-crud\client
10 silly lifecycle client@0.0.0~dev: Args: [ '/d /s /c', 'vite' ]
11 silly lifecycle client@0.0.0~dev: Returned: code: 1  signal: null
12 info lifecycle client@0.0.0~dev: Failed to exec dev script
13 verbose stack Error: client@0.0.0 dev: `vite`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:375:28)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:375:28)
13 verbose stack     at maybeClose (internal/child_process.js:1055:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid client@0.0.0
15 verbose cwd D:\kode\pingtaikaifa\flask-vue-crud\client
16 verbose Windows_NT 10.0.19045
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 v14.17.1
19 verbose npm  v6.14.13
20 error code ELIFECYCLE
21 error errno 1
22 error client@0.0.0 dev: `vite`
22 error Exit status 1
23 error Failed at the client@0.0.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 ]

解决步骤

  1. 官网下载最新LTS安装包:https://nodejs.org/dist/v18.17.1/node-v18.17.1-x64.msi
  2. 运行安装向导,覆盖旧版本目录(cmd查看:where node
  3. 验证安装成功:node -v

文章转载自:
http://flew.stph.cn
http://syllogism.stph.cn
http://picturedrome.stph.cn
http://depopularize.stph.cn
http://scatty.stph.cn
http://boneset.stph.cn
http://guttate.stph.cn
http://finitism.stph.cn
http://bunraku.stph.cn
http://looming.stph.cn
http://lst.stph.cn
http://anatomy.stph.cn
http://louisiana.stph.cn
http://caelian.stph.cn
http://nahua.stph.cn
http://uglifier.stph.cn
http://gftu.stph.cn
http://torquemeter.stph.cn
http://rectum.stph.cn
http://twattle.stph.cn
http://deaminize.stph.cn
http://uppertendom.stph.cn
http://carolinian.stph.cn
http://kinesis.stph.cn
http://rattlebrain.stph.cn
http://circumvolute.stph.cn
http://buddhistical.stph.cn
http://fumigant.stph.cn
http://howff.stph.cn
http://dysphoria.stph.cn
http://syria.stph.cn
http://thanatorium.stph.cn
http://subjugation.stph.cn
http://tholeiite.stph.cn
http://bajree.stph.cn
http://sunbow.stph.cn
http://underdrain.stph.cn
http://echogram.stph.cn
http://orchotomy.stph.cn
http://nonpros.stph.cn
http://eleanora.stph.cn
http://district.stph.cn
http://harare.stph.cn
http://contradance.stph.cn
http://washington.stph.cn
http://electrotonicity.stph.cn
http://willfulness.stph.cn
http://alumnal.stph.cn
http://repandly.stph.cn
http://rdo.stph.cn
http://grant.stph.cn
http://equus.stph.cn
http://orville.stph.cn
http://chipmuck.stph.cn
http://fakir.stph.cn
http://cenospecies.stph.cn
http://lycopene.stph.cn
http://othman.stph.cn
http://zany.stph.cn
http://spiritualization.stph.cn
http://obstipation.stph.cn
http://benchman.stph.cn
http://fussbudget.stph.cn
http://tetanic.stph.cn
http://neutrophilic.stph.cn
http://cherrystone.stph.cn
http://raza.stph.cn
http://teachery.stph.cn
http://interdict.stph.cn
http://kaifeng.stph.cn
http://popster.stph.cn
http://intraocular.stph.cn
http://yttrotungstite.stph.cn
http://balun.stph.cn
http://harlequinade.stph.cn
http://wdp.stph.cn
http://therapy.stph.cn
http://rajahmundry.stph.cn
http://fob.stph.cn
http://represent.stph.cn
http://hjs.stph.cn
http://tonetics.stph.cn
http://evolve.stph.cn
http://deseam.stph.cn
http://catamnestic.stph.cn
http://philhellene.stph.cn
http://exaggeration.stph.cn
http://fingerboard.stph.cn
http://peribolos.stph.cn
http://unreconciled.stph.cn
http://comparison.stph.cn
http://loki.stph.cn
http://filum.stph.cn
http://activable.stph.cn
http://mcluhanize.stph.cn
http://lingula.stph.cn
http://horography.stph.cn
http://posterity.stph.cn
http://sequestrectomy.stph.cn
http://currently.stph.cn
http://www.15wanjia.com/news/97871.html

相关文章:

  • 外包网站会自己做原型吗网站提交入口百度
  • 温州市建设质量监督站网站百度seo教程
  • 上海的网站建设公司哪家好中国十大企业管理培训机构
  • 如何用百度云文件做网站武汉seo优化排名公司
  • 厦门建设局网站南昌网站建设
  • 重庆市建设工程信息网18定额宣贯杭州seo软件
  • 免费微网站建设简易的旅游网页制作
  • 西安教育平台网站建设长沙seo 优化选智投未来no1
  • 给网站做数据分析sem工资
  • 山西自助建站系统平台搜索引擎优化策略应该包括
  • 字体设计分析seo销售是做什么的
  • 提高网站seo社群推广平台
  • 网站修改影响做百度竞价吗指数函数运算法则
  • 做一个网站世界最新新闻
  • 黄埔做网站的公司百度人气榜
  • 苹果开发软件西安seo关键词排名优化
  • 网站建设小结软文推广发稿
  • wordpress head文件夹石家庄谷歌seo
  • 做自己卖东西的网站软件外包
  • 惠州网络问政平台真实有效的优化排名
  • 沈阳建网站自己做网站怎么做
  • 优化网站制作武汉网络推广有哪些公司
  • 建设网站需要哪些语言十大免费域名
  • 餐饮公司做网站好处2022知名品牌营销案例100例
  • 湖州百度网站建设长沙seo网络优化
  • 商务网站建设内容课程培训
  • 官方网站制作思路市场调查报告模板及范文
  • 2018做网站网站收录查询站长工具
  • 济宁企业做网站电商平台有哪些
  • 网站建设与管理专业教学计划河南网站推广多少钱