CI #29
Annotations
3 errors
tests/default.test.mjs > basic functionality > successfully builds:
tests/default.test.mjs#L41
ExecaError: Command failed with exit code 1: pnpm build
(!) outDir /tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/dist is not inside project root and will not be emptied.
Use --emptyOutDir to override.
<script src="/@embroider/core/vendor.js"> in "/index.html" can't be bundled without type="module" attribute
/assets/fancy-app-in-test.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
x Build failed in 14.72s
error during build:
[vite]: Rollup failed to resolve import "fancy-app-in-test/config/environment" from "/tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.embroider/rewritten-app/app.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
at viteWarn (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68818:27)
at onRollupWarning (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68846:9)
at onwarn (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68529:13)
at file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:18514:13
at Object.logger [as onLog] (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20162:9)
at ModuleLoader.handleInvalidResolvedId (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19104:26)
at file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19062:26
> [email protected] build /tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test
> vite build
vite v5.2.12 building for production...
Building
Environment: production
building...
cleaning up
cleaning up...
Built project successfully. Stored in "dist/".
No asset files found in the path provided: dist/
transforming...
✓ 247 modules transformed.
\u2009ELIFECYCLE\u2009 Command failed with exit code 1.
❯ viteWarn ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68818:27
❯ onRollupWarning ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68846:9
❯ onwarn ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68529:13
❯ ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:18514:13
❯ Object.logger [as onLog] ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20162:9
❯ ModuleLoader.handleInvalidResolvedId ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19104:26
❯ ../../../../../tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19062:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:86:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:164:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:148:17
❯ tests/default.test.mjs:41:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm build', command: 'pnpm build', escape
|
tests/default.test.mjs > basic functionality > successfully runs tests:
tests/default.test.mjs#L52
ExecaError: Command failed with exit code 1: pnpm test
> [email protected] test /tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test
> concurrently "npm:lint" "npm:test:*" --names "lint,test:"
[lint]
[lint] > [email protected] lint
[lint] > concurrently "npm:lint:*(!fix)" --names "lint:"
[lint]
[test:ember]
[test:ember] > [email protected] test:ember
[test:ember] > vite build --mode test && ember test --path dist
[test:ember]
[lint] [lint:js]
[lint] [lint:js] > [email protected] lint:js
[lint] [lint:js] > eslint . --cache
[lint] [lint:js]
[lint] [lint:css]
[lint] [lint:css] > [email protected] lint:css
[lint] [lint:css] > stylelint "**/*.css"
[lint] [lint:css]
[lint] [lint:hbs]
[lint] [lint:hbs] > [email protected] lint:hbs
[lint] [lint:hbs] > ember-template-lint .
[lint] [lint:hbs]
[lint] [lint:css] npm run lint:css exited with code 0
[test:ember] vite v5.2.12 building for test...
[test:ember]
[test:ember] (!) outDir /tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/dist is not inside project root and will not be emptied.
[test:ember] Use --emptyOutDir to override.
[test:ember]
[lint] [lint:hbs]
[lint] [lint:hbs] npm run lint:hbs exited with code 0
[test:ember] Building
[test:ember] Environment: test
[lint] [lint:js] npm run lint:js exited with code 0
[lint] npm run lint exited with code 0
[test:ember] building...
[test:ember] cleaning up
[test:ember] cleaning up...
[test:ember] Built project successfully. Stored in "dist/".
[test:ember] <script src="/@embroider/core/vendor.js"> in "/index.html" can't be bundled without type="module" attribute
[test:ember] <script src="/testem.js"> in "/tests/index.html" can't be bundled without type="module" attribute
[test:ember] <script src="/@embroider/core/vendor.js"> in "/tests/index.html" can't be bundled without type="module" attribute
[test:ember] <script src="/@embroider/core/test-support.js"> in "/tests/index.html" can't be bundled without type="module" attribute
[test:ember]
[test:ember] /assets/fancy-app-in-test.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
[test:ember] transforming...
[test:ember] ✓ 355 modules transformed.
[test:ember] x Build failed in 12.88s
[test:ember] error during build:
[test:ember] [vite]: Rollup failed to resolve import "fancy-app-in-test/config/environment" from "/tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.embroider/rewritten-app/tests/test-helper.js".
[test:ember] This is most likely unintended because it can break your application at runtime.
[test:ember] If you do want to externalize this module explicitly add it to
[test:ember] `build.rollupOptions.external`
[test:ember] at viteWarn (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68818:27)
[test:ember] at onRollupWarning (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68846:9)
[test:ember] at onwarn (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:68529:13)
[test:ember] at file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:18514:13
[test:ember] at Object.logger [as onLog] (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:20162:9)
[test:ember] at ModuleLoader.handleInvalidResolvedId (file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19104:26)
[test:ember] at file:///tmp/tmp-1910-fVOuVNvpsTdW/fancy-app-in-test/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19062:26
[test:ember] npm run test:ember exited with code 1
\u2009ELIFECYCLE\u2009 Test failed. See above for more details.
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/
|
Lint & Test
Process completed with exit code 1.
|