سلام. من در پروژه لاراول ابتدا دستور (npm i) انجام دادم و سپس دستور ( npm run dev ) انجام دادم برای کامپایل scss و js ها ....
متاسفانه خطا برخورد می کنه و هر کار کردم رفع نشد...
بخشی از پیغام خطایی که نشون میده به صورت زیر هست:
Module build failed: Error: Missing binding D:laravel-samplemylaravel ode_modules ode-sassendorwin32-x64-64inding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to download the binding for your current environment.
at module.exports (D:laravel-samplemylaravel ode_modules ode-sasslibinding.js:15:13)
ممنون میشم اساتید راهنمایی کن ....
شاید پاسخ شما همینجا باشد
آره مهندس جان این کد اجرا کردم ... باز هم ارور دارم .... یعنی میره میگرده ببینه پایتون نصب هست یا نه ..... و بعد خطا میده ... اولش این پیام میاد و بعد میره سراغ اینکه ببینه پایتون نصب هست و چون نیست خطا میده ...
npm rebuild node-sass
> node-sass@4.9.2 install d:\laravel-sample\project\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.2/win32-x64-64_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.2/win32-x64-64_binding.node":
tunneling socket could not be established, statusCode=400
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass@4.9.2 postinstall d:\laravel-sample\project\node_modules\node-sass
> node scripts/build.js