Recognition Warning Route

I need help here.

Just updated my version of ember-cli to version 0.1.9, and the only problem is this warning:

Warning: ignoring the original source map for bower_components / route-resolver / dist / route-detectizer.js, because ENOENT, there is 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 is 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 the local server.

Any ideas?

Thanks for the help! about/

+7
ember-cli
source share
4 answers

We actually refused to use Pretender, because at the moment we always have a running API.

In doing so, 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 this warning went away.

In addition: I am not sure that there was no route recognition, but so far there has been no effect without it.

+1
source share

I still get this problem, even after deleting the folders of my component and tmp and clearing my caches. However, this seems to be a known issue that many other people experience:

https://github.com/tildeio/route-recognizer/issues/44

I will watch this to see when the update comes out. In the meantime, I think I just need to live with a warning.

A temporary fix already exists here:

https://github.com/tildeio/route-recognizer/pull/45/files

0
source share

After some cleaning, this warning was never repeated.

To really perform a cleanup, you need to do the following:

 rm -rf bower_components/ rm -rf dist rm -rf node_modules/ rm -rf tmp npm cache clean bower cache clean 

And, after, the standard installation steps

 npm install bower install 

Hope work for analog situations =)

0
source share

I found that the incorrect installation of some dependencies worked. We had dependencies of mirage and poison. I did

 ember install ember-cli-mirage ember install ember-cli-yadda 

and then

 ember build Built project successfully. Stored in "dist/" 

You do wonderful things with ember, and then there are days like this.

0
source share

All Articles