0
私はノード:6の公式画像からdockerコンテナを持っています。 私はこのプロジェクトしようとしたいと思います:https://github.com/mozilla/fxa-webrtc-idp
graceful-fsモジュールを最新のバージョンにアップグレードします
ノードのバージョンは、私がnpm test
をexecしたときに6.9.5 NPMのバージョンは3.10.10
であるが、これはappairsです:
[email protected]:/fxa-webrtc-idp# npm test
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~pretest: [email protected]
npm info lifecycle [email protected]~test: [email protected]
> [email protected] test /fxa-webrtc-idp
> LOG_LEVEL=error grunt test --node-env=test
(node:354) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Running "copyright:app" (copyright) task
Running "eslint:files" (eslint) task
Running "mochaTest:test" (mochaTest) task
the route /sign
✓ returns a 401 when the request is not authenticated
✓ returns a signed assertion when the request is authenticated
the route/
✓ should return version information
the route /__version__
✓ should return version information
4 passing (44ms)
Running "mochaTest:coverage" (mochaTest) task
Coverage Summary:
Name Stmts Miss Cover Missing
-----------------------------------------------------------
lib/app.js 22 0 100%
lib/logging/summary.js 14 3 79% 14,30,31
lib/routes/index.js 1 0 100%
lib/routes/oauthBegin.js 7 2 71% 20,25
lib/routes/oauthComplete.js 8 2 75% 18,24
lib/routes/sign.js 10 0 100%
lib/routes/verify.js 16 9 44% 14,23,26,27,29,31,32,35,37
lib/routes/version.js 52 8 85% 34,35,47,48,60,61,74,75
===========================================================
TOTAL 130 24 82%
Running "mochaTest:travis-cov" (mochaTest) task
Coverage: 81%
Code coverage below threshold: 81 < 95
Execution Time (2017-02-08 11:46:19 UTC)
loading tasks 1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 58%
eslint:files 432ms ▇▇▇▇▇▇▇▇▇▇▇▇ 25%
mochaTest:test 287ms ▇▇▇▇▇▇▇▇ 16%
Total 1.8s
npm info lifecycle [email protected]~test: Failed to exec test script
npm ERR! Test failed. See above for more details.
Iエグゼクティブnpm ls graceful-fs
これは何ですか?
[email protected]:/fxa-webrtc-idp# npm ls graceful-fs
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
[email protected] /fxa-webrtc-idp
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
`-- [email protected]
`-- [email protected]
`-- [email protected]
`-- [email protected]
`-- [email protected]
`-- [email protected]
npm info ok
問題を解決するにはどうすればよいですか?サポートありがとう
をインストールしてください、私は、NPMのテストを試してみたが、これは今appairsものです:module.js:471スローERR。 Error:Module.require(module.js:497:417)のFunction.Module._load(module.js:417:25)のFunction.Module._resolveFilename(module.js:469:15)でモジュール 'semver' 17)のrequire(internal/module.js:20:19)でのオブジェクトです。 (モジュール.js:570:32)のModule._compile((/usr/local/lib/node_modules/npm/lib/utils/unsupported.js:2:14)にあります。 js:579:10):Function.Module._load(module.js:438:3)のtryModuleLoad(module.js:446:12)のModule.load(module.js:487:32) – pier92
以下のリンクに従ってください同じエラーが発生しました。ありがとうhttp://stackoverflow.com/questions/33870520/npm-install-cannot-find-module-semver – sourabh