I'm having trouble removing a file from my Ember project without the Broccoli plugin breaking. I was playing around with Firebase hosting and firebase init
basically added a ton of files to my project... Now there is an app/index.html
file that won't let me load localhost as the index.html file just loads by default.
I can't remove the index.html file because if I do, I get this error:
file deleted index.html
The Broccoli Plugin: [ConfigReplace] failed with:
Error: ENOENT: no such file or directory, stat '/Users/maxwellluo/ember-website/tmp/config_replace-input_base_path-http://ift.tt/2aZyqNp'
at Error (native)
at Object.fs.statSync (fs.js:981:18)
at ConfigReplace.deriveCacheKey (/Users/maxwellluo/ember-website/node_modules/broccoli-config-replace/index.js:49:21)
at ConfigReplace.<anonymous> (/Users/maxwellluo/ember-website/node_modules/broccoli-config-replace/index.js:30:20)
at Array.forEach (native)
at ConfigReplace.build (/Users/maxwellluo/ember-website/node_modules/broccoli-config-replace/index.js:29:22)
at /Users/maxwellluo/ember-website/node_modules/broccoli-plugin/read_compat.js:61:34
at lib$rsvp$$internal$$tryCatch (/Users/maxwellluo/ember-website/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/Users/maxwellluo/ember-website/node_modules/rsvp/dist/rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (/Users/maxwellluo/ember-website/node_modules/rsvp/dist/rsvp.js:1019:11)
The broccoli plugin was instantiated at:
at ConfigReplace.Plugin (/Users/maxwellluo/ember-website/node_modules/broccoli-plugin/index.js:7:31)
at new ConfigReplace (/Users/maxwellluo/ember-website/node_modules/broccoli-config-replace/index.js:13:10)
at EmberApp.index (/Users/maxwellluo/ember-website/node_modules/ember-cli/lib/broccoli/ember-app.js:625:10)
at EmberApp.toArray (/Users/maxwellluo/ember-website/node_modules/ember-cli/lib/broccoli/ember-app.js:1565:10)
at EmberApp.toTree (/Users/maxwellluo/ember-website/node_modules/ember-cli/lib/broccoli/ember-app.js:1588:30)
at module.exports (/Users/maxwellluo/ember-website/ember-cli-build.js:23:14)
at CoreObject.module.exports.Task.extend.setupBroccoliBuilder (/Users/maxwellluo/ember-website/node_modules/ember-cli/lib/models/builder.js:54:19)
at CoreObject.module.exports.Task.extend.init (/Users/maxwellluo/ember-website/node_modules/ember-cli/lib/models/builder.js:89:10)
at CoreObject.superWrapper [as init] (/Users/maxwellluo/ember-website/node_modules/core-object/lib/assign-properties.js:32:18)
at CoreObject.Class (/Users/maxwellluo/ember-website/node_modules/core-object/core-object.js:32:33)
Now my Ember application just loads the index.html and I am stuck on what I should do to fix this problem...
Aucun commentaire:
Enregistrer un commentaire