Created
November 16, 2023 14:22
-
-
Save csuwildcat/06f3a1eeb9243c4a009196768c165f99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm run test:browser | |
> @web5/api@0.8.2 test:browser | |
> karma start karma.conf.cjs | |
START: | |
16 11 2023 08:21:44.758:INFO [esbuild]: Compiling to C:\Users\DANIEL~1\AppData\Local\Temp\6e4f1eb204b7584be7b660a3b65c3a40-bundle.js... | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/did-api.spec.ts:2:33: | |
2 │ ...rt { TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/local-only.spec.ts:7:33: | |
7 │ ...rt { TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/dids" | |
tests/web5.spec.ts:2:29: | |
2 │ import { DidIonMethod } from '@web5/dids'; | |
╵ ~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/dids/package.json:50:16: | |
50 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/dids" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/vc-api.spec.ts:2:33: | |
2 │ ...rt { TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/dwn-api.spec.ts:5:33: | |
5 │ ...rt { TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/protocol.spec.ts:6:33: | |
6 │ ...rt { TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/dids" | |
tests/record.spec.ts:12:34: | |
12 │ ...t { utils as didUtils } from '@web5/dids'; | |
╵ ~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/dids/package.json:50:16: | |
50 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/dids" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/common" | |
src/utils.ts:1:41: | |
1 │ ...ert, universalTypeOf } from '@web5/common'; | |
╵ ~~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/common/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/common" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "fs" | |
tests/local-only.spec.ts:4:19: | |
4 │ const fs = require('fs').promises; | |
╵ ~~~~ | |
The package "fs" wasn't found on the file system but | |
is built into node. Are you trying to bundle for node? | |
You can use "platform: 'node'" to do that, which will | |
remove this error. | |
X [ERROR] Could not resolve "@web5/dids" | |
src/tech-preview.ts:1:34: | |
1 │ ...rt { utils as didUtils } from '@web5/dids'; | |
╵ ~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/dids/package.json:50:16: | |
50 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/dids" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/common" | |
tests/web5.spec.ts:3:28: | |
3 │ import { MemoryStore } from '@web5/common'; | |
╵ ~~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/common/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/common" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/dids" | |
tests/utils/test-user-agent.ts:23:7: | |
23 │ } from '@web5/dids'; | |
╵ ~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/dids/package.json:50:16: | |
50 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/dids" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/common" | |
src/dwn-api.ts:16:30: | |
16 │ import { isEmptyObject } from '@web5/common'; | |
╵ ~~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/common/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/common" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/record.spec.ts:13:33: | |
13 │ ...t { TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/web5.spec.ts:4:47: | |
4 │ ...ult, TestManagedAgent } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/agent" | |
tests/utils/test-user-agent.ts:33:7: | |
33 │ } from '@web5/agent'; | |
╵ ~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/agent" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/user-agent" | |
src/web5.ts:4:30: | |
4 │ ... { Web5UserAgent } from '@web5/user-agent'; | |
╵ ~~~~~~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/user-agent/package.json:49:16: | |
49 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/user-agent" as external | |
to exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/dids" | |
src/web5.ts:10:29: | |
10 │ import { DidIonMethod } from '@web5/dids'; | |
╵ ~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/dids/package.json:50:16: | |
50 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/dids" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
X [ERROR] Could not resolve "@web5/crypto" | |
tests/utils/test-data-generator.ts:1:37: | |
1 │ ...utils as cryptoUtils } from '@web5/crypto'; | |
╵ ~~~~~~~~~~~~~~ | |
The module "./dist/esm/index.js" was not found on the | |
file system: | |
../../node_modules/@web5/crypto/package.json:50:16: | |
50 │ "import": "./dist/esm/index.js", | |
╵ ~~~~~~~~~~~~~~~~~~~~~ | |
You can mark the path "@web5/crypto" as external to | |
exclude it from the bundle, which will remove this | |
error. | |
16 11 2023 08:21:46.286:ERROR [esbuild]: Build failed with 19 errors: | |
src/dwn-api.ts:16:30: ERROR: Could not resolve "@web5/common" | |
src/tech-preview.ts:1:34: ERROR: Could not resolve "@web5/dids" | |
src/utils.ts:1:41: ERROR: Could not resolve "@web5/common" | |
src/web5.ts:4:30: ERROR: Could not resolve "@web5/user-agent" | |
src/web5.ts:10:29: ERROR: Could not resolve "@web5/dids" | |
... | |
16 11 2023 08:21:46.288:INFO [esbuild]: Compiling done (1s) | |
16 11 2023 08:21:46.292:INFO [karma-server]: Karma v6.4.1 server started at http://localhost:9876/ | |
16 11 2023 08:21:46.292:INFO [launcher]: Launching browsers ChromeHeadless, FirefoxHeadless, WebkitHeadless with concurrency 1 | |
16 11 2023 08:21:46.303:INFO [launcher]: Starting browser ChromeHeadless | |
16 11 2023 08:21:48.444:INFO [Chrome Headless 115.0.5790.75 (Windows 10)]: Connected on socket LjlXFcIS72-ivw5OAAAB with id 42855900 | |
Chrome Headless 115.0.5790.75 (Windows 10) ERROR: 'Build failed with 19 errors: | |
src/dwn-api.ts:16:30: ERROR: Could not resolve "@web5/common" | |
src/tech-preview.ts:1:34: ERROR: Could not resolve "@web5/dids" | |
src/utils.ts:1:41: ERROR: Could not resolve "@web5/common" | |
src/web5.ts:4:30: ERROR: Could not resolve "@web5/user-agent" | |
src/web5.ts:10:29: ERROR: Could not resolve "@web5/dids" | |
...' | |
16 11 2023 08:21:48.558:INFO [launcher]: Starting browser FirefoxHeadless | |
16 11 2023 08:21:51.736:INFO [Firefox 115.0 (Windows 10)]: Connected on socket z_x7lXPjSLHj8zRgAAAD with id 40117405 | |
ERROR: 'Build failed with 19 errors: | |
src/dwn-api.ts:16:30: ERROR: Could not resolve "@web5/common" | |
src/tech-preview.ts:1:34: ERROR: Could not resolve "@web5/dids" | |
src/utils.ts:1:41: ERROR: Could not resolve "@web5/common" | |
src/web5.ts:4:30: ERROR: Could not resolve "@web5/user-agent" | |
src/web5.ts:10:29: ERROR: Could not resolve "@web5/dids" | |
...' | |
16 11 2023 08:21:52.052:INFO [launcher]: Starting browser WebkitHeadless | |
16 11 2023 08:21:55.776:INFO [WebKit 605.1.15 (Windows 8)]: Connected on socket -sS-U6tlPFlJnn5_AAAF with id 50737768 | |
WebKit 605.1.15 (Windows 8) ERROR: 'Build failed with 19 errors: | |
src/dwn-api.ts:16:30: ERROR: Could not resolve "@web5/common" | |
src/tech-preview.ts:1:34: ERROR: Could not resolve "@web5/dids" | |
src/utils.ts:1:41: ERROR: Could not resolve "@web5/common" | |
src/web5.ts:4:30: ERROR: Could not resolve "@web5/user-agent" | |
src/web5.ts:10:29: ERROR: Could not resolve "@web5/dids" | |
...' | |
Finished in 0.006 secs / 0 secs @ 08:21:55 GMT-0600 (Central Standard Time) | |
SUMMARY: | |
✔ 0 tests completed | |
npm ERR! Lifecycle script `test:browser` failed with error: | |
npm ERR! Error: command failed | |
npm ERR! in workspace: @web5/api@0.8.2 | |
npm ERR! at location: C:\repos\web5-js\packages\api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment