-
Notifications
You must be signed in to change notification settings - Fork 918
run lint: esw webpack.config #37
Comments
esw is eslint-watch. It's a wrapper around eslint that adds watch capability. Regarding your issue, if you have a .eslintrc in your user file, be sure to delete it. It's likely conflicting with the course's .eslintrc. If that doesn't work, please check this list: https://github.com/coryhouse/pluralsight-redux-starter#having-issues-try-these-things-first |
i've fixed it. It was complaing about paths which i think is an issue with eslint-watch 2.1.11. I updated to 2.1.14 (both globally and locally) and it fixed it |
Hi @coryhouse, Please find my debug log here on git: |
I have managed to fix this issue by following the instructions from Evilcat325 on this thread |
Node version:6.10.0 npm version:3.9.5 Operating system:Win 10 My npm start commad is running properly, but when i use npm run lint than their are 5 errors and 1 warning (which are mentioned in above image),
Below is my project github link |
The link you provided doesn't work, but based on the screenshot, it looks like you just need to run npm install. :) |
Hi Cory npm modules are already installed, I think there are some linting issues, I have tried lot but my project link is not working |
I just cloned that repo, ran npm install, then npm start and it started fine without any warnings. |
i am also doing the same thing from the last night, but i am not able to
debug the console errors
…On Mon, Apr 10, 2017 at 3:45 PM, Cory House ***@***.***> wrote:
I just cloned that repo, ran npm install, then npm start and it started
fine without any warnings.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQSpRW089Zt4PKJlw8QZ5XW_E4VrA09Iks5ruhZdgaJpZM4K2kBf>
.
|
Here's what I get. It looks like you just didn't run npm install. cory@Mac ~/Desktop/react-redux-library [7:44:31]
/Users/cory/Desktop/react-redux-library/src/index.js (0/1) ! 1 warning (7:44:36 AM) |
I dont know what is happening, i have deleted node modules folder and run
npm install many times, i am moving towards the initial app structure ,
their is an same issue of unresolve path
C:\Users\Zenul\desktop\react-redux-bookstore\src\components\about\HomePage.js
(2/0)
✖ 1:32 Unable to resolve path to module 'react'
import/no-unresolved
✖ 2:20 Unable to resolve path to module 'react-router'
import/no-unresolved
✖ 2 errors (4:47:18 PM)
C:\Users\Zenul\desktop\react-redux-bookstore\src\components\about\HomePage.js
(2/0)
✖ 1:32 Unable to resolve path to module 'react'
import/no-unresolved
✖ 2:20 Unable to resolve path to module 'react-router'
import/no-unresolved
✖ 2 errors (4:47:18 PM)
…On Mon, Apr 10, 2017 at 4:45 PM, Cory House ***@***.***> wrote:
Here's what I get. It looks like you just didn't run npm install.
***@***.*** ~/Desktop/react-redux-library [7:44:31]
$ npm run lint
***@***.*** lint /Users/cory/Desktop/react-redux-library
esw webpack.config.* src tools
/Users/cory/Desktop/react-redux-library/src/index.js (0/1)
! 1:1 Unexpected console statement no-console
! 1 warning (7:44:36 AM)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQSpRS5rrVTTi9tm2Azm-sJZ0LnI94wbks5ruiRygaJpZM4K2kBf>
.
|
Make sure you're running npm install in the same path as package.json. You should see node_modules populated with many folders after you do. |
The package.json and node-modules are in same root folder, If I run npm
start without linting, than it is working properly but if I use with
lintion than it is giving same error below
C:\Users\Zenul\desktop\react-redux-bookstore\src\components\about\HomePage.js
(2/0)
✖ 1:32 Unable to resolve path to module 'react'
import/no-unresolved
✖ 2:20 Unable to resolve path to module 'react-router'
import/no-unresolved
C:\Users\Zenul\desktop\react-redux-bookstore\src\components\home\AboutPage.js
(1/0)
✖ 1:32 Unable to resolve path to module 'react' import/no-unresolved
C:\Users\Zenul\desktop\react-redux-bookstore\src\index.js (0/1)
! 1:1 Unexpected console statement no-console
C:\Users\Zenul\desktop\react-redux-bookstore\tools\server.js (4/0)
✖ 1:21 Unable to resolve path to module 'express'
import/no-unresolved
✖ 2:21 Unable to resolve path to module 'webpack'
import/no-unresolved
✖ 4:20 Unable to resolve path to module '../webpack.config.dev'
import/no-unresolved
✖ 5:18 Unable to resolve path to module 'open'
import/no-unresolved
C:\Users\Zenul\desktop\react-redux-bookstore\tools\startMessage.js (1/0)
✖ 1:20 Unable to resolve path to module 'colors' import/no-unresolved
✖ 9 errors ! 1 warning (5:42:32 PM)
…On Mon, Apr 10, 2017 at 5:05 PM, Cory House ***@***.***> wrote:
Make sure you're running npm install in the same path as package.json. You
should see node_modules populated with many folders after you do.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQSpRflohM-iLrz0dwhW5rfQauatuIkuks5ruikogaJpZM4K2kBf>
.
|
Try |
Node version:6.9.1
npm version:3.10.8
Operating system:Win 10
Command line used:npm run lint
![image](https://cloud.githubusercontent.com/assets/3627429/20434259/eef8e706-ad9e-11e6-8f1b-43223d399d10.png)
Steps to reproduce:
I run the command npm run lint and get this issue with the esw script.
I've got esw.cmd and esw in /.bin folder but this script won't run
Why is it being run through esw rather than eslint?
The text was updated successfully, but these errors were encountered: