Skip to content

Cannot find module '\node-gyp' #5

Open
@dpurge

Description

@dpurge

npm install -g vue-dashing-js
(...snip...)
Building: C:\Program Files\nodejs\node.exe node_modules\pangyp\bin\node-gyp rebuild --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
module.js:471
throw err;
^

Error: Cannot find module 'C:\Users\xxxx\AppData\Roaming\npm\node_modules\vue-dashing-js\node_modules\node-sass\node_modules\pangyp\bin\node-gyp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3
Build failed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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! C:\Users\xxxx\AppData\Roaming\npm-cache_logs\2017-12-28T13_32_04_000Z-debug.log

===

nodejs/node-gyp#1239
Quote: Since pangyp is deprecated, you (or node-sass) should stop using it.

===

https://www.npmjs.com/package/pangyp

This project was intended to be temporary and is now deprecated.

Please use https://github.com/nodejs/node-gyp v3 and above, it now supports everything that pangyp did but does it much better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions