assisrafael / assisrafael/angular-input-masks

"npm install" on windows error

Open
#121 12 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
955
Forks
329
PR merge metrics
No merged PRs in 30d

Description

I'm trying to 'npm install' this projects on windows, but i am getting this error:
Thank you in advance.

```
> angular-input-masks@2.1.0 prepublish C:\projects\angular-input-masks
> gulp build

[11:26:50] Using gulpfile C:\projects\angular-input-masks\gulpfile.js
[11:26:50] Starting 'build-dependencies'...
[11:26:51] Finished 'build-dependencies' after 1.09 s
[11:26:51] Starting 'build'...

events.js:72
throw er; // Unhandled 'error' event
^
Error: Cannot find module 'validators' from './src/'
at C:\projects\angular-input-masks\node_modules\browserify\node_modules\resolve\lib\async.js:46:17
at process (C:\projects\angular-input-masks\node_modules\browserify\node_modules\resolve\lib\async.js:173:43)
at ondir (C:\projects\angular-input-masks\node_modules\browserify\node_modules\resolve\lib\async.js:188:17)
at load (C:\projects\angular-input-masks\node_modules\browserify\node_modules\resolve\lib\async.js:69:43)
at onex (C:\projects\angular-input-masks\node_modules\browserify\node_modules\resolve\lib\async.js:92:31)
at C:\projects\angular-input-masks\node_modules\browserify\node_modules\resolve\lib\async.js:22:47
at Object.oncomplete (fs.js:107:15)

npm ERR! angular-input-masks@2.1.0 prepublish: `gulp build`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the angular-input-masks@2.1.0 prepublish script.
npm ERR! This is most likely a problem with the angular-input-masks package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build
npm ERR! You can get their info via:
npm ERR! npm owner ls angular-input-masks
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\projects\angular-input-masks
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\projects\angular-input-masks\npm-debug.log
npm ERR! not ok code 0
```
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26758781-npm-install-on-windows-error?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.