Closed ghost closed 1 year ago
Error: The filename, directory name, or volume label syntax is incorrect. (os error 123), readdir 'C:/Users/oi-user.DESKTOP-3E1FVGA/OneDrive - Open Innovations Limited/repos/oi-lume-charts/C:/Users/oi-user.DESKTOP-3E1FVGA/OneDrive - Open Innovations Limited/repos/oi-lume-charts/example-site/_site' at async Object.[Symbol.asyncIterator] (deno:runtime/js/30_fs.js:132:16) at async emptyDir (https://deno.land/std@0.152.0/fs/empty_dir.ts:14:22) at async Writer.clear (https://deno.land/x/lume@v1.10.4/core/writer.ts:175:5) at async Site.clear (https://deno.land/x/lume@v1.10.4/core/site.ts:415:5) at async Site.build (https://deno.land/x/lume@v1.10.4/core/site.ts:424:5) at async build (https://deno.land/x/lume@v1.10.4/cli/build.ts:36:3) at async Command.execute (https://deno.land/x/cliffy@v0.24.3/command/command.ts:1365:7) at async Command.parse (https://deno.land/x/cliffy@v0.24.3/command/command.ts:1133:14) at async (https://deno.land/x/lume@v1.10.4/cli.ts:178:3)
running 1 test from ./mod.test.ts module ... should load remote files ... FAILED (29ms) error: AssertionError: Values are not equal:
[Diff] Actual / Expected
- \assets\js\chart.js
+ /assets/js/chart.js
throw new AssertionError(message);
^
at assertEquals (https://deno.land/std@0.153.0/testing/asserts.ts:183:9)
at assertSpyCallArg (https://deno.land/std@0.153.0/testing/mock.ts:696:3)
at Object.<anonymous> (file:///C:/Users/oi-user.DESKTOP-3E1FVGA/OneDrive%20-%20Open%20Innovations%20Limited/repos/oi-lume-charts/mod.test.ts:34:5)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:358:16)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:346:33)
at async fn (https://deno.land/std@0.153.0/testing/_test_suite.ts:316:13)
should copy each file separately ... FAILED (26ms) error: AssertionError: Values are not equal:
[Diff] Actual / Expected
- \assets\js\chart.js
+ /assets/js/chart.js
throw new AssertionError(message);
^
at assertEquals (https://deno.land/std@0.153.0/testing/asserts.ts:183:9)
at assertSpyCallArg (https://deno.land/std@0.153.0/testing/mock.ts:696:3)
at Object.<anonymous> (file:///C:/Users/oi-user.DESKTOP-3E1FVGA/OneDrive%20-%20Open%20Innovations%20Limited/repos/oi-lume-charts/mod.test.ts:48:5)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:358:16)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:346:33)
at async fn (https://deno.land/std@0.153.0/testing/_test_suite.ts:316:13)
should allow asset path to be set ... FAILED (37ms) error: AssertionError: Values are not equal:
[Diff] Actual / Expected
- \fakePath\js\chart.js
+ /fakePath/js/chart.js
throw new AssertionError(message);
^
at assertEquals (https://deno.land/std@0.153.0/testing/asserts.ts:183:9)
at assertSpyCallArg (https://deno.land/std@0.153.0/testing/mock.ts:696:3)
at Object.<anonymous> (file:///C:/Users/oi-user.DESKTOP-3E1FVGA/OneDrive%20-%20Open%20Innovations%20Limited/repos/oi-lume-charts/mod.test.ts:56:5)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:358:16)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:346:33)
at async fn (https://deno.land/std@0.153.0/testing/_test_suite.ts:316:13)
should allow remove trailing slashes from the asset path to be set ... FAILED (30ms) error: AssertionError: Values are not equal:
[Diff] Actual / Expected
- \fakePath\js\chart.js
+ /fakePath/js/chart.js
throw new AssertionError(message);
^
at assertEquals (https://deno.land/std@0.153.0/testing/asserts.ts:183:9)
at assertSpyCallArg (https://deno.land/std@0.153.0/testing/mock.ts:696:3)
at Object.<anonymous> (file:///C:/Users/oi-user.DESKTOP-3E1FVGA/OneDrive%20-%20Open%20Innovations%20Limited/repos/oi-lume-charts/mod.test.ts:71:5)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:358:16)
at Function.runTest (https://deno.land/std@0.153.0/testing/_test_suite.ts:346:33)
at async fn (https://deno.land/std@0.153.0/testing/_test_suite.ts:316:13)
module ... FAILED (170ms)
ERRORS
module => https://deno.land/std@0.153.0/testing/_test_suite.ts:191:10 error: Error: 4 test steps failed. at runTest (deno:runtime/js/40_testing.js:837:11) at async runTests (deno:runtime/js/40_testing.js:1088:22)
FAILURES
module => https://deno.land/std@0.153.0/testing/_test_suite.ts:191:10
FAILED | 0 passed | 1 failed (4 steps) (433ms)
error: Test failed
Warning deno task is unstable and may drastically change in the future Task lume deno eval "import 'lume/task.ts'" -- "--serve" Loading config file file:///C:/Users/oi-user.DESKTOP-3E1FVGA/Documents/code/leeds-2023/_config.js
Error: Couldn't load this file
Caused by TypeError: Module not found "file:///C:/Users/oi-user.DESKTOP-3E1FVGA/Documents/code/leeds-2023/docs/_components/oi/charts/dashboard.ts#1667228531895". at async module (https://deno.land/x/lume@v1.12.1/core/loaders/module.ts:8:15) at async Reader.read (https://deno.land/x/lume@v1.12.1/core/reader.ts:144:14) at async ComponentsLoader.#loadComponent (https://deno.land/x/lume@v1.12.1/core/component_loader.ts:98:23) at async ComponentsLoader.#loadDirectory (https://deno.land/x/lume@v1.12.1/core/component_loader.ts:75:25) at async ComponentsLoader.load (https://deno.land/x/lume@v1.12.1/core/component_loader.ts:47:5) at async (https://deno.land/x/lume@v1.12.1/core/source.ts:472:11) at async concurrent (https://deno.land/x/lume@v1.12.1/core/utils.ts:173:3) at async Source.#loadDirectory (https://deno.land/x/lume@v1.12.1/core/source.ts:452:5) at async Source.#getOrCreateDirectory (https://deno.land/x/lume@v1.12.1/core/source.ts:278:7)