ember-cli icon indicating copy to clipboard operation
ember-cli copied to clipboard

In 3.7: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.

Open Alonski opened this issue 5 years ago • 11 comments

Getting this error sporadically in terminal ever since upgrading to Ember 3.7. I am on Windows 10 as well.

`You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.`

Might be related to: https://github.com/broccolijs/broccoli-funnel/issues/81


Output from ember version --verbose && npm --version && yarn --version:

DEPRECATION: ember-i18n has been deprecated in favor of ember-intl
ember-cli: 3.7.1
http_parser: 2.8.0
node: 10.10.0
v8: 6.8.275.30-node.24
uv: 1.23.0
zlib: 1.2.11
ares: 1.14.0
modules: 64
nghttp2: 1.33.0
napi: 3
openssl: 1.1.0i
icu: 62.1
unicode: 11.0
cldr: 33.1
tz: 2018e
os: win32 x64
6.4.1
1.15.2

Output from error dump:

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

ENV Summary:

  TIME: Tue Mar 19 2019 11:52:38 GMT+0200 (Israel Standard Time)
  TITLE: ember
  ARGV:
  - C:\Program Files\nodejs\node.exe
  - D:\Project\ember\Test\node_modules\ember-cli\bin\ember
  - serve
  EXEC_PATH: C:\Program Files\nodejs\node.exe
  TMPDIR: C:\Users\Alon\AppData\Local\Temp
  SHELL: null
  PATH:
  - C
  - \Users\Alon\AppData\Local\Temp\yarn--1552980257322-0.39857558576541674;D
  - \Project\ember\Test\node_modules\.bin;C
  - \Users\Alon\AppData\Local\Yarn\Data\link\node_modules\.bin;C
  - \Program Files\libexec\lib\node_modules\npm\bin\node-gyp-bin;C
  - \Program Files\lib\node_modules\npm\bin\node-gyp-bin;C
  - \Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C
  - \Users\Alon\Documents\cmder\bin;C
  - \Users\Alon\Documents\cmder\vendor\conemu-maximus5\ConEmu\Scripts;C
  - \Users\Alon\Documents\cmder\vendor\conemu-maximus5;C
  - \Users\Alon\Documents\cmder\vendor\conemu-maximus5\ConEmu;c
  - \program files (x86)\microsoft sdks\azure\cli2\wbin;c
  - \program files (x86)\common files\oracle\java\javapath;c
  - \programdata\oracle\java\javapath;c
  - \program files\nvidia gpu computing toolkit\cuda\v8.0\bin;c
  - \program files\nvidia gpu computing toolkit\cuda\v8.0\libnvvp;c
  - \python27\;c
  - \python27\scripts;c
  - \windows\system32;c
  - \windows;c
  - \windows\system32\wbem;c
  - \windows\system32\windowspowershell\v1.0\;c
  - \program files\intel\wifi\bin\;c
  - \program files\common files\intel\wirelesscommon\;c
  - \program files\sliksvn\bin;c
  - \program files\microsoft sql server\110\tools\binn\;c
  - \program files\microsoft sql server\120\tools\binn\;c
  - \program files\microsoft\web platform installer\;c
  - \program files\microsoft sql server\130\tools\binn\;c
  - \program files\dotnet\;c
  - \program files\sourcegear\common\diffmerge\;c
  - \program files (x86)\android\android-sdk\platform-tools;c
  - \program files\putty\;c
  - \program files\geth;c
  - \users\alon\appdata\roaming\nvm;c
  - \program files (x86)\microsoft visual studio\2017\buildtools\msbuild\15.0\bin;c
  - \program files (x86)\microsoft visual studio\2017\professional\common7\ide;c
  - \program files\microsoft sql server\client sdk\odbc\110\tools\binn\;c
  - \program files (x86)\microsoft sql server\120\tools\binn\;c
  - \program files\microsoft sql server\120\dts\binn\;c
  - \program files (x86)\microsoft sql server\120\tools\binn\managementstudio\;c
  - \program files (x86)\microsoft sql server\120\dts\binn\;c
  - \windows\system32;c
  - \windows;c
  - \windows\system32\wbem;c
  - \windows\system32\windowspowershell\v1.0\;c
  - \program files\tortoisesvn\bin;c
  - \windows\system32\openssh\;c
  - \program files\git\cmd;c
  - \program files (x86)\gow\bin;C
  - \Program Files (x86)\NVIDIA Corporation\PhysX\Common;C
  - \Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C
  - \Program Files\Microsoft SQL Server\110\DTS\Binn\;C
  - \Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C
  - \Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;D
  - \nvm;C
  - \Program Files\nodejs;C
  - \Program Files (x86)\Yarn\bin\;C
  - \Program Files\Git\cmd;C
  - \Users\Alon\AppData\Local\Programs\Python\Python37-32\Scripts\;C
  - \Users\Alon\AppData\Local\Programs\Python\Python37-32\;C
  - \Users\Alon\AppData\Local\Microsoft\WindowsApps;C
  - \Users\Alon\AppData\Roaming\npm;C
  - \Users\Alon\.lein\bin;D
  - \IPFS\go-ipfs;C
  - \Program Files\Microsoft VS Code\bin;C
  - \Program Files\MySQL\MySQL Server 5.7\bin;D
  - \Music\DL;C
  - \Program Files (x86)\Android\android-sdk;C
  - \Program Files (x86)\Android\android-sdk\tools;D
  - \Projects\TestConsole\bin\Debug;D
  - \mobart\deploy;C
  - \Program Files (x86)\Rico Suter\NSwagStudio\full;C
  - \Program Files\heroku\bin;C
  - \Users\Alon\AppData\Local\Programs\Microsoft VS Code\bin;C
  - \Users\Alon\Documents\cmder;D
  - \Downloads\ffmpeg-20180915-63c69d5-win64-static\bin;C
  - \Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\;D
  - \Program Files\JetBrains\DataGrip 2018.3.1\bin;C
  - \Users\Alon\AppData\Local\Yarn\bin;c
  - \Program Files\Git\mingw64;c
  - \Program Files\Git\usr\bin
  PLATFORM: win32 x64
  FREEMEM: 2215837696
  TOTALMEM: 17079775232
  UPTIME: 1185548
  LOADAVG: 0,0,0
  CPUS:
  - Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz - 2394
  - Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz - 2394
  - Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz - 2394
  - Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz - 2394
  ENDIANNESS: LE
  VERSIONS:
  - ares: 1.14.0
  - cldr: 33.1
  - http_parser: 2.8.0
  - icu: 62.1
  - modules: 64
  - napi: 3
  - nghttp2: 1.33.0
  - node: 10.10.0
  - openssl: 1.1.0i
  - tz: 2018e
  - unicode: 11.0
  - uv: 1.23.0
  - v8: 6.8.275.30-node.24
  - zlib: 1.2.11

ERROR Summary:

  - broccoliBuilderErrorStack: Error: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
    at Funnel.build (D:\Project\ember\Test\node_modules\broccoli-funnel\index.js:261:11)
    at resolve (D:\Project\ember\Test\node_modules\broccoli\lib\wrappers\transform-node.js:29:35)
    at new Promise (<anonymous>)
    at TransformNodeWrapper.build (D:\Project\ember\Test\node_modules\broccoli\lib\wrappers\transform-node.js:21:12)
    at Promise.resolve.then.then.then (D:\Project\ember\Test\node_modules\broccoli\lib\builder.js:111:28)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  - code: [undefined]
  - codeFrame: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
  - errorMessage: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
        at Funnel
-~- created here: -~-
    at Funnel.Plugin (D:\Project\ember\Test\node_modules\broccoli-plugin\index.js:7:31)
    at new Funnel (D:\Project\ember\Test\node_modules\broccoli-funnel\index.js:57:10)
    at exclude (D:\Project\ember\Test\node_modules\ember-i18n\index.js:41:10)
    at Class.treeFor (D:\Project\ember\Test\node_modules\ember-i18n\index.js:23:16)
    at Class.superWrapper [as treeFor] (D:\Project\ember\Test\node_modules\core-object\lib\assign-properties.js:34:20)
    at project.addons.reduce (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:700:26)
    at Array.reduce (<anonymous>)
    at EmberApp._addonTreesFor (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:698:32)
    at EmberApp.addonTreesFor (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:722:17)
    at EmberApp.getAddonTemplates (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:1115:27)
-~- (end) -~-
  - errorType: Build Error
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
    - treeDir: [undefined]
  - message: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
        at Funnel
-~- created here: -~-
    at Funnel.Plugin (D:\Project\ember\Test\node_modules\broccoli-plugin\index.js:7:31)
    at new Funnel (D:\Project\ember\Test\node_modules\broccoli-funnel\index.js:57:10)
    at exclude (D:\Project\ember\Test\node_modules\ember-i18n\index.js:41:10)
    at Class.treeFor (D:\Project\ember\Test\node_modules\ember-i18n\index.js:23:16)
    at Class.superWrapper [as treeFor] (D:\Project\ember\Test\node_modules\core-object\lib\assign-properties.js:34:20)
    at project.addons.reduce (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:700:26)
    at Array.reduce (<anonymous>)
    at EmberApp._addonTreesFor (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:698:32)
    at EmberApp.addonTreesFor (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:722:17)
    at EmberApp.getAddonTemplates (D:\Project\ember\Test\node_modules\ember-cli\lib\broccoli\ember-app.js:1115:27)
-~- (end) -~-
  - name: BuildError
  - nodeAnnotation: [undefined]
  - nodeName: Funnel
  - originalErrorMessage: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
  - stack: Error: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
    at Funnel.build (D:\Project\ember\Test\node_modules\broccoli-funnel\index.js:261:11)
    at resolve (D:\Project\ember\Test\node_modules\broccoli\lib\wrappers\transform-node.js:29:35)
    at new Promise (<anonymous>)
    at TransformNodeWrapper.build (D:\Project\ember\Test\node_modules\broccoli\lib\wrappers\transform-node.js:21:12)
    at Promise.resolve.then.then.then (D:\Project\ember\Test\node_modules\broccoli\lib\builder.js:111:28)
    at process._tickCallback (internal/process/next_tick.js:68:7)

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

Alonski avatar Mar 19 '19 10:03 Alonski

I see ember-i18n in the callstack. maybe it's an issue on their side? 🤔

Turbo87 avatar Apr 29 '19 08:04 Turbo87

Looks like you are using [email protected], which is throwing an error because addon.translationPath is undefined here:

https://github.com/ember-intl/ember-intl/blob/a39854d60fd858f0b7d072774a7ab47572941fbd/index.js#L42

The issue is caused by an ember-intl addon not having the properties expected in 2.x, I personally would attempt to upgrade to 3.x (they are even in 4.0.0-beta's already) and see if that resolves the issue. If not, you can dig into your node_modules/ember-intl/index.js and add a console.log(addon.name) before it is creating that funnel, that may give you more to dig into...

rwjblue avatar Apr 29 '19 14:04 rwjblue

@rwjblue We are still using ember-18n 😅

Alonski avatar Apr 29 '19 18:04 Alonski

I got the same error, @Alonski did you fix it already?

nvminhtu avatar Sep 09 '19 18:09 nvminhtu

@nvminhtu Not really. If it happens to us we delete node_modules, yarn install and then try again.

Alonski avatar Sep 09 '19 20:09 Alonski

Just Restart ember server.

PritamBhanji08 avatar Oct 21 '19 11:10 PritamBhanji08

I experience a similar error sporadically. In my case, it's for / not existing.

Build Error (Funnel)

You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.

Output from ember version --verbose && npm --version && yarn --version

ember-cli: 3.19.0
node: 12.16.3
v8: 7.8.279.23-node.35
uv: 1.34.2
zlib: 1.2.11
brotli: 1.0.7
ares: 1.16.0
modules: 72
nghttp2: 1.40.0
napi: 5
llhttp: 2.0.4
http_parser: 2.9.3
openssl: 1.1.1g
cldr: 36.0
icu: 65.1
tz: 2019c
unicode: 12.1
os: linux x64
6.14.4
1.22.4

Output from the error dump:

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

ENV Summary:

  TIME: Mon Jul 13 2020 18:52:10 GMT+0000 (Coordinated Universal Time)
  TITLE: ember
  ARGV:
  - /opt/node-v12.16.3/bin/node
  - /Users/belden/github/company-js-src/yarn_workspace/ionone/node_modules/.bin/ember
  - build
  - --watch
  - --output-path
  - ../../../cloud_ui/public/ionone
  EXEC_PATH: /opt/node-v12.16.3/bin/node
  TMPDIR: /tmp
  SHELL: /bin/bash
  PATH:
  - /tmp/yarn--1594418116157-0.7212615584411068
  - /Users/belden/github/company-js-src/yarn_workspace/ionone/node_modules/.bin
  - /Users/belden/.config/yarn/link/node_modules/.bin
  - /Users/belden/github/company-js-src/yarn_workspace/node_modules/.bin
  - /Users/belden/.yarn/bin
  - /opt/node-v12.16.3/libexec/lib/node_modules/npm/bin/node-gyp-bin
  - /opt/node-v12.16.3/lib/node_modules/npm/bin/node-gyp-bin
  - /opt/node-v12.16.3/bin/node_modules/npm/bin/node-gyp-bin
  - /opt/node-v12.16.3/bin
  - /opt/ruby-2.6.6/lib/ruby/gems/2.6.0/bin
  - /opt/ruby-2.6.6/bin
  - /opt/node-v8.14.0/bin
  - /opt/flex-sdk/bin
  - /usr/local/sbin
  - /usr/local/bin
  - /usr/sbin
  - /usr/bin
  - /sbin
  - /bin
  - /opt/puppetlabs/bin
  PLATFORM: linux x64
  FREEMEM: 124715008
  TOTALMEM: 8353480704
  UPTIME: 188574
  LOADAVG: 0.84130859375,0.9228515625,0.88671875
  CPUS:
  - Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz - 2592
  - Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz - 2592
  - Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz - 2592
  - Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz - 2592
  ENDIANNESS: LE
  VERSIONS:
  - ares: 1.16.0
  - brotli: 1.0.7
  - cldr: 36.0
  - http_parser: 2.9.3
  - icu: 65.1
  - llhttp: 2.0.4
  - modules: 72
  - napi: 5
  - nghttp2: 1.40.0
  - node: 12.16.3
  - openssl: 1.1.1g
  - tz: 2019c
  - unicode: 12.1
  - uv: 1.34.2
  - v8: 7.8.279.23-node.35
  - zlib: 1.2.11

ERROR Summary:

  - broccoliBuilderErrorStack: Error: You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.
    at Funnel.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli-funnel/index.js:252:15)
    at TransformNodeWrapper.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli/dist/wrappers/transform-node.js:71:39)
    at /Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli/dist/builder.js:185:30
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Builder.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli/dist/builder.js:204:13)
    at async Builder.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:197:11)
  - code: [undefined]
  - codeFrame: You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.
  - errorMessage: You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.
        at Funnel (ProcessedTemplateTree)
-~- created here: -~-
    at Funnel.Plugin (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli-plugin/index.js:7:31)
    at new Funnel (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli-funnel/index.js:57:10)
    at EmberApp.getAddonTemplates (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1076:26)
    at EmberApp.toArray (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1540:12)
    at EmberApp.toTree (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1647:36)
    at module.exports (/Users/belden/github/company-js-src/yarn_workspace/ionone/ember-cli-build.js:73:14)
    at Builder.readBuildFile (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:49:14)
    at Builder.setupBroccoliBuilder (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:63:22)
    at new Builder (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:29:10)
    at BuildWatchTask.run (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/tasks/build-watch.js:26:7)
-~- (end) -~-
  - errorType: Build Error
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
    - treeDir: [undefined]
  - message: You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.
        at Funnel (ProcessedTemplateTree)
-~- created here: -~-
    at Funnel.Plugin (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli-plugin/index.js:7:31)
    at new Funnel (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli-funnel/index.js:57:10)
    at EmberApp.getAddonTemplates (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1076:26)
    at EmberApp.toArray (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1540:12)
    at EmberApp.toTree (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1647:36)
    at module.exports (/Users/belden/github/company-js-src/yarn_workspace/ionone/ember-cli-build.js:73:14)
    at Builder.readBuildFile (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:49:14)
    at Builder.setupBroccoliBuilder (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:63:22)
    at new Builder (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:29:10)
    at BuildWatchTask.run (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/tasks/build-watch.js:26:7)
-~- (end) -~-
  - name: Error
  - nodeAnnotation: ProcessedTemplateTree
  - nodeName: Funnel
  - originalErrorMessage: You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.
  - stack: Error: You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.
    at Funnel.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli-funnel/index.js:252:15)
    at TransformNodeWrapper.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli/dist/wrappers/transform-node.js:71:39)
    at /Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli/dist/builder.js:185:30
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Builder.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/broccoli/dist/builder.js:204:13)
    at async Builder.build (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/models/builder.js:197:11)

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

I run ember build --watch --output-path ../path/to/api/public/. Restarting this process alleviates the problem.


// context view for stacktrace frame:
/*
 at EmberApp.getAddonTemplates (/Users/belden/github/company-js-src/yarn_workspace/node_modules/ember-cli/lib/broccoli/ember-app.js:1076:26
*/
1069    getAddonTemplates() {
1070      let addonTrees = this.addonTreesFor('templates');
1071      let mergedTemplates = mergeTrees(addonTrees, {
1072        overwrite: true,
1073        annotation: 'TreeMerger (templates)',
1074      });
1075
1076 ==>  let addonTemplates = new Funnel(mergedTemplates, {
1077        srcDir: '/',
1078        destDir: `${this.name}/templates`,
1079        annotation: 'ProcessedTemplateTree',
1080      });
1081
1082      return addonTemplates;
1083    }

belden avatar Jul 13 '20 19:07 belden

I see this error randomly throughout the day. The stack trace points to ember-template-lint:

  - broccoliBuilderErrorStack: Error: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
    at Funnel.build (/Users/dwickern/code/app/ui/node_modules/broccoli-funnel/index.js:252:17)
    at TransformNodeWrapper.build (/Users/dwickern/code/app/ui/node_modules/broccoli/dist/wrappers/transform-node.js:71:39)
    at /Users/dwickern/code/app/ui/node_modules/broccoli/dist/builder.js:185:30
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Builder.build (/Users/dwickern/code/app/ui/node_modules/broccoli/dist/builder.js:204:13)
    at async Builder.build (/Users/dwickern/code/app/ui/node_modules/ember-cli/lib/models/builder.js:197:11)
  - code: [undefined]
  - codeFrame: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
  - errorMessage: You specified a `"srcDir": undefined` which does not exist and did not specify `"allowEmpty": true`.
        at Funnel (Funnel (lint templates))

error.dump.bc312650a13c96e22e38f35d1c380444.log

  - broccoliBuilderErrorStack: Error: [BroccoliMergeTrees] error while merging the following:
  1.  [Funnel: Funnel (lint tests)]
  2.  [Funnel: Funnel (lint templates)]
  3.  [Funnel: Funnel (lint app)]
ENOENT: no such file or directory, lstat '/var/folders/35/l2xrzxxx3dv6wqr455n18g580000gn/T/broccoli-165627zMtogf0R8T9/out-024-funnel_funnel_lint_templates'
    at Object.lstatSync (node:fs:1529:3)
    at makeFSObjectCleanedUp (/Users/dwickern/code/app/ui/node_modules/fs-updater/index.js:68:18)
    at makeFSObject (/Users/dwickern/code/app/ui/node_modules/fs-updater/index.js:64:10)
    at /Users/dwickern/code/app/ui/node_modules/merge-trees/index.js:37:17
    at Array.map (<anonymous>)
    at MergeTrees._getMergedDirectory (/Users/dwickern/code/app/ui/node_modules/merge-trees/index.js:36:53)
    at MergeTrees.merge (/Users/dwickern/code/app/ui/node_modules/merge-trees/index.js:27:20)
    at BroccoliMergeTrees.build (/Users/dwickern/code/app/ui/node_modules/broccoli-merge-trees/index.js:34:23)
    at TransformNodeWrapper.build (/Users/dwickern/code/app/ui/node_modules/broccoli/dist/wrappers/transform-node.js:71:39)
    at /Users/dwickern/code/app/ui/node_modules/broccoli/dist/builder.js:185:30

error.dump.71675a5365c554f84fe349b0fcf468fc.log

My editor runs ember-template-lint --fix whenever I save a file. Could that conflict with ember-cli's rebuild?

ember-cli 4.4

dwickern avatar Aug 28 '22 00:08 dwickern

My editor runs ember-template-lint --fix whenever I save a file. Could that conflict with ember-cli's rebuild?

@dwickern probably. ember-template-lint used to have a file-based TODO system and when it fixed a lint it would remove the file, making you run into this error possibly?

locks avatar Aug 09 '23 03:08 locks

I experience a similar error sporadically. In my case, it's for / not existing.

Build Error (Funnel)

You specified a `"srcDir": /` which does not exist and did not specify `"allowEmpty": true`.

This seems like an old issue, but I experience the exact same thing.

mstonepc avatar Oct 12 '23 16:10 mstonepc

After upgrading to ember-data 4.12.4 with ember-cli 4.12.1 we are experiencing the same error.

Monkeychip avatar Feb 23 '24 18:02 Monkeychip