Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spike] try Optomized Emroider Safe #142

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

GavinJoyce
Copy link
Contributor

@GavinJoyce GavinJoyce commented Dec 10, 2020

trying https://github.com/embroider-build/embroider/blob/master/ADDON-AUTHOR-GUIDE.md#support-level-optimized-embroider-safe

I'm getting the following error messages:

ember-cli: 3.22.0
node: 14.15.0
os: darwin x64
yarn install v1.19.2
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.51s.
2020-12-10 14:56 ember[98756] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2020-12-10 14:56 ember[98756] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2020-12-10 14:56 ember[98756] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
EMFILE: too many open files, watch


Stack Trace and Error Report: /var/folders/3v/09n0vdzd729c364hwcfhzffh0000gp/T/error.dump.7612164b55f72e8acf065dc4b2789dae.log
2020-12-10 14:56 ember[98756] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2020-12-10 14:56 ember[98756] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2020-12-10 14:56 ember[98756] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
=================================================================================

ENV Summary:

  TIME: Thu Dec 10 2020 15:01:21 GMT+0000 (Greenwich Mean Time)
  TITLE: ember
  ARGV:
  - /Users/gavinjoyce/.nvm/versions/node/v14.15.0/bin/node
  - /Users/gavinjoyce/.nvm/versions/node/v14.15.0/bin/ember
  - server
  EXEC_PATH: /Users/gavinjoyce/.nvm/versions/node/v14.15.0/bin/node
  TMPDIR: /var/folders/3v/09n0vdzd729c364hwcfhzffh0000gp/T
  SHELL: /bin/zsh
  PATH:
  - /Users/gavinjoyce/.nvm/versions/node/v14.15.0/bin
  - /usr/local/bin
  - /usr/local/bin
  - /usr/bin
  - /bin
  - /usr/sbin
  - /sbin
  - /Users/gavinjoyce/.rvm/bin
  - /Users/gavinjoyce/dev/tools/redis-2.6.15/src/
  PLATFORM: darwin x64
  FREEMEM: 790913024
  TOTALMEM: 17179869184
  UPTIME: 1313348
  LOADAVG: 2.38720703125,2.22265625,2.58349609375
  CPUS:
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  - Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz - 2800
  ENDIANNESS: LE
  VERSIONS:
  - ares: 1.16.1
  - brotli: 1.0.9
  - cldr: 37.0
  - icu: 67.1
  - llhttp: 2.1.3
  - modules: 83
  - napi: 7
  - nghttp2: 1.41.0
  - node: 14.15.0
  - openssl: 1.1.1g
  - tz: 2020a
  - unicode: 13.0
  - uv: 1.40.0
  - v8: 8.4.371.19-node.17
  - zlib: 1.2.11

ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - code: EMFILE
  - codeFrame: [undefined]
  - errorMessage: EMFILE: too many open files, watch
  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [null]
    - line: [undefined]
  - message: EMFILE: too many open files, watch
  - name: Error
  - nodeAnnotation: [undefined]
  - nodeName: [undefined]
  - originalErrorMessage: [undefined]
  - stack: Error: EMFILE: too many open files, watch
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:178:28)

=================================================================================

I tried creating a new ember-cli 3.22 addon, but I see the same error message there too.

@GavinJoyce
Copy link
Contributor Author

^ solved with:

$ brew update
$ brew install watchman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant