Skip to content

Instantly share code, notes, and snippets.

@apipkin
Created March 23, 2015 13:31
Show Gist options
  • Save apipkin/8d8c1050c81f697b9b28 to your computer and use it in GitHub Desktop.
Save apipkin/8d8c1050c81f697b9b28 to your computer and use it in GitHub Desktop.
[09:30][apipkin:~/Desktop/player]$ npm run pack
> [email protected] pack /Users/apipkin/Desktop/player
> webpack --progress --colors
Webpak Config
Hash: 9a56cc72acac2de6f40c
Version: webpack 1.7.3
Time: 21ms
[0] ./src/js/app.jsx 0 bytes [built] [failed]
ERROR in ./src/js/app.jsx
Module parse failed: /Users/apipkin/Desktop/player/src/js/app.jsx Line 7: Unexpected token <
You may need an appropriate loader to handle this file type.
| var Player = require('./player/index.jsx');
|
| React.render(<Player>Hello</Player>, document.getElementById('app'));
|
|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment