google / google/material-design-lite
Uncaught SyntaxError: Unexpected token <
- Dominant language
- HTML
- Stars
- 32.2k
- Forks
- 4.9k
- PR merge metrics
- No merged PRs in 30d
Description
## Bugs
Please include the following information with your bug report:
> What MDL Version are you using? (please be specific, e.g. _major.minor.patch_)
"material-design-lite": "^1.3.0"
> What browser(s) is this bug affecting (including version)?
Google Chrome
Version 67.0.3396.99 (Official Build) (64-bit)
> What OS (and version) are you using?
MacOS high sierra 10.13.5
> What are the steps to reproduce the bug? Can you create a plunker/codepen/jsfiddle which reproduces it?
Follow the installation step given at
https://getmdl.io/started/index.html
NPM
Simply install Material Design Lite files in your npm enabled project using:
Run the following command in a shell:
```npm install material-design-lite --save```
This will install the Material Design Lite library files in your project's node_modules folder.
Refer to these files by adding a and a element into your HTML pages and also include the Material Icon font:
```
<link rel="stylesheet" href="/node_modules/material-design-lite/material.min.css">
<script src="/node_modules/material-design-lite/material.min.js">
```
> What is the expected behavior?
Should work Properly
> What is the actual behavior?
Error Uncaught SyntaxError: Unexpected token < material.min.js:1
Contributor guide
Assessment
This issue has not been assessed yet.