mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
This PR updates the ember example using the following:
```
npx ember new ember-quickstart --lang en
```
I also had to add `{ 'ember-welcome-page': { enabled: true } }` to the
build config because the `<WelcomePage>` only works in dev, but throws
when using the default build command:
```
ember build --environment=production
```
For posterity, the error looks like:
```
Uncaught TypeError: Cannot destructure property 'manager' of 'e' as it is null.
at u.resolvedComponent (vendor-2e12520b7a71eead28708a24fafa7fbc.js:2094:28)
at vendor-2e12520b7a71eead28708a24fafa7fbc.js:1999:5
at ne (vendor-2e12520b7a71eead28708a24fafa7fbc.js:1999:30)
at l (vendor-2e12520b7a71eead28708a24fafa7fbc.js:1991:18)
at vendor-2e12520b7a71eead28708a24fafa7fbc.js:1981:836
at _.compile (vendor-2e12520b7a71eead28708a24fafa7fbc.js:1938:173)
at re (vendor-2e12520b7a71eead28708a24fafa7fbc.js:1991:61)
at vendor-2e12520b7a71eead28708a24fafa7fbc.js:1988:30
at ee.compile (vendor-2e12520b7a71eead28708a24fafa7fbc.js:1989:23)
at Object.evaluate (vendor-2e12520b7a71eead28708a24fafa7fbc.js:2431:224)
```
- Related https://github.com/emberjs/ember.js/issues/19912
- Related https://github.com/ember-cli/ember-welcome-page/issues/385
24 lines
589 B
JavaScript
24 lines
589 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
test_page: 'tests/index.html?hidepassed',
|
|
disable_watching: true,
|
|
launch_in_ci: ['Chrome'],
|
|
launch_in_dev: ['Chrome'],
|
|
browser_start_timeout: 120,
|
|
browser_args: {
|
|
Chrome: {
|
|
ci: [
|
|
// --no-sandbox is needed when running Chrome inside a container
|
|
process.env.CI ? '--no-sandbox' : null,
|
|
'--headless',
|
|
'--disable-dev-shm-usage',
|
|
'--disable-software-rasterizer',
|
|
'--mute-audio',
|
|
'--remote-debugging-port=0',
|
|
'--window-size=1440,900',
|
|
].filter(Boolean),
|
|
},
|
|
},
|
|
};
|