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

under windows - ERROR in HtmlWebpackPlugin: template error TypeError: tmpl is not a function #227

Closed
lzbgt opened this issue Jan 14, 2016 · 2 comments

Comments

@lzbgt
Copy link

lzbgt commented Jan 14, 2016

CLARIFICATION:

  1. the test was not taken under cygwin terimimal, but the native windows cmd prompt.
  2. envs:
E:\cygwin64\home\Administrator\work\angular2-webpack-starter>npm --version
2.14.12
E:\cygwin64\home\Administrator\work\angular2-webpack-starter>node --version
v4.2.4

The error screen:

E:\cygwin64\home\Administrator\work\angular2-webpack-starter>webpack
ts-loader: Using typescript@1.7.5 and E:\cygwin64\home\Administrator\work\angula
r2-webpack-starter\tsconfig.json
Hash: 2375744d38313717123a
Version: webpack 1.12.11
Time: 5940ms
                                 Asset       Size  Chunks             Chunk Name
s
    assets\icon\apple-icon-144x144.png    8.43 kB          [emitted]
                        main.bundle.js    10.5 kB       0  [emitted]  main
                              main.map    11.5 kB       0  [emitted]  main
                            vendor.map    5.69 MB       1  [emitted]  vendor
                     assets\humans.txt  251 bytes          [emitted]
                  assets\manifest.json  769 bytes          [emitted]
                     assets\robots.txt   31 bytes          [emitted]
              assets\service-worker.js   44 bytes          [emitted]
                   assets\css\.gitkeep   14 bytes          [emitted]
           assets\img\angular-logo.png      19 kB          [emitted]
      assets\img\angularclass-logo.png    36.7 kB          [emitted]
  assets\icon\android-icon-144x144.png    8.43 kB          [emitted]
  assets\icon\android-icon-192x192.png    9.71 kB          [emitted]
    assets\icon\android-icon-36x36.png     2.3 kB          [emitted]
    assets\icon\android-icon-48x48.png    2.92 kB          [emitted]
    assets\icon\android-icon-72x72.png    4.23 kB          [emitted]
    assets\icon\android-icon-96x96.png     5.6 kB          [emitted]
    assets\icon\apple-icon-114x114.png    6.55 kB          [emitted]
    assets\icon\apple-icon-120x120.png    6.92 kB          [emitted]
                      vendor.bundle.js    5.28 MB       1  [emitted]  vendor
    assets\icon\apple-icon-152x152.png    8.99 kB          [emitted]
    assets\icon\apple-icon-180x180.png      11 kB          [emitted]
      assets\icon\apple-icon-57x57.png     3.4 kB          [emitted]
      assets\icon\apple-icon-60x60.png    3.56 kB          [emitted]
      assets\icon\apple-icon-72x72.png    4.23 kB          [emitted]
      assets\icon\apple-icon-76x76.png    4.46 kB          [emitted]
assets\icon\apple-icon-precomposed.png    10.3 kB          [emitted]
            assets\icon\apple-icon.png    10.3 kB          [emitted]
         assets\icon\browserconfig.xml  281 bytes          [emitted]
         assets\icon\favicon-16x16.png    1.52 kB          [emitted]
         assets\icon\favicon-32x32.png    2.07 kB          [emitted]
         assets\icon\favicon-96x96.png     5.6 kB          [emitted]
               assets\icon\favicon.ico    1.15 kB          [emitted]
       assets\icon\ms-icon-144x144.png    8.43 kB          [emitted]
       assets\icon\ms-icon-150x150.png    8.88 kB          [emitted]
       assets\icon\ms-icon-310x310.png    24.1 kB          [emitted]
         assets\icon\ms-icon-70x70.png    4.12 kB          [emitted]
                            index.html   74 bytes          [emitted]
    + 513 hidden modules

ERROR in HtmlWebpackPlugin: template error TypeError: tmpl is not a function

E:\cygwin64\home\Administrator\work\angular2-webpack-starter>
@PatrickJS
Copy link
Owner

@PatrickJS
Copy link
Owner

@lzbgt I'm going to close this. can you install the repo again? I included more deps just incase they were not installed. you can open another issue or comment here

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

No branches or pull requests

2 participants