Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #20197
Closed
Open
Issue created Jun 28, 2016 by XhmikosR@XhmikosRContributor

`npm run jscs` fails on Windows

C:\Users\xmr\Desktop\bootstrap>npm run jscs

> bootstrap@4.0.0-alpha.2 jscs C:\Users\xmr\Desktop\bootstrap
> jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src docs/assets/js/ie*.js grunt Gruntfile.js

Error: Path docs/assets/js/ie*.js was not found.
    at .<anonymous> (C:\Users\xmr\Desktop\bootstrap\node_modules\jscs\lib\checker.js:185:19)
    at Array.<anonymous> (C:\Users\xmr\Desktop\bootstrap\node_modules\vow\lib\vow.js:712:39)
    at Immediate.callFns [as _onImmediate] (C:\Users\xmr\Desktop\bootstrap\node_modules\vow\lib\vow.js:23:35)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)

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" "run" "jscs"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! bootstrap@4.0.0-alpha.2 jscs: `jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src docs/assets/js/ie*.js grunt Gruntfile.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bootstrap@4.0.0-alpha.2 jscs script 'jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src docs/assets/js/ie*.js grunt Gruntfile.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 bootstrap package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src docs/assets/js/ie*.js grunt Gruntfile.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bootstrap
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bootstrap
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\xmr\Desktop\bootstrap\npm-debug.log

@cvrebert: why did you switch jscs from grunt-jscs to the standalone package? I mean, the current situation is a mess IMO. We use both standalone packages and grunt wrappers. As you can see, the standalone packages have issues.

Assignee
Assign to
Time tracking