Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@impanda-cookie
Copy link

@impanda-cookie impanda-cookie commented Sep 9, 2016

fix eslint config error when run gulp scripts in win10 or does not assign any custom eslint config.(mac os work fine)

for example: if you clone blur-admin run in visual studio (restore all package) or any way run gulp scripts will reappear this error.

blur-admin\node_modules.1.10.3@eslint\lib\config\config-file.js:332
throw e;
^

Error: Cannot read config package: eslint-config-defaults/configurations/eslint
Error: Cannot find module 'eslint-config-defaults/configurations/eslint'

fix  eslint config error when run gulp in windows.
@impanda-cookie impanda-cookie changed the title fix eslint config error when run gulp in win10 or does not assign any custom eslint config. #bug# fix eslint config error when run gulp in win10 or does not assign any custom eslint config. Sep 9, 2016
zff1222 added a commit to zff1222/blur-admin that referenced this pull request May 3, 2017
akveo#161

fix eslint config error when run gulp scripts in win10 or does not assign any custom eslint config.(mac os work fine)

for example: if you clone blur-admin run in visual studio (restore all package) or any way run gulp scripts will reappear this error.

blur-admin\node_modules.1.10.3@eslint\lib\config\config-file.js:332
throw e;
^

Error: Cannot read config package: eslint-config-defaults/configurations/eslint
Error: Cannot find module 'eslint-config-defaults/configurations/eslint'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant