Comments (9)
Looks to be related to this issue -- the solution for me was similar to the above-suggested .flowconfig addition:
[ignore]
.*/node_modules/eslint-plugin-jsx-a11y
from js-stack-from-scratch.
changing dog.js back to...
module.exports = Dog
seems to fix it. is it a problem with the part two under: "Add Flow annotations to src/dog.js like so:"
from js-stack-from-scratch.
I'm using this, found it once somewhere online after a long night of things not working:
[ignore]
<PROJECT_ROOT>/node_modules/.*
from js-stack-from-scratch.
added to my .flowconfig
[ignore]
./node_modules/eslint-plugin-jsx-a11y/
now just getting:
5: const toby = new Dog('Toby')
^^^^^^^^^^^^^^^ constructor call. Constructor cannot be called on
5: const toby = new Dog('Toby')
^^^ CommonJS exports of "./dog"
from js-stack-from-scratch.
Just wanted to note that I had the same set of issues as @markandersonus although his proposed fixes didn't solve it in my case. For now I'm just going to remove flow from the test script.
from js-stack-from-scratch.
I'm seeing the same issues as @slifty - similarly the changes @markandersonus suggests do not fix for me.
from js-stack-from-scratch.
My ignore looks like this and works well for me:
[ignore] .*/node_modules/eslint-plugin-jsx-a11y/.*
from js-stack-from-scratch.
Same issue here @qwoz ignore works perfectly in my case
from js-stack-from-scratch.
Had same issue, @qwoz's solution worked
from js-stack-from-scratch.
Related Issues (20)
- Feature suggestion: Form inputs HOT 3
- last step in section 3 fails on Windows (following instruction on github web page) HOT 1
- Would be cool to add a chapter of service worker and offline first approach HOT 1
- how to work with mongodb to implement user registration and login? HOT 1
- Issue with react-jss HOT 2
- Error setting up ESLint HOT 1
- Flow error in chapter 04. Flow error: (This type is incompatible with the expected param type of Element) HOT 1
- jest's collectCoverageFrom
- .jsx instead of .js HOT 2
- 2|server | Error: Cannot find module 'E:\workspaces\JsStackFromScratch\node_mo dules\[email protected]@pm2\lib\ProcessContainerFork.js' HOT 2
- Add AWS Elastic Beanstalk instructions pass production build HOT 1
- V3 Roadmap HOT 12
- Issue with npm start command instead of yarn dev:start HOT 1
- jest : SecurityError: localStorage is not available for opaque origins HOT 1
- Lesson 4 - React - App Crash waiting for file changes. HOT 2
- Add instructions to deploy in DigitalOcean
- Out of date HOT 1
- Installing ESLint on windows
- Js
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 js-stack-from-scratch.