Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples/AngularCLI]: meteor-client-bundler doesn't like 'static-html' #1950

Closed
5 tasks done
atao60 opened this issue Aug 18, 2018 · 2 comments
Closed
5 tasks done

Comments

@atao60
Copy link

atao60 commented Aug 18, 2018

  • A descriptive title
  • An isolated way to reproduce the behavior (example: GitHub repository with code isolated to the issue that anyone can clone to observe the problem)
  • What version of angular-meteor you're using, and the platform(s) you're running it on
  • What packages or other dependencies you're using
  • The behavior you expect to see, and the actual behavior

See demo on github: https://github.com/atao60/angular-meteor-example-AngularCLI-bare. It's in a non working status to show the issue.

The installation is described in detail in the file HISTORY.

Trying to set up a minimal configuration to be used with meteor-client-bundler, I started from scratch and used meteor create --base in place of meteor create. Then meteor-client-bundler crashed:

Errors prevented bundling:                    
While processing files with static-html (for target web.browser):
client/main.html:12: Expected <head> or <body> tag

While processing files with static-html (for target web.browser.legacy):
client/main.html:12: Expected <head> or <body> tag

/home/pierre/Développements/pwa/cornflourblue-ng6-bs4-login/demo7B/node_modules/meteor-client-bundler/node_modules/execa/index.js:350
		throw err;
		^

As soon as static-html is removed from api/.meteor/packages, everything runs fine.

meteor-client-bundler should be able to deal with api/.meteor/packages's content, whatever the template used to create it.

@ardatan
Copy link
Collaborator

ardatan commented Aug 18, 2018

Could you please open this issue in meteor-client-bundler repository?

@ardatan ardatan closed this as completed Aug 18, 2018
@atao60
Copy link
Author

atao60 commented Aug 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants