Giter VIP home page Giter VIP logo

Comments (6)

abate avatar abate commented on July 30, 2024 5

it seems you need to remove static-html and install blaze-html-templates

from iron-cli.

raym avatar raym commented on July 30, 2024

Same here.
Brand new app created with iron create <app-name> returns the following at iron run:

=> Errors prevented startup:                  
   
   While processing files with static-html (for target web.browser):
   client/templates/layouts/master_layout/master_layout.html:1: Expected <head> or <body> tag
   client/templates/shared/loading/loading.html:1: Expected <head> or <body> tag
   client/templates/shared/not_found/not_found.html:1: Expected <head> or <body> tag
   client/templates/home/home.html:1: Expected <head> or <body> tag
   
=> Your application has errors. Waiting for file change.

Each of those files has a <template> tag, and these errors will go away if I wrap the contents of each file with a <body> tag, but then of course the app can't find the template MasterLayout

$ iron version
1.8.1
$ meteor --version
Meteor 1.5.1

from iron-cli.

daresTheDevil avatar daresTheDevil commented on July 30, 2024

Same issue while building a test app.

meteor run --settings /Users/davidkay/PROJECTS/miqms-meteor/config/development/settings.json
[[[[[ ~/PROJECTS/miqms-meteor/app ]]]]]
=> Started proxy.
=> Errors prevented startup:

While processing files with static-html (for target web.browser):
client/templates/cars/create_car/create_car.html:1: Expected <head> or <body> tag
client/templates/layouts/master_layout/master_layout.html:1: Expected <head> or <body> tag
client/templates/shared/loading/loading.html:1: Expected <head> or <body> tag
client/templates/shared/not_found/not_found.html:1: Expected <head> or <body> tag
client/templates/home/home.html:1: Expected <head> or <body> tag

=> Your application has errors. Waiting for file change.
=> Started MongoDB.

Sierra 10.12.6
Version info:

$ iron version
1.8.1
$ meteor --version
Meteor 1.5.1

from iron-cli.

kingzuru avatar kingzuru commented on July 30, 2024

This is how I solved it

meteor remove static-html
meteor add blaze-html-templates

from iron-cli.

upadhyaya14 avatar upadhyaya14 commented on July 30, 2024

Errors prevented startup:

While processing files with static-html (for target web.browser):
client/Html/sidebar.html:1: Expected or tag

Please help me in resolving this error , I am getting this while defining my template

from iron-cli.

gilbertino avatar gilbertino commented on July 30, 2024

Errors prevented startup:

While processing files with static-html (for target web.browser):
client/main.html:16: Expected or tag

Your application has errors. Waiting for file change.

from iron-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.