Comments (6)
Please review this list: https://github.com/coryhouse/pluralsight-redux-starter#having-issues-try-these-things-first
Report back if that doesn't fix it.
from pluralsight-redux-starter.
I had the same issue after running "npm install [email protected]" the error was gone.
from pluralsight-redux-starter.
Hi Cory, love your courses! I've taken the React-Flux course before this course and thoroughly enjoyed it. I'm experiencing the same error when I run
npm run build
Output:
> [email protected] lint /Users/ms030441/Documents/education/react/redux-pluralsight
> esw webpack.config.* src tools
/Users/ms030441/Documents/education/react/redux-pluralsight/src/index.js (1/0)
✖ 4:8 No default export found in module import/default
✖ 1 error (8:46:55 PM)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] lint: `esw webpack.config.* src tools`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ms030441/.npm/_logs/2017-06-15T00_46_55_298Z-debug.log
ERROR: lint: None-Zero Exit(1);
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prebuild: `npm-run-all clean-dist test lint build:html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ms030441/.npm/_logs/2017-06-15T00_46_55_334Z-debug.log
Node: v6.11.0
NPM: 5.0.3
OS: macOS Sierra 10.12.5
I've went through the troubleshooting steps in your above link including deleting node_modules directory and re-running npm install
However, I still see the same error after running npm run build
from pluralsight-redux-starter.
Thanks @SpartaSixZero! Does this issue occur for you with the final course exercise?
Have you tried installing the latest version of eslint-watch to see if that resolves?
from pluralsight-redux-starter.
Thanks Cory for your fast response!
Found out my error. I did not put the following line at the top of the file.
/*eslint-disable import/default*/
It was actually sandwiched between two of my imports and I just didn't realize that until now. Everything works perfectly!
from pluralsight-redux-starter.
Great to hear!
from pluralsight-redux-starter.
Related Issues (20)
- how to use mock api on server for demo purpose ??? HOT 1
- ManageCoursePage.js:72 Uncaught TypeError: Cannot read property 'map' of undefined HOT 1
- Chapter 13 - Testing React. HOT 1
- Chapter 9 - Redux Flow HOT 1
- Courses are not being loaded from the api - store.dispatch(loadCourses()); HOT 3
- npm start error HOT 11
- In production build getting some errors HOT 3
- Logic bug in courseActions HOT 6
- In mockAuthorApi.js, in deleteAuthor: findIndex is missing a return statement HOT 1
- In mock Api, in deleteAuthor and deleteCourse: findIndex is missing a return statement HOT 1
- How to Seo and share Facebook ? HOT 1
- Unexpected token < error when reloading course/:id route HOT 5
- Production build not using/loading correct css styling HOT 5
- Readme needs update - "Disable safe write" HOT 1
- How to deploy in Heroku the final project
- .
- ESLint: App not found in './components/App' (import/named) HOT 4
- Issue with CSS loading HOT 10
- delete functionality with starter kit HOT 1
- SyntaxError: Unexpected token import HOT 1
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 pluralsight-redux-starter.