You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2020. It is now read-only.
When running ember serve with ember-makeup installed and changing any *.css file, there will be a Build Error.
I do get this one:
file changed dummy/app/application/styles.css
file changed application/styles.css
Build Error (broccoli-persistent-filter:BroccoliExtractSchema)
ENOENT: no such file or directory, unlink '/var/folders/5s/d0fql03n6mj78fw8b5mk0x3m0000gn/T/broccoli-32410hNb44irLJiQI/out-322-broccoli_persistent_filter_broccoli_extract_schema/assets/dummy.makeup.json'
Stack Trace and Error Report: /var/folders/5s/d0fql03n6mj78fw8b5mk0x3m0000gn/T/error.dump.bc6c762dfed6f828cdf2c6c64fd6ef79.log
(node:32410) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, unlink '/var/folders/5s/d0fql03n6mj78fw8b5mk0x3m0000gn/T/broccoli-32410hNb44irLJiQI/out-322-broccoli_persistent_filter_broccoli_extract_schema/assets/dummy.makeup.json'
at Object.unlinkSync (fs.js:1057:3)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:320:12
at initializePromise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/-internal.js:236:5)
at new Promise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/promise.js:143:33)
at BroccoliExtractSchema.Filter._handleFile (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:306:10)
at changeOperation (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:266:25)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:50:47
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:196:27
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:74:12
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:4096:9
(node:32410) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
(node:32410) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:32410) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, unlink '/var/folders/5s/d0fql03n6mj78fw8b5mk0x3m0000gn/T/broccoli-32410hNb44irLJiQI/out-322-broccoli_persistent_filter_broccoli_extract_schema/assets/dummy.makeup.json'
at Object.unlinkSync (fs.js:1057:3)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:320:12
at initializePromise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/-internal.js:236:5)
at new Promise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/promise.js:143:33)
at BroccoliExtractSchema.Filter._handleFile (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:306:10)
at changeOperation (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:266:25)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:50:47
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:196:27
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:74:12
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:4096:9
(node:32410) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)
(node:32410) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, unlink '/var/folders/5s/d0fql03n6mj78fw8b5mk0x3m0000gn/T/broccoli-32410hNb44irLJiQI/out-322-broccoli_persistent_filter_broccoli_extract_schema/assets/dummy.makeup.json'
at Object.unlinkSync (fs.js:1057:3)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:320:12
at initializePromise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/-internal.js:236:5)
at new Promise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/promise.js:143:33)
at BroccoliExtractSchema.Filter._handleFile (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:306:10)
at changeOperation (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:266:25)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:50:47
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:196:27
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:74:12
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:4096:9
(node:32410) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10)
(node:32410) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, unlink '/var/folders/5s/d0fql03n6mj78fw8b5mk0x3m0000gn/T/broccoli-32410hNb44irLJiQI/out-322-broccoli_persistent_filter_broccoli_extract_schema/assets/dummy.makeup.json'
at Object.unlinkSync (fs.js:1057:3)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:320:12
at initializePromise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/-internal.js:236:5)
at new Promise (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/node_modules/rsvp/dist/lib/rsvp/promise.js:143:33)
at BroccoliExtractSchema.Filter._handleFile (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:306:10)
at changeOperation (/Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:266:25)
at /Users/thomas/code/packages/ember-makeup/node_modules/broccoli-persistent-filter/index.js:50:47
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:196:27
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:74:12
at /Users/thomas/code/packages/ember-makeup/node_modules/async-promise-queue/node_modules/async/dist/async.js:4096:9
(node:32410) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)
However, running it with BROCCOLI_DEBUG='ember-makeup:*' ember s will work.
My hypothesis is: That broccoli is keeping no cache for the debug build and will create files over and over again, whereas the "prod" build will keep a cache and then it tries to unlink a not-anymore-existing file.
There is two potential errors:
ember-makeup is configured improperly at some point
When running
ember servewithember-makeupinstalled and changing any*.cssfile, there will be aBuild Error.I do get this one:
However, running it with
BROCCOLI_DEBUG='ember-makeup:*' ember swill work.My hypothesis is: That broccoli is keeping no cache for the debug build and will create files over and over again, whereas the "prod" build will keep a cache and then it tries to unlink a not-anymore-existing file.
There is two potential errors:
ember-makeupis configured improperly at some pointbroccoli-persistent-filter. I might find this line reasonable for this: https://github.com/broccolijs/broccoli-persistent-filter/blob/598264ab44fcccdd433abecaacb9181959cdac16/index.js#L312 more theifcondition that it tries to unlink a file wo/ checking if it actually exists.