I need some help here..
Just updated my ember-cli to 0.1.9 version and the only problem is this warning:
Warning: ignoring input sourcemap for bower_components/route-recognizer/dist/route-recognizer.js because ENOENT, no such file or directory '/Users/Zaca/Eyenetra/portal/tmp/tree_merger-tmp_dest_dir-kOIywY0K.tmp/bower_components/route-recognizer/dist/route-recognizer.js.map'
Here's my call to this addon on brocfile.js:
//brocfile.js
(...)
app.import('bower_components/moment/moment.js');
app.import({development: 'bower_components/route-recognizer/dist/route-recognizer.js'});
app.import({development: 'bower_components/FakeXMLHttpRequest/fake_xml_http_request.js'});
app.import({development: 'bower_components/pretender/pretender.js'});
module.exports = app.toTree();
This happens when I build my project for tests and for local server.
Any ideas?
Thanks for the help! o/
We have actually moved away from using Pretender, since at the moment we always have a staged API up and running.
In doing that, we removed the following from our Brocfile:
app.import({development: 'bower_components/route-recognizer/dist/route-recognizer.js'});
app.import({development: 'bower_components/FakeXMLHttpRequest/fake_xml_http_request.js'});
app.import({development: 'bower_components/pretender/pretender.js'});
With that the warning went away.
Aside: I'm unsure of the implications of not having route-recognizer there, but so far there has been no effect without it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With