دوستان من وقتی میخوام npm run watch بزنم این ارور رو میده چنیدن بارم حذف و نصب کردم دوباره همونو میده
SyntaxError: Unexpected token .
at NativeCompileCache._moduleCompile (/home/mobinroshnas/Desktop/HoloTech/node_modules/v8-compile-cache/v8-compile-cache.js:240:18)
at Module._compile (/home/mobinroshnas/Desktop/HoloTech/node_modules/v8-compile-cache/v8-compile-cache.js:186:36)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (/home/mobinroshnas/Desktop/HoloTech/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object.<anonymous> (/home/mobinroshnas/Desktop/HoloTech/node_modules/laravel-mix/setup/webpack.config.js:12:1)
at Module._compile (/home/mobinroshnas/Desktop/HoloTech/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (/home/mobinroshnas/Desktop/HoloTech/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/utils/convert-argv.js:114:13)
at requireConfig (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/utils/convert-argv.js:116:6)
at /home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/utils/convert-argv.js:123:17
at Array.forEach (<anonymous>)
at module.exports (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/utils/convert-argv.js:121:15)
at yargs.parse (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18)
at /home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack-cli/bin/cli.js:366:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/mobinroshnas/Desktop/HoloTech/node_modules/webpack/bin/webpack.js:156:2)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
npm ERR! Linux 5.3.0-46-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "development"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/mobinroshnas/Desktop/HoloTech/npm-debug.log
npm ERR! Linux 5.3.0-46-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'npm run development'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/mobinroshnas/Desktop/HoloTech/npm-debug.log
ممنون کمک کنید
سلام . از داخل php storm یا vs پاکش نکن . خودت برو از داخل فایل پروژه پاکش بکن و همون جا cmd رو باز کن و بزن npm install
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟