Comments (5)
@Joegrundman I had the same problem and have gotten it to work. I didn't spend the time to figure out which package is the problem, but if you use the exact same versions of all the packages in this repo in your own code, it works.
from react-yelp-clone.
Hi ddroche
thank you for the response, actually I have found the problem to be the react/react-dom/react-addons-test-utils 15.2.1 release. If it is rolled back to 15.2.0 it works fine. My guess is that it is in the utils-package. I have posted an issue on airbnb/enzyme about this
from react-yelp-clone.
I can now give a definitive response with thanks to @nfcampos at airbnb.
As of react15.2.1, Test utils cannot be run in production mode. This webpack setup has production config , development config and test config, but test config does not share development config
so:
in webpack.config. line 21:
isDev: isDev
change to
isDev: isDev || isTest
from react-yelp-clone.
Thanks for the update. I will update the webpack config to handle this case.
from react-yelp-clone.
Fixed this in the latest commit.
Thanks for reporting!
from react-yelp-clone.
Related Issues (20)
- Bug with reloading page HOT 1
- Error with History version in React-router HOT 3
- Error in the build process on windows. HOT 1
- error with scripts in Windows
- The browser shows nothing after configuring .env file with Google API Key HOT 10
- Problem with react-dom, react-router
- CSS Module Error HOT 1
- npm start error: Failed at the [email protected] start script 'cross-env NODE_ENV=development hjs-dev-server' HOT 2
- Cannot start devserver HOT 1
- Error: ENOENT: no such file or directory, open '.env'
- blank screen on win 10 and osx HOT 2
- why webpack can't find loader HOT 5
- cannot run tests
- hjs-dev-server failed to run ! and I dont know why... HOT 1
- Can't `npm start` after addition of css modules to project HOT 2
- Demo not loading - API limit reached HOT 1
- configuration has an unknown property 'postcss'. These properties are valid: HOT 1
- Couldn't start the server at step: Demo: Basic app.js HOT 1
- Error with command: npm start
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-yelp-clone.