post install failing with typemoq
See original GitHub issue> typemoq@2.0.1 postinstall node_modules/typemoq
> postinstall-build dist
sh: 1: postinstall-build: not found
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! typemoq@2.0.1 postinstall: `postinstall-build dist`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the typemoq@2.0.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The above issue is occurring in our Jenkins build when doing npm install
, does anyone know why this would be occurring?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Typemoq and Angular-cli don't work together - Stack Overflow
I think my problem came from some inconsistent setup while moving from systemjs to webpack. Karma had problems remapping coverage of Javascript back...
Read more >typemoq - npm Package Health Analysis - Snyk
Learn more about typemoq: package health score, popularity, security, ... No known security issues ... Install the Snyk CLI and test your project...
Read more >Typemock 7.4.0 errors on VS2012,Win8.1(My post is not passe)
issue1: all test methods do not work step1: install typemock step2: Open my solution on VS2012 step3: Write some test methods with typemock....
Read more >typemoq - UNPKG
The CDN for typemoq. ... 4, * enable dynamic mocks to call failing invocation toString at error time #77 ... 109, * fix...
Read more >With TypeScript 3, you are already missing out when mocking ...
This post assumes you already know that. ... The same goes for typemoq . ... you use the returns function and wrap it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@florinn wrote on Apr 13, 2018:
Tried this but now running into the next issue: "Error: Cannot find module ‘./node_modules/typemoq/build/postinstall.js’
NPM version is 6.4.1. Nodejs version is 11.1.0. OS is Ubuntu 18.04.
@florinn This is not working for me either. Also running on AWS. I’m seeing the same error that @ManfredLange is when I try installing directly from GitHub like you recommended.