Occur an error with me.

Issue #1 resolved
John Nguyen created an issue

Hi. this good project, i have just download your project and run but occur an error: "[[[[[ ~/works/shadow/nhac.meteor.com ]]]]]

Initializing mongo database... this may take a moment. => Errors prevented startup:

While building the application: error: no such package: 'iron-router' error: no such package: 'underscore-string' error: no such package: 'uri-js' error: no such package: 'npm' error: no such package: 'bootstrap-3' error: no such package: 'font-awesome-4'

=> Your application has errors. Waiting for file change."

please fix help me. thanks

Comments (6)

  1. Long Nguyen Hoang Du repo owner

    Hi johnsmeeth,

    You need to get dependency packages to make code work. Follow these steps:

    1. Install Meteorite at https://github.com/oortcloud/meteorite/
    2. Run app using command: cd ~/works/shadow/nhac.meteor.com && mrt

    I need update ReadMe file. Let's me know if any other errors occur.

  2. John Nguyen reporter

    i jus installed meteorite but met new error "[[[[[ ~/works/shadow/nhac.meteor.com ]]]]]

    => Errors prevented startup:

    While building the application: node_modules/meteorite/node_modules/ddp/node_modules/ws/examples/fileapi/public/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/ddp/node_modules/ws/examples/serverstats-express_3/public/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/ddp/node_modules/ws/examples/serverstats/public/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/prompt/node_modules/winston/node_modules/pkginfo/docs/pkginfo.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/ddp/node_modules/meteor-ejson/node_modules/underscore/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/ddp/node_modules/node-srp/node_modules/underscore/index.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/prompt/node_modules/pkginfo/docs/pkginfo.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/prompt/docs/prompt.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/colors/example.html:1: Can't set DOCTYPE here. (Meteor sets <!DOCTYPE html> for you) node_modules/meteorite/node_modules/prompt/node_modules/utile/node_modules/rimraf/bin.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/fstream/node_modules/rimraf/bin.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/test//argv.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/test//bin.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/bool.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/boolean_double.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/boolean_single.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/default_hash.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/default_singles.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/divide.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/line_count.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/line_count_options.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/line_count_wrap.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/nonopt.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/reflect.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/short.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/string.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/node_modules/optimist/example/xup.js:1:15: Unexpected token ILLEGAL node_modules/meteorite/bin/mrt.js:1:15: Unexpected token ILLEGAL

    => Your application has errors. Waiting for file change."

    i am using ubuntu OS.

  3. Long Nguyen Hoang Du repo owner

    Did you modify client/get.html? Please revert client/get.html to my commit.

    http://docs.meteor.com/#structuringyourapp

    "HTML files in a Meteor application are treated quite a bit differently from a server-side framework. Meteor scans all the HTML files in your directory for three top-level elements: <head>, <body>, and <template>. The head and body sections are separately concatenated into a single head and body, which are transmitted to the client on initial page load."

    If new error occur, please open new issue.

  4. John Nguyen reporter

    i am not modify any file. i am try to delete all and re pull to test. thanks your support

  5. Log in to comment