Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Vue version mismatch

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces the example analysis of Vue version mismatch, which has a certain reference value, and interested friends can refer to it. I hope you will gain a lot after reading this article.

An error was encountered during npm run dev:

Because the vue version had already reached 2.9.2 at that time. Follow the prompts to update with no results. Later, due to the problem of the weex environment. Just patrol the following code

Weex xbind repair toolkit-repairweex repair

The problem that npm run dev cannot be started can be solved.

Add:

1. This problem occurs in npm install vue-template-compiler@2.5.3

Npm ERR! Path G:\ XXX.Web\ node_modules\ fsevents\ node_modules

Npm ERR! Code EPERM

Npm ERR! Errno-4048

Npm ERR! Syscall lstat

Npm ERR! Error: EPERM: operation not permitted, lstat'G:\ XXX.Web\ node_modules\ fsevents\ node_modules'

Npm ERR! {Error: EPERM: operation not permitted, lstat'G:\ XXX.Web\ node_modules\ fsevents\ node_modules'

Npm ERR! Stack: 'Error: EPERM: operation not permitted, lstat\' G:\\ XXX.Web\\ node_modules\\ fsevents\\ node_modules\'

Npm ERR! Errno:-4048

Npm ERR! Code: 'EPERM'

Npm ERR! Syscall: 'lstat'

Npm ERR! Path:'G:\\ XXX.Web\\ node_modules\ fsevents\\ node_modules'}

Npm ERR!

Npm ERR! Please try running this command again as root/Administrator.

Npm ERR! A complete log of this run can be found in:

Npm ERR! C:\ Users\ Administrator\ AppData\ Roaming\ npm-cache\ _ logs\ 2018-03-15T07_11_27_516Z-debug.log

Solution:

Npm install weex-toolkit-g

2 、 Error: EPERM: operation not permitted

Npm ERR! Error: EPERM: operation not permitted, scandir'G:\ XXX.Web\ node_modules\ fsevents\ node_modules\ getpass\ node_modules'

Npm ERR! {Error: EPERM: operation not permitted, scandir'G:\ XXX.Web\ node_modules\ fsevents\ node_modules\ getpass\ node_modules'

Npm ERR! Stack: 'Error: EPERM: operation not permitted, scandir\' G:\\ XXX.Web\\ node_modules\\ fsevents\\ node_modules\\ getpass\\ node_modules\'

Npm ERR! Errno:-4048

Npm ERR! Code: 'EPERM'

Npm ERR! Syscall: 'scandir'

Npm ERR! Path:'G:\\ XXX.Web\\ node_modules\\ fsevents\\ node_modules\ getpass\\ node_modules'}

Solution:

Npm cache clean-force Thank you for reading this article carefully. I hope the article "sample Analysis of Vue version mismatch" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report