Adding router package to Meteorite gives error

I got acquainted with the book Meteor. So far so good, but trying to add router package gives me below error. I tried to remove packages but to no avail. I have not been able to find someone with a similar problem.

$ mrt add router

โœ“ router
    tag: https://github.com/tmeasday/meteor-router.git#v0.6.1
โœ“ page-js-ie-support
    tag: https://github.com/tmeasday/meteor-page-js-ie-support.git#v1.3.5
โœ“ HTML5-History-API
    tag: https://github.com/tmeasday/meteor-HTML5-History-API.git#v4.1.2

Done installing smart packages

/usr/local/lib/node_modules/meteorite/lib/meteor.js:145
          throw error;
                ^
Error: Command failed: => Errors while scanning packages:

While reading package from `/Users/flowen/Documents/_htdocs/microscope/packages/HTML5-History-API`:
error: Package names can only contain lowercase ASCII alphanumerics, dash, dot, or colon, not "H".

While reading package from `/Users/flowen/Documents/_htdocs/microscope/packages/router`:
package.js:21:9: Package names can only contain lowercase ASCII alphanumerics, dash, dot, or colon, not "H".

    at ChildProcess.exithandler (child_process.js:637:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)

      

+3


source to share


3 answers


Actually with Meteor 0.9. * I think the meteor router is no longer in use. Meteor hopes to implement an iron router that can be produced by the meteoric addition of iron: a router.



Also, with newer versions, meteor mrt is no longer required. You can get all packages from the atmospere repo using the meteor add command.

+1


source


I admit that I was too quick in submitting my question. But maybe this answer will help others.

Just rename the package to lowercase and also the link in package.json (the whole path is displayed as an error).



It's hard to believe that such a bug exists, and only I had it?

0


source


to run the package again, just rename HTML5-History-API to html5-history-api to package.js and to / symlink folder too

0


source







All Articles