Git Product home page Git Product logo

Comments (6)

coryhouse avatar coryhouse commented on June 15, 2024

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.

zeegeek avatar zeegeek commented on June 15, 2024

I had the same issue after running "npm install [email protected]" the error was gone.

from pluralsight-redux-starter.

SpartaSixZero avatar SpartaSixZero commented on June 15, 2024

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.

coryhouse avatar coryhouse commented on June 15, 2024

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.

SpartaSixZero avatar SpartaSixZero commented on June 15, 2024

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.

coryhouse avatar coryhouse commented on June 15, 2024

Great to hear!

from pluralsight-redux-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.