I'm using Windows 7 64-bit. When I execute the command bower list from the command prompt, it shows the following errors:
D:\ng>bower list
bower check-new Checking for new versions of the project dependencies..
bower error Request to https://bower.herokuapp.com/packages/bootstrap fa
iled: 6512:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:o
penssl\ssl\s23_clnt.c:787:
Stack trace:
Error: Request to https://bower.herokuapp.com/packages/bootstrap failed: 6512:er
ror:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s2
3_clnt.c:787:
at createError (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bow
er\node_modules\bower-registry-client\lib\util\createError.js:2:15)
at Request._callback (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modul
es\bower\node_modules\bower-registry-client\lib\lookup.js:98:29)
at self.callback (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\b
ower\node_modules\bower-registry-client\node_modules\request\request.js:129:22)
at Request.EventEmitter.emit (events.js:95:17)
at Request.request.emit (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_mo
dules\bower\node_modules\bower-registry-client\node_modules\request-replay\index
.js:69:33)
at ClientRequest.self.clientErrorHandler (C:\Users\xxxxx.xxxxxxxx\AppData\Ro
aming\npm\node_modules\bower\node_modules\bower-registry-client\node_modules\req
uest\request.js:239:10)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at CleartextStream.socketErrorListener (http.js:1547:9)
at CleartextStream.EventEmitter.emit (events.js:95:17)
at SecurePair.<anonymous> (tls.js:1400:15)
Console trace:
Trace
at StandardRenderer.error (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_
modules\bower\lib\renderers\StandardRenderer.js:72:17)
at Logger.<anonymous> (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modu
les\bower\bin\bower:111:22)
at Logger.EventEmitter.emit (events.js:95:17)
at Logger.emit (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bow
er\node_modules\bower-logger\lib\Logger.js:29:39)
at C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bower\lib\comman
ds\index.js:40:20
at _rejected (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bower
\node_modules\q\q.js:797:24)
at C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bower\node_modul
es\q\q.js:823:30
at Promise.when (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bo
wer\node_modules\q\q.js:1035:31)
at Promise.promise.promiseDispatch (C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\
npm\node_modules\bower\node_modules\q\q.js:741:41)
at C:\Users\xxxxx.xxxxxxxx\AppData\Roaming\npm\node_modules\bower\node_modul
es\q\q.js:557:44
System info:
Bower version: 1.3.8
Node version: 0.10.28
OS: Windows_NT 6.1.7601 ia32
Does anyone know what causes this error?
Related
Attempting to install Dependencies for a project. yarn install and npm install both not working. (npm installis working on other projects.)
Running yarn install is returning the error:
Internal Error: Error when performing the request
at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\corepack\dist\corepack.js:16073:20)
at ClientRequest.emit (node:events:512:28)
at TLSSocket.socketErrorListener (node:_http_client:496:9)
at TLSSocket.emit (node:events:512:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
I'm not using a Proxy so any solutions I could find did not work for me.
Error: spawn /home/lanceloft/.nvm/versions/node/v6.11.0/lib/node_modules/slice2js/build/Release/slice2js ENOENT
at exports._errnoException (util.js:1018:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3
just do as like Official website demo,but npm install slice2js -g get wrong,
Error: Run "sh -c node-gyp rebuild" error, exit code 1
at ChildProcess.proc.on.code (/usr/lib/node_modules/cnpm/node_modules/runscript/index.js:65:21)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
but if I execution slice2js say the first error;
please help me
The problem is solved,Because a library file does not exist,
execute sudo apt-get install libssl-dev
Error: spawn ghc-mod ENOENT
PATH: /usr/bin:/bin:/usr/sbin:/sbin
path: undefined
Path: undefined
Hide Stack Trace
Error
at /Users/Mauritius/.atom/packages/haskell-ghc-mod/lib/ghc-mod/ghc-modi-process.coffee:60:28
at exithandler (child_process.js:222:5)
at ChildProcess.errorhandler (child_process.js:229:5)
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:441:9)
at process._tickCallback (node.js:355:17
i ran into this problem right now, what i have done is to go Atom , in the header press Atom ->Preferences then Package, for the ide-haskell package go to setting and set the path for stylish-haskell, then for haskell-ghc-mode package also set up ghc mod and ghc modi path
I'm trying to get my Karma Unit tests to run on a remote Jenkins server. This Jenkins server is running on Linux with an old version of PhantomJS already installed and PHANTOMJS_BIN defined in the env. I'm using the gulp-karma and karma-phantomjs-launcher-nonet packages to run the karma tests.
However, when jenkins fires Karma, it seems to be unable to spawn PhantomJS. I get the following error:
[13:33:00] Starting Karma server... [32mINFO [karma]: [39mKarma v0.12.37 server started at http://localhost:9876/ [32mINFO [launcher]: [39mStarting browser PhantomJS [31mERROR [karma]: [39m{ [Error: spawn EACCES] code: 'EACCES', errno: 'EACCES', syscall: 'spawn' } Error: spawn EACCES at exports._errnoException (util.js:874:11) at ChildProcess.spawn (internal/child_process.js:298:11) at exports.spawn (child_process.js:339:9) at Object._execCommand (/appl/jenkins/workspace/ps-lib/node_modules/karma/lib/launchers/process.js:63:21) at Object._start (/appl/jenkins/workspace/ps-lib/node_modules/karma-phantomjs-launcher-nonet/index.js:40:10) at Object. (/appl/jenkins/workspace/ps-lib/node_modules/karma/lib/launchers/process.js:14:10) at emitOne (events.js:82:20) at Object.emit (events.js:169:7) at Object.start (/appl/jenkins/workspace/ps-lib/node_modules/karma/lib/launchers/base.js:40:10) at /appl/jenkins/workspace/ps-lib/node_modules/karma/lib/launcher.js:88:15 at Array.forEach (native) at [object Object].launch (/appl/jenkins/workspace/ps-lib/node_modules/karma/lib/launcher.js:40:11) at [object Object].invoke (/appl/jenkins/workspace/ps-lib/node_modules/karma/node_modules/di/lib/injector.js:75:15) at Server. (/appl/jenkins/workspace/ps-lib/node_modules/karma/lib/server.js:62:18) at Server.g (events.js:260:16) at emitNone (events.js:72:20) at Server.emit (events.js:166:7) at emitListeningNT (net.js:1260:10) at doNTCallback1 (node.js:430:9) at process._tickCallback (node.js:352:17)
/appl/jenkins/workspace/ps-lib/tasks/test.js:15 throw err; ^
Error: karma exited with code 1
at done (/appl/jenkins/workspace/ps-lib/node_modules/gulp-karma/index.js:56:30)
at ChildProcess. (/appl/jenkins/workspace/ps-lib/node_modules/gulp-karma/index.js:82:7)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
So it seems to me that my karma is unable to run PhantomJS due to authorisation reasons, am I right? Still the phantomjs installation is done with user jenkins//jenkins so jenkins should be able to run it, right?
$ bower init --config.interactive
bower error Cannot read property 'substring' of undefined
Stack trace: TypeError: Cannot read property 'substring' of undefined
at Interface.rl._getCursorPos (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\node_modules\readline2\index.js:51:51)
at ScreenManager.render (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\utils\screen-manager.js:19:27)
at Prompt.render (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\prompts\input.js:75:15)
at Prompt._run (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\prompts\input.js:49:8)
at Prompt.run (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\prompts\base.js:57:8)
at Object. (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\ui\prompt.js:84:12)
at module.exports (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\node_modules\run-async\index.js:15:21)
at AnonymousObservable.__subscribe (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\utils\utils.js:16:7)
at AnonymousObservable.tryCatcher (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\node_modules\rx-lite\rx.lite.js:63:31)
at setDisposable (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\node_modules\rx-lite\rx.lite.js:5741:44)
Console trace: Error
at StandardRenderer.error (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\lib\renderers\StandardRenderer.js:82:37)
at Logger. (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\bin\bower:110:22)
at emitOne (events.js:77:13)
at Logger.emit (events.js:169:7)
at Logger.emit (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\bower-logger\lib\Logger.js:29:39)
at C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\lib\commands\index.js:48:20
at _rejected (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:844:24)
at C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:870:30
at Promise.when (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:1122:31)
at Promise.promise.promiseDispatch (C:\Users\dolap_000\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:788:41)
System info:
Bower version: 1.6.5
Node version: 5.0.0
OS: Windows_NT 10.0.10586 x64