# EMBER\_CLI\_PROD\_ASSETS to 1 crashes precompiling assets

**URL:** <https://meta.discourse.org/t/ember-cli-prod-assets-to-1-crashes-precompiling-assets/218548>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [February 17, 2022, 1:46pm UTC](https://meta.discourse.org/t/ember-cli-prod-assets-to-1-crashes-precompiling-assets/218548 "2022-02-17T13:46:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)\
**Post date:** [February 17, 2022, 1:46pm UTC](https://meta.discourse.org/t/ember-cli-prod-assets-to-1-crashes-precompiling-assets/218548/1 "2022-02-17T13:46:29Z")

</div>

Comes from [New installs will default to Ember CLI builds in Production - #36 by david](https://meta.discourse.org/t/new-installs-will-default-to-ember-cli-builds-in-production/208282/36)

Hi Team,

While trying setting `EMBER_CLI_PROD_ASSETS` to `1`, I’m getting the following at the time of precompiling assets (version `2.9.0.beta2` commit: `d2de058ff51f204fcf85c86a00750a59505af3bb`):

```bash
yarn run v1.22.17
$ /var/www/discourse/app/assets/javascripts/node_modules/.bin/ember build -prod
WARNING: Node v16.13.2 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details.
DEPRECATION: The integration of jQuery into Ember has been deprecated and will be removed with Ember 4.0. You can either opt-out of using jQuery, or install the `@ember/jquery` addon to provide the jQuery integration. Please consult the deprecation guide for further details: https://emberjs.com/deprecations/v3.x#toc_jquery-apis
A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)

node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
    at new SystemError (node:internal/errors:233:5)
    at new NodeError (node:internal/errors:336:7)
    at Object.userInfo (node:os:347:11)
    at summarizeProcess (/var/www/discourse/app/assets/javascripts/node_modules/console-ui/lib/summarize-process.js:17:15)
    at writeError (/var/www/discourse/app/assets/javascripts/node_modules/console-ui/lib/write-error.js:114:3)
    at UI.writeError (/var/www/discourse/app/assets/javascripts/node_modules/console-ui/lib/index.js:167:20)
    at CLI.logError (/var/www/discourse/app/assets/javascripts/node_modules/ember-cli/lib/cli/cli.js:318:13)
    at CLI.run (/var/www/discourse/app/assets/javascripts/node_modules/ember-cli/lib/cli/cli.js:253:12)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (/var/www/discourse/app/assets/javascripts/node_modules/ember-cli/lib/cli/index.js:145:12) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -2,
    code: 'ENOENT',
    message: 'no such file or directory',
    syscall: 'uv_os_get_passwd'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

Any hint about why this is happening?

Cheers,  
Ismael

---

_[View the full topic](https://meta.discourse.org/t/ember-cli-prod-assets-to-1-crashes-precompiling-assets/218548)._
