You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fusion@1.0.0 build D:\react-nitro-components
next build
Couldn't find a pages directory. Please create one under the project root
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fusion@1.0.0 build: next build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fusion@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
25lRunning tasks for *.{js,jsx,css,md} [started]
Running tasks for *.{js,jsx} [started]
npm run format-staged [started]
npm run lint-staged [started]
npm run lint-staged [failed]
→ × npm run lint-staged found some errors. Please fix them and try committing again.
Oops! Something went wrong! :(
ESLint: 4.19.1.
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
eslint --init
ESLint looked for configuration files in D:\react-nitro-components\tests-config and its ancestors. If it found none, it then looked in your home directory.
If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://gitter.im/eslint/eslint
Running tasks for *.{js,jsx} [failed]
→ × npm run lint-staged found some errors. Please fix them and try committing again.
Oops! Something went wrong! :(
ESLint: 4.19.1.
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
eslint --init
ESLint looked for configuration files in D:\react-nitro-components\tests-config and its ancestors. If it found none, it then looked in your home directory.
If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://gitter.im/eslint/eslint
Activity
vinaymavi commentedon Aug 7, 2018
can you please provide detailed logs?
sohonisaurabh commentedon Aug 7, 2018
Here the logs:
1. Build failing issue:
D:\react-nitro-components>npm run build
2. Commit issue
git commit -m "Test commit
husky > npm run -s precommit (node v8.9.4)
25lRunning tasks for *.{js,jsx,css,md} [started]
Running tasks for *.{js,jsx} [started]
npm run format-staged [started]
npm run lint-staged [started]
npm run lint-staged [failed]
→ × npm run lint-staged found some errors. Please fix them and try committing again.
Oops! Something went wrong! :(
ESLint: 4.19.1.
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
eslint --init
ESLint looked for configuration files in D:\react-nitro-components\tests-config and its ancestors. If it found none, it then looked in your home directory.
If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://gitter.im/eslint/eslint
Running tasks for *.{js,jsx} [failed]
→ × npm run lint-staged found some errors. Please fix them and try committing again.
Oops! Something went wrong! :(
ESLint: 4.19.1.
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
eslint --init
ESLint looked for configuration files in D:\react-nitro-components\tests-config and its ancestors. If it found none, it then looked in your home directory.
If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://gitter.im/eslint/eslint