ember-cli: Error after upgrading to ember-cli@3.15.1: WatcherAdapter's first argument must be an array of SourceNodeWrapper nodes

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

ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - code: [undefined]
  - codeFrame: [undefined]
  - errorMessage: WatcherAdapter's first argument must be an array of SourceNodeWrapper nodes
  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
  - message: WatcherAdapter's first argument must be an array of SourceNodeWrapper nodes
  - name: TypeError
  - nodeAnnotation: [undefined]
  - nodeName: [undefined]
  - originalErrorMessage: [undefined]
  - stack: TypeError: WatcherAdapter's first argument must be an array of SourceNodeWrapper nodes
    at new WatcherAdapter (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/broccoli/dist/watcher_adapter.js:21:19)
    at new Watcher (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/broccoli/dist/watcher.js:19:44)
    at Watcher.constructBroccoliWatcher (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/lib/models/watcher.js:42:19)
    at new Watcher (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/lib/models/watcher.js:28:41)
    at ServeTask.run (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/lib/tasks/serve.js:58:7)
    at /Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/lib/models/command.js:239:24
    at tryCatcher (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:326:21)
    at invokeCallback (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:498:33)
    at /Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:562:16
    at flush (/Users/aklkv/Projects/work/foodee/MasterFox/clients/swift-fox/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:2441:7)
    at processTicksAndRejections (internal/process/task_queues.js:79:11)


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

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 21 (2 by maintainers)

Most upvoted comments

Yeah I think the root cause it ember browserify. I am closing this issue, there is nothing else to be solved.

In case this helps anyone: I got this error message despite having updated ember-cli and it disappeared after replacing the deprecated ember-browserify with ember-auto-import.

I had the same issue. I had to update ember-cli-deprecation-workflow. This fixed the issue for me.

I have the same error, any ideas?

Downgrade to 3.14.0 is tmp fix.