Vue project execution npm run dev Times error

D:Vue-Projectportdistancenode_modulesescape-string-regexp:1
(function (exports, require, module, _ _ filename, _ _ dirname) {_ escape-string-regexp@1.0.5@escape-string-regexp

                                                                               ^

SyntaxError: Invalid or unexpected token

at new Script (vm.js:73:7)
at createScript (vm.js:245:10)
at Object.runInThisContext (vm.js:297:10)
at Module._compile (internal/modules/cjs/loader.js:657:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)

npm err! Code ELIFECYCLE
npm err! Errno 1
npm err! Portdistance@1.0.0 dev: node build/dev-server.js
npm err! Exit status 1
npm err!
npm err! Failed at the portdistance@1.0.0 dev script.
npm err! This is probably not a problem with npm. There is likely additional logging output above.

npm err! A complete log of this run can be found in:
npm err! D:Developnodejsnode_cache_logs2018-09-10T09_15_22_861Z-debug.log

Jun.09,2021

try to modify your node version. It is recommended to use nvm


now the problem has been solved. Thank you


SyntaxError: Invalid or unexpected token this error means that there are syntax errors, more than a few} and so on. Do you have your own code before and after the error?


I also met. How did you solve it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb6480-25bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb6480-25bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?