Get the App
SLTechnology News&Howtos  ›  Development  › 

Example Analysis of Vue version mismatch

Shulou Source: shulou.com Published: 2022-06-03 17:48:52 10月27日 Update

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!

Tags: Questions versions articles examples analysis methods code value interests at the same time more friends environment knowledge editing industry information information channels errors channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info vpn Apple OPPO Reno