Comments (5)
My "solution" was to switch to cra-universal, which I've been quite happy with and did not require ejection.
from react-app.
I'm having the exact same issue with animate.css
. Did you find a solution @zamirkhan?
/home/garet/Code/garet.io/node_modules/animate.css/animate.min.css:1
(function (exports, require, module, __filename, __dirname) { @charset "UTF-8";
^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.animate.css/animate.min.css (/home/garet/Code/garet.io/build/server.js:2697:18)
I'm guessing there must be a difference with the css-loader
used in react-app
. Since we don't have access to the webpack config I'm not sure if it's possible to fix without ejecting.
from react-app.
I'll check it out, thanks for the suggestion!
from react-app.
any updates? running into this same issue with
node_modules/react-datepicker/dist/react-datepicker.css:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){@charset "UTF-8";
SyntaxError: Invalid or unexpected token
from react-app.
any updates? running into this same issue with
node_modules/react-datepicker/dist/react-datepicker.css:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){@charset "UTF-8";
SyntaxError: Invalid or unexpected token
Same here. Have you got the solution? @lyndseyjw
from react-app.
Related Issues (20)
- Different package.json files HOT 6
- Create screenshots demonstrating how this tool works
- Project name inconsistancy HOT 2
- Error: Cannot find module 'react-app-tools/run' HOT 3
- Rename 'pages' folder to 'routes'
- Add deployment script
- React-app SDK v1.1.1 update fails HOT 3
- Add tests
- react-app new fails after install HOT 8
- Add a configuration file with application settings HOT 1
- 404 errors on main.js and core/store.js of Features section
- Deploy app in S3 subfolder HOT 1
- Unable to start App HOT 1
- Need documentation HOT 3
- assets.json file structure HOT 2
- issue with react-app HOT 1
- v3 - Commas added in body HOT 1
- Vulnerabilty in webpack-dev-server dependency of react-app-tools
- No package.json created HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-app.