issue with graceful-fs

Re: issue with graceful-fs

by Dani Palou -
Number of replies: 7
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Marwan,

I guess there are 2 ways to solve this:

1- Update the modules that are giving you the errors.

2- Downgrade node to a previous version.

I'm using npm 2.9.0 and node 0.12.7 and everything works fine for me.

Kind regards,

Dani

Average of ratings: Useful (1)
In reply to Dani Palou

Re: issue with graceful-fs

by Marwan Salem -

Thank you !

But i am new in ionic and nodejs.....

I have the version which you told in previous message and i have still errors .....

1. can you tell me how to update theses depreciated modules from npm?

Your help will be appreciated.

BR,

Marwan

In reply to Dani Palou

Re: issue with graceful-fs

by Marwan Salem -

Dear Dani,


I did npm update in the same root of my app directory.

then npm outdated it gives me the same modules with its old version...

What can i do else to update?


Please answer me asap!

BR 

Marwan

In reply to Marwan Salem

Re: issue with graceful-fs

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Marwan,

that's weird, we never had so many problems with npm :S It usually works fine once you downgrade node to v0.12.7.

Please run the following command and tell me what it says:

node -v

Kind regards,

Dani

In reply to Marwan Salem

Re: issue with graceful-fs

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
In reply to Dani Palou

Re: issue with graceful-fs

by Marwan Salem -

dear Daniel,

Thank you for the link.

sorry, i don't respond you fast bcz i worked on other project....

i uninstalled v.0.12.7 and setup 4.0.0.

unfortunatly, it doesn't work. here the code which you can see the errors.....

----------------------------------------------------------------------------------------------------------------------------------------------------------



MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ rm -rf node_modules


MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm install

npm WARN package.json mm2@1.0.0 No repository field.

npm WARN package.json mm2@1.0.0 No license field.

npm WARN package.json Dependency 'gulp' exists in both dependencies and devDepen                                                                                                                dencies, using 'gulp@^3.5.6' from dependencies

npm WARN deprecated gulp-minify-css@0.3.13: Please use gulp-clean-css

npm WARN engine karma@0.12.37: wanted: {"node":">=0.8 <=0.12 || >=1 <=2"} (curre                                                                                                                nt: {"node":"4.0.0","npm":"2.14.2"})

npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade                                                                                                                 to lodash@^4.0.0.

npm WARN optional dep failed, continuing fsevents@1.0.12

npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.


> ws@0.4.32 install D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\soc                                                                                                                ket.io\node_modules\socket.io-client\node_modules\ws

> (node-gyp rebuild 2> builderror.log) || (exit 0)



D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\socket.io\node_modules\                                                                                                                socket.io-client\node_modules\ws>if not defined npm_config_node_gyp (node "C:\Pr                                                                                                                ogram Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gy                                                                                                                p\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\                                                                                                                socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\                                                                                                                socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]

npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm a                                                                                                                nd is now out of date with respect to npm

npm WARN deprecated pangyp@2.3.3: use node-gyp@3+ instead

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install th                                                                                                                e latest version of pug instead of jade

npm WARN peerDependencies The peer dependency continuation-local-storage@~3 incl                                                                                                                uded from cls-bluebird will no

npm WARN peerDependencies longer be automatically installed to fulfill the peerD                                                                                                                ependency

npm WARN peerDependencies in npm 3+. Your application will need to depend on it                                                                                                                 explicitly.

npm WARN peerDependencies The peer dependency bluebird@>=1.0.3 included from cls                                                                                                                -bluebird will no

npm WARN peerDependencies longer be automatically installed to fulfill the peerD                                                                                                                ependency

npm WARN peerDependencies in npm 3+. Your application will need to depend on it                                                                                                                 explicitly.


> bufferutil@1.2.1 install D:\iStudentEDS\ismobile3\node_modules\protractor\node                                                                                                                _modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil

> node-gyp rebuild



D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selenium-webdriver                                                                                                                \node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (nod                                                                                                                e "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules                                                                                                                \node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\protractor\node_mod                                                                                                                ules\selenium-webdriver\node_modules\ws\node_modules\bufferutil\build\binding.sl                                                                                                                n]

gyp ERR! build error

gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe                                                                                                                ` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\                                                                                                                npm\node_modules\node-gyp\lib\build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej                                                                                                                s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selen                                                                                                                ium-webdriver\node_modules\ws\node_modules\bufferutil

gyp ERR! node -v v4.0.0

gyp ERR! node-gyp -v v3.0.1

gyp ERR! not ok


> utf-8-validate@1.2.1 install D:\iStudentEDS\ismobile3\node_modules\protractor\                                                                                                                node_modules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate

> node-gyp rebuild



D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selenium-webdriver                                                                                                                \node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp                                                                                                                 (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_mod                                                                                                                ules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\protractor\node_mod                                                                                                                ules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate\build\bindin                                                                                                                g.sln]

gyp ERR! build error

gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe                                                                                                                ` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\                                                                                                                npm\node_modules\node-gyp\lib\build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej                                                                                                                s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selen                                                                                                                ium-webdriver\node_modules\ws\node_modules\utf-8-validate

gyp ERR! node -v v4.0.0

gyp ERR! node-gyp -v v3.0.1

gyp ERR! not ok

npm WARN optional dep failed, continuing bufferutil@1.2.1


> node-sass@2.1.1 install D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_m                                                                                                                odules\node-sass

> node scripts/install.js


Can not download file from https://raw.githubusercontent.com/sass/node-sass-bina                                                                                                                ries/v2.1.1/win32-x64-node-4.0/binding.node

npm WARN optional dep failed, continuing utf-8-validate@1.2.1


> node-sass@2.1.1 postinstall D:\iStudentEDS\ismobile3\node_modules\gulp-sass\no                                                                                                                de_modules\node-sass

> node scripts/build.js


gyp: C:\Users\MELAS\.node-gyp\4.0.0\common.gypi not found (cwd: D:\iStudentEDS\i                                                                                                                smobile3\node_modules\gulp-sass\node_modules\node-sass) while reading includes o                                                                                                                f binding.gyp while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onCpExit (D:\iStudentEDS\ismobile3\node_modul                                                                                                                es\gulp-sass\node_modules\node-sass\node_modules\pangyp\lib\configure.js:346:16)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\iStudentEDS\\ismobil                                                                                                                e3\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\pangyp\\bin\                                                                                                                \node-gyp" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_modules\node-s                                                                                                                ass

gyp ERR! node -v v4.0.0

gyp ERR! pangyp -v v2.3.3

gyp ERR! not ok

Build failed


> appium-chromedriver@2.9.2 install D:\iStudentEDS\ismobile3\node_modules\appium                                                                                                                \node_modules\appium-android-driver\node_modules\appium-chromedriver

> node install-npm.js


info Chromedriver Install Installing Chromedriver version '2.21' for platform 'w                                                                                                                in' and architecture '32'

info Chromedriver Install Opening temp file to write chromedriver_win32 to...

info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com                                                                                                                /2.21/chromedriver_win32.zip...

info Chromedriver Install Writing binary content to C:\Users\MELAS\AppData\Local                                                                                                                \Temp\201659-5296-cc3h0u\chromedriver_win32.zip...

info Chromedriver Install Extracting C:\Users\MELAS\AppData\Local\Temp\201659-52                                                                                                                96-cc3h0u\chromedriver_win32.zip to C:\Users\MELAS\AppData\Local\Temp\201659-529                                                                                                                6-cc3h0u\chromedriver_win32

info Chromedriver Install Creating D:\iStudentEDS\ismobile3\node_modules\appium\                                                                                                                node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriver                                                                                                                \win...

info Chromedriver Install Copying unzipped binary, reading from C:\Users\MELAS\A                                                                                                                ppData\Local\Temp\201659-5296-cc3h0u\chromedriver_win32\chromedriver.exe...

info Chromedriver Install Writing to D:\iStudentEDS\ismobile3\node_modules\appiu                                                                                                                m\node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriv                                                                                                                er\win\chromedriver.exe...

info Chromedriver Install D:\iStudentEDS\ismobile3\node_modules\appium\node_modu                                                                                                                les\appium-android-driver\node_modules\appium-chromedriver\chromedriver\win\chro                                                                                                                medriver.exe successfully put in place


> appium-selendroid-driver@1.3.4 install D:\iStudentEDS\ismobile3\node_modules\a                                                                                                                ppium\node_modules\appium-selendroid-driver

> node ./bin/install.js


dbug AndroidDriver Getting Java version

info SelendroidInstaller Ensuring D:\iStudentEDS\ismobile3\node_modules\appium\n                                                                                                                ode_modules\appium-selendroid-driver\node_modules\appium-selendroid-installer\se                                                                                                                lendroid\download exists

info SelendroidInstaller Downloading Selendroid standalone server version 0.17.0                                                                                                                 from https://github.com/selendroid/selendroid/releases/download/0.17.0/selendro                                                                                                                id-standalone-0.17.0-with-dependencies.jar --> D:\iStudentEDS\ismobile3\node_mod                                                                                                                ules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid                                                                                                                -installer\selendroid\download\selendroid-server.jar

info AndroidDriver Java version is: 1.8.0_91

info SelendroidInstaller Writing binary content to D:\iStudentEDS\ismobile3\node                                                                                                                _modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selend                                                                                                                roid-installer\selendroid\download\selendroid-server.jar

info SelendroidInstaller Selendroid standalone server downloaded

info SelendroidInstaller Determining AndroidManifest location

Error: Command 'jar tf D:\\iStudentEDS\\ismobile3\\node_modules\\appium\\node_mo                                                                                                                dules\\appium-selendroid-driver\\node_modules\\appium-selendroid-installer\\sele                                                                                                                ndroid\\download\\selendroid-server.jar' errored out: Error: spawn jar ENOENT

    at exports._errnoException (util.js:837:11)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)

    at onErrorNT (internal/child_process.js:344:16)

    at doNTCallback2 (node.js:429:9)

    at process._tickCallback (node.js:343:17)

    at ChildProcess.<anonymous> (lib/teen_process.js:31:14)

    at emitOne (events.js:77:13)

    at ChildProcess.emit (events.js:169:7)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

    at onErrorNT (internal/child_process.js:344:16)

    at doNTCallback2 (node.js:429:9)

    at process._tickCallback (node.js:343:17)

npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\                                                                                                                node_modules\\npm\\bin\\npm-cli.js" "install"

npm ERR! node v4.0.0

npm ERR! npm  v2.14.2

npm ERR! code ELIFECYCLE


npm ERR! appium-selendroid-driver@1.3.4 install: `node ./bin/install.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the appium-selendroid-driver@1.3.4 install script 'node ./bin                                                                                                                /install.js'.

npm ERR! This is most likely a problem with the appium-selendroid-driver package                                                                                                                ,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     node ./bin/install.js

npm ERR! You can get their info via:

npm ERR!     npm owner ls appium-selendroid-driver

npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:

npm ERR!     D:\iStudentEDS\ismobile3\npm-debug.log


MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm uninstall gulp-sass node-sass

npm WARN uninstall not installed in D:\iStudentEDS\ismobile3\node_modules: "node                                                                                                                -sass"

unbuild gulp-sass@1.3.3


MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm install node-sass@1.0.3

npm WARN package.json mm2@1.0.0 No repository field.

npm WARN package.json mm2@1.0.0 No license field.

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install th                                                                                                                e latest version of pug instead of jade

npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.


> node-sass@1.0.3 install D:\iStudentEDS\ismobile3\node_modules\node-sass

> node build.js


(node) child_process: options.customFds option is deprecated. Use options.stdio                                                                                                                 instead.


D:\iStudentEDS\ismobile3\node_modules\node-sass>if not defined npm_config_node_g                                                                                                                yp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_                                                                                                                modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\node-sass\build\bin                                                                                                                ding.sln]

gyp ERR! build error

gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe                                                                                                                ` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\                                                                                                                npm\node_modules\node-gyp\lib\build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej                                                                                                                s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\node-sass

gyp ERR! node -v v4.0.0

gyp ERR! node-gyp -v v3.0.1

gyp ERR! not ok

Build failed

npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\                                                                                                                node_modules\\npm\\bin\\npm-cli.js" "install" "node-sass@1.0.3"

npm ERR! node v4.0.0

npm ERR! npm  v2.14.2

npm ERR! code ELIFECYCLE


npm ERR! node-sass@1.0.3 install: `node build.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the node-sass@1.0.3 install script 'node build.js'.

npm ERR! This is most likely a problem with the node-sass package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     node build.js

npm ERR! You can get their info via:

npm ERR!     npm owner ls node-sass

npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:

npm ERR!     D:\iStudentEDS\ismobile3\npm-debug.log


MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm install gulp-sass

npm WARN package.json mm2@1.0.0 No repository field.

npm WARN package.json mm2@1.0.0 No license field.

npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm a                                                                                                                nd is now out of date with respect to npm

npm WARN deprecated pangyp@2.3.3: use node-gyp@3+ instead

npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade                                                                                                                 to lodash@^4.0.0.

npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install th                                                                                                                e latest version of pug instead of jade

npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.


> node-sass@2.1.1 install D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_m                                                                                                                odules\node-sass

> node scripts/install.js


Can not download file from https://raw.githubusercontent.com/sass/node-sass-bina                                                                                                                ries/v2.1.1/win32-x64-node-4.0/binding.node


> node-sass@2.1.1 postinstall D:\iStudentEDS\ismobile3\node_modules\gulp-sass\no                                                                                                                de_modules\node-sass

> node scripts/build.js


gyp: C:\Users\MELAS\.node-gyp\4.0.0\common.gypi not found (cwd: D:\iStudentEDS\i                                                                                                                smobile3\node_modules\gulp-sass\node_modules\node-sass) while reading includes o                                                                                                                f binding.gyp while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onCpExit (D:\iStudentEDS\ismobile3\node_modul                                                                                                                es\gulp-sass\node_modules\node-sass\node_modules\pangyp\lib\configure.js:346:16)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\iStudentEDS\\ismobil                                                                                                                e3\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\pangyp\\bin\                                                                                                                \node-gyp" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_modules\node-s                                                                                                                ass

gyp ERR! node -v v4.0.0

gyp ERR! pangyp -v v2.3.3

gyp ERR! not ok

Build failed

gulp-sass@1.3.3 node_modules\gulp-sass

├── clone@0.1.19

├── map-stream@0.1.0

├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)

├── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.2, lodash._reescape@3.0.                                                                                                                0, beeper@1.1.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, object-a                                                                                                                ssign@3.0.0, replace-ext@0.0.1, minimist@1.2.0, fancy-log@1.2.0, has-gulplog@0.1                                                                                                                .0, gulplog@1.0.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, through2@2.0                                                                                                                .1, multipipe@0.1.2, dateformat@1.0.12)

└── node-sass@2.1.1 (get-stdin@4.0.1, object-assign@2.1.1, replace-ext@0.0.1, ch                                                                                                                alk@0.5.1, cross-spawn@0.2.9, mkdirp@0.5.1, semver@4.3.6, npmconf@2.1.2, meow@3.                                                                                                                7.0, nan@1.9.0, gaze@0.5.2, sass-graph@1.3.0, request@2.72.0, mocha@2.5.3, pangy                                                                                                                p@2.3.3)


thanks and regards,

Marwan

In reply to Dani Palou

Re: issue with graceful-fs

by Marwan Salem -

dear Daniel,

Thank you for the link.

sorry, i don't respond you fast bcz i worked on other project....

i uninstalled v.0.12.7 and setup 4.0.0.

unfortunatly, it doesn't work. here the code which you can see the errors.....

----------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ rm -rf node_modules

 

MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm install

npm WARN package.json mm2@1.0.0 No repository field.

npm WARN package.json mm2@1.0.0 No license field.

npm WARN package.json Dependency 'gulp' exists in both dependencies and devDepen                                                                                                                dencies, using 'gulp@^3.5.6' from dependencies

npm WARN deprecated gulp-minify-css@0.3.13: Please use gulp-clean-css

npm WARN engine karma@0.12.37: wanted: {"node":">=0.8 <=0.12 || >=1 <=2"} (curre                                                                                                                nt: {"node":"4.0.0","npm":"2.14.2"})

npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade                                                                                                                 to lodash@^4.0.0.

npm WARN optional dep failed, continuing fsevents@1.0.12

npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

 

> ws@0.4.32 install D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\soc                                                                                                                ket.io\node_modules\socket.io-client\node_modules\ws

> (node-gyp rebuild 2> builderror.log) || (exit 0)

 

 

D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\socket.io\node_modules\                                                                                                                socket.io-client\node_modules\ws>if not defined npm_config_node_gyp (node "C:\Pr                                                                                                                ogram Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gy                                                                                                                p\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\                                                                                                                socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\karma\node_modules\                                                                                                                socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]

npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm a                                                                                                                nd is now out of date with respect to npm

npm WARN deprecated pangyp@2.3.3: use node-gyp@3+ instead

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install th                                                                                                                e latest version of pug instead of jade

npm WARN peerDependencies The peer dependency continuation-local-storage@~3 incl                                                                                                                uded from cls-bluebird will no

npm WARN peerDependencies longer be automatically installed to fulfill the peerD                                                                                                                ependency

npm WARN peerDependencies in npm 3+. Your application will need to depend on it                                                                                                                 explicitly.

npm WARN peerDependencies The peer dependency bluebird@>=1.0.3 included from cls                                                                                                                -bluebird will no

npm WARN peerDependencies longer be automatically installed to fulfill the peerD                                                                                                                ependency

npm WARN peerDependencies in npm 3+. Your application will need to depend on it                                                                                                                 explicitly.

 

> bufferutil@1.2.1 install D:\iStudentEDS\ismobile3\node_modules\protractor\node                                                                                                                _modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil

> node-gyp rebuild

 

 

D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selenium-webdriver                                                                                                                \node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (nod                                                                                                                e "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules                                                                                                                \node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\protractor\node_mod                                                                                                                ules\selenium-webdriver\node_modules\ws\node_modules\bufferutil\build\binding.sl                                                                                                                n]

gyp ERR! build error

gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe                                                                                                                ` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\                                                                                                                npm\node_modules\node-gyp\lib\build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej                                                                                                                s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selen                                                                                                                ium-webdriver\node_modules\ws\node_modules\bufferutil

gyp ERR! node -v v4.0.0

gyp ERR! node-gyp -v v3.0.1

gyp ERR! not ok

 

> utf-8-validate@1.2.1 install D:\iStudentEDS\ismobile3\node_modules\protractor\                                                                                                                node_modules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate

> node-gyp rebuild

 

 

D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selenium-webdriver                                                                                                                \node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp                                                                                                                 (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_mod                                                                                                                ules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\protractor\node_mod                                                                                                                ules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate\build\bindin                                                                                                                g.sln]

gyp ERR! build error

gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe                                                                                                                ` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\                                                                                                                npm\node_modules\node-gyp\lib\build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej                                                                                                                s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\protractor\node_modules\selen                                                                                                                ium-webdriver\node_modules\ws\node_modules\utf-8-validate

gyp ERR! node -v v4.0.0

gyp ERR! node-gyp -v v3.0.1

gyp ERR! not ok

npm WARN optional dep failed, continuing bufferutil@1.2.1

 

> node-sass@2.1.1 install D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_m                                                                                                                odules\node-sass

> node scripts/install.js

 

Can not download file from https://raw.githubusercontent.com/sass/node-sass-bina                                                                                                                ries/v2.1.1/win32-x64-node-4.0/binding.node

npm WARN optional dep failed, continuing utf-8-validate@1.2.1

 

> node-sass@2.1.1 postinstall D:\iStudentEDS\ismobile3\node_modules\gulp-sass\no                                                                                                                de_modules\node-sass

> node scripts/build.js

 

gyp: C:\Users\MELAS\.node-gyp\4.0.0\common.gypi not found (cwd: D:\iStudentEDS\i                                                                                                                smobile3\node_modules\gulp-sass\node_modules\node-sass) while reading includes o                                                                                                                f binding.gyp while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onCpExit (D:\iStudentEDS\ismobile3\node_modul                                                                                                                es\gulp-sass\node_modules\node-sass\node_modules\pangyp\lib\configure.js:346:16)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\iStudentEDS\\ismobil                                                                                                                e3\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\pangyp\\bin\                                                                                                                \node-gyp" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_modules\node-s                                                                                                                ass

gyp ERR! node -v v4.0.0

gyp ERR! pangyp -v v2.3.3

gyp ERR! not ok

Build failed

 

> appium-chromedriver@2.9.2 install D:\iStudentEDS\ismobile3\node_modules\appium                                                                                                                \node_modules\appium-android-driver\node_modules\appium-chromedriver

> node install-npm.js

 

info Chromedriver Install Installing Chromedriver version '2.21' for platform 'w                                                                                                                in' and architecture '32'

info Chromedriver Install Opening temp file to write chromedriver_win32 to...

info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com                                                                                                                /2.21/chromedriver_win32.zip...

info Chromedriver Install Writing binary content to C:\Users\MELAS\AppData\Local                                                                                                                \Temp\201659-5296-cc3h0u\chromedriver_win32.zip...

info Chromedriver Install Extracting C:\Users\MELAS\AppData\Local\Temp\201659-52                                                                                                                96-cc3h0u\chromedriver_win32.zip to C:\Users\MELAS\AppData\Local\Temp\201659-529                                                                                                                6-cc3h0u\chromedriver_win32

info Chromedriver Install Creating D:\iStudentEDS\ismobile3\node_modules\appium\                                                                                                                node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriver                                                                                                                \win...

info Chromedriver Install Copying unzipped binary, reading from C:\Users\MELAS\A                                                                                                                ppData\Local\Temp\201659-5296-cc3h0u\chromedriver_win32\chromedriver.exe...

info Chromedriver Install Writing to D:\iStudentEDS\ismobile3\node_modules\appiu                                                                                                                m\node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriv                                                                                                                er\win\chromedriver.exe...

info Chromedriver Install D:\iStudentEDS\ismobile3\node_modules\appium\node_modu                                                                                                                les\appium-android-driver\node_modules\appium-chromedriver\chromedriver\win\chro                                                                                                                medriver.exe successfully put in place

 

> appium-selendroid-driver@1.3.4 install D:\iStudentEDS\ismobile3\node_modules\a                                                                                                                ppium\node_modules\appium-selendroid-driver

> node ./bin/install.js

 

dbug AndroidDriver Getting Java version

info SelendroidInstaller Ensuring D:\iStudentEDS\ismobile3\node_modules\appium\n                                                                                                                ode_modules\appium-selendroid-driver\node_modules\appium-selendroid-installer\se                                                                                                                lendroid\download exists

info SelendroidInstaller Downloading Selendroid standalone server version 0.17.0                                                                                                                 from https://github.com/selendroid/selendroid/releases/download/0.17.0/selendro                                                                                                                id-standalone-0.17.0-with-dependencies.jar --> D:\iStudentEDS\ismobile3\node_mod                                                                                                                ules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid                                                                                                                -installer\selendroid\download\selendroid-server.jar

info AndroidDriver Java version is: 1.8.0_91

info SelendroidInstaller Writing binary content to D:\iStudentEDS\ismobile3\node                                                                                                                _modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selend                                                                                                                roid-installer\selendroid\download\selendroid-server.jar

info SelendroidInstaller Selendroid standalone server downloaded

info SelendroidInstaller Determining AndroidManifest location

Error: Command 'jar tf D:\\iStudentEDS\\ismobile3\\node_modules\\appium\\node_mo                                                                                                                dules\\appium-selendroid-driver\\node_modules\\appium-selendroid-installer\\sele                                                                                                                ndroid\\download\\selendroid-server.jar' errored out: Error: spawn jar ENOENT

    at exports._errnoException (util.js:837:11)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)

    at onErrorNT (internal/child_process.js:344:16)

    at doNTCallback2 (node.js:429:9)

    at process._tickCallback (node.js:343:17)

    at ChildProcess.<anonymous> (lib/teen_process.js:31:14)

    at emitOne (events.js:77:13)

    at ChildProcess.emit (events.js:169:7)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

    at onErrorNT (internal/child_process.js:344:16)

    at doNTCallback2 (node.js:429:9)

    at process._tickCallback (node.js:343:17)

npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\                                                                                                                node_modules\\npm\\bin\\npm-cli.js" "install"

npm ERR! node v4.0.0

npm ERR! npm  v2.14.2

npm ERR! code ELIFECYCLE

 

npm ERR! appium-selendroid-driver@1.3.4 install: `node ./bin/install.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the appium-selendroid-driver@1.3.4 install script 'node ./bin                                                                                                                /install.js'.

npm ERR! This is most likely a problem with the appium-selendroid-driver package                                                                                                                ,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     node ./bin/install.js

npm ERR! You can get their info via:

npm ERR!     npm owner ls appium-selendroid-driver

npm ERR! There is likely additional logging output above.

 

npm ERR! Please include the following file with any support request:

npm ERR!     D:\iStudentEDS\ismobile3\npm-debug.log

 

MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm uninstall gulp-sass node-sass

npm WARN uninstall not installed in D:\iStudentEDS\ismobile3\node_modules: "node                                                                                                                -sass"

unbuild gulp-sass@1.3.3

 

MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm install node-sass@1.0.3

npm WARN package.json mm2@1.0.0 No repository field.

npm WARN package.json mm2@1.0.0 No license field.

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install th                                                                                                                e latest version of pug instead of jade

npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

 

> node-sass@1.0.3 install D:\iStudentEDS\ismobile3\node_modules\node-sass

> node build.js

 

(node) child_process: options.customFds option is deprecated. Use options.stdio                                                                                                                 instead.

 

D:\iStudentEDS\ismobile3\node_modules\node-sass>if not defined npm_config_node_g                                                                                                                yp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_                                                                                                                modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                                                                                                 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual                                                                                                                 Studio 2005 or 3) add the location of the component to the system path if it is                                                                                                                 installed elsewhere.  [D:\iStudentEDS\ismobile3\node_modules\node-sass\build\bin                                                                                                                ding.sln]

gyp ERR! build error

gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe                                                                                                                ` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\                                                                                                                npm\node_modules\node-gyp\lib\build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej                                                                                                                s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\node-sass

gyp ERR! node -v v4.0.0

gyp ERR! node-gyp -v v3.0.1

gyp ERR! not ok

Build failed

npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\                                                                                                                node_modules\\npm\\bin\\npm-cli.js" "install" "node-sass@1.0.3"

npm ERR! node v4.0.0

npm ERR! npm  v2.14.2

npm ERR! code ELIFECYCLE

 

npm ERR! node-sass@1.0.3 install: `node build.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the node-sass@1.0.3 install script 'node build.js'.

npm ERR! This is most likely a problem with the node-sass package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     node build.js

npm ERR! You can get their info via:

npm ERR!     npm owner ls node-sass

npm ERR! There is likely additional logging output above.

 

npm ERR! Please include the following file with any support request:

npm ERR!     D:\iStudentEDS\ismobile3\npm-debug.log

 

MELAS@MELAS-PC MINGW64 /d/iStudentEDS/ismobile3

$ npm install gulp-sass

npm WARN package.json mm2@1.0.0 No repository field.

npm WARN package.json mm2@1.0.0 No license field.

npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm a                                                                                                                nd is now out of date with respect to npm

npm WARN deprecated pangyp@2.3.3: use node-gyp@3+ instead

npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade                                                                                                                 to lodash@^4.0.0.

npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install th                                                                                                                e latest version of pug instead of jade

npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail o                                                                                                                n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible                                                                                                                . Use 'npm ls graceful-fs' to find it in the tree.

 

> node-sass@2.1.1 install D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_m                                                                                                                odules\node-sass

> node scripts/install.js

 

Can not download file from https://raw.githubusercontent.com/sass/node-sass-bina                                                                                                                ries/v2.1.1/win32-x64-node-4.0/binding.node

 

> node-sass@2.1.1 postinstall D:\iStudentEDS\ismobile3\node_modules\gulp-sass\no                                                                                                                de_modules\node-sass

> node scripts/build.js

 

gyp: C:\Users\MELAS\.node-gyp\4.0.0\common.gypi not found (cwd: D:\iStudentEDS\i                                                                                                                smobile3\node_modules\gulp-sass\node_modules\node-sass) while reading includes o                                                                                                                f binding.gyp while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onCpExit (D:\iStudentEDS\ismobile3\node_modul                                                                                                                es\gulp-sass\node_modules\node-sass\node_modules\pangyp\lib\configure.js:346:16)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                s.js:200:12)

gyp ERR! System Windows_NT 6.1.7601

gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\iStudentEDS\\ismobil                                                                                                                e3\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\pangyp\\bin\                                                                                                                \node-gyp" "rebuild"

gyp ERR! cwd D:\iStudentEDS\ismobile3\node_modules\gulp-sass\node_modules\node-s                                                                                                                ass

gyp ERR! node -v v4.0.0

gyp ERR! pangyp -v v2.3.3

gyp ERR! not ok

Build failed

gulp-sass@1.3.3 node_modules\gulp-sass

├── clone@0.1.19

├── map-stream@0.1.0

├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)

├── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.2, lodash._reescape@3.0.                                                                                                                0, beeper@1.1.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, object-a                                                                                                                ssign@3.0.0, replace-ext@0.0.1, minimist@1.2.0, fancy-log@1.2.0, has-gulplog@0.1                                                                                                                .0, gulplog@1.0.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, through2@2.0                                                                                                                .1, multipipe@0.1.2, dateformat@1.0.12)

└── node-sass@2.1.1 (get-stdin@4.0.1, object-assign@2.1.1, replace-ext@0.0.1, ch                                                                                                                alk@0.5.1, cross-spawn@0.2.9, mkdirp@0.5.1, semver@4.3.6, npmconf@2.1.2, meow@3.                                                                                                                7.0, nan@1.9.0, gaze@0.5.2, sass-graph@1.3.0, request@2.72.0, mocha@2.5.3, pangy                                                                                                                p@2.3.3)

 

thanks and regards,

Marwan


In reply to Marwan Salem

Re: issue with graceful-fs

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Marwan,

I don't know why it's failing and I don't have a Windows to test. We know some people that made it work on Windows so it should be working using node v0.12.7. Let's hope someone else can give you a solution sad

Kind regards,

Dani