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

Getting broccoliBuilderError Cannot read properties of undefined #70

Open
titleofliberty opened this issue Mar 16, 2023 · 0 comments
Open

Comments

@titleofliberty
Copy link

This error occurs when I run ember build --watch.


ENV Summary:

  TIME: Wed Mar 15 2023 21:48:50 GMT-0400 (Eastern Daylight Time)
  TITLE: ember
  ARGV:
  - /home/.../.nvm/versions/node/v18.15.0/bin/node
  - /home/.../.nvm/versions/node/v18.15.0/bin/ember
  - build
  - --watch
  EXEC_PATH: /home/.../.nvm/versions/node/v18.15.0/bin/node
  TMPDIR: /tmp
  SHELL: /bin/bash
  PATH:
  - /home/.../.nvm/versions/node/v18.15.0/bin
  - /usr/local/sbin
  - /usr/local/bin
  - /usr/sbin
  - /usr/bin
  - /sbin
  - /bin
  - /usr/games
  - /usr/local/games
  - /snap/bin
  - /snap/bin
  PLATFORM: linux x64
  FREEMEM: 11390390272
  TOTALMEM: 16098213888
  UPTIME: 148.17
  LOADAVG: 0.53,0.37,0.15
  CPUS:
  - AMD Ryzen 7 5800H with Radeon Graphics - 3553
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 4441
  - AMD Ryzen 7 5800H with Radeon Graphics - 3200
  - AMD Ryzen 7 5800H with Radeon Graphics - 3552
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 3553
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  - AMD Ryzen 7 5800H with Radeon Graphics - 3552
  - AMD Ryzen 7 5800H with Radeon Graphics - 3547
  - AMD Ryzen 7 5800H with Radeon Graphics - 1200
  ENDIANNESS: LE
  VERSIONS:
  - acorn: 8.8.2
  - ares: 1.18.1
  - brotli: 1.0.9
  - cldr: 42.0
  - icu: 72.1
  - llhttp: 6.0.10
  - modules: 108
  - napi: 8
  - nghttp2: 1.51.0
  - nghttp3: 0.7.0
  - ngtcp2: 0.8.1
  - node: 18.15.0
  - openssl: 3.0.8+quic
  - simdutf: 3.1.0
  - tz: 2022g
  - undici: 5.20.0
  - unicode: 15.0
  - uv: 1.44.2
  - uvwasi: 0.0.15
  - v8: 10.2.154.26-node.25
  - zlib: 1.2.13

ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - code: [undefined]
  - codeFrame: [undefined]
  - errorMessage: Cannot read properties of undefined (reading 'length')
  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
  - message: Cannot read properties of undefined (reading 'length')
  - name: TypeError
  - nodeAnnotation: [undefined]
  - nodeName: [undefined]
  - originalErrorMessage: [undefined]
  - stack: TypeError: Cannot read properties of undefined (reading 'length')
    at ensureTrailingSlash (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-auto-import/js/package.js:461:17)
    at Package.publicAssetURL (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-auto-import/js/package.js:269:161)
    at AutoImport.makeBundler (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-auto-import/js/auto-import.js:108:46)
    at AutoImport.addTo (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-auto-import/js/auto-import.js:124:51)
    at Class.postprocessTree (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-auto-import/js/index.js:49:55)
    at /home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-cli/lib/utilities/addon-process-tree.js:6:25
    at Array.reduce (<anonymous>)
    at addonProcessTree (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-cli/lib/utilities/addon-process-tree.js:4:32)
    at EmberApp.addonPostprocessTree (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-cli/lib/broccoli/ember-app.js:935:12)
    at EmberApp.toTree (/home/marion/Dropbox/nwjs/ember-quickstart/node_modules/ember-cli/lib/broccoli/ember-app.js:1758:17)

=================================================================================```
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

No branches or pull requests

1 participant