said7388 / developer-portfolio-nextjs

Software Developer Portfolio Template built with NextJS and Tailwind CSS with dark and light mode that helps you showcase your work and skills as a software developer.
https://abusaid.netlify.app/
MIT License
27 stars 20 forks source link

How i fix this #2

Open ReXiOP opened 1 year ago

ReXiOP commented 1 year ago

❯ npm run build --fix

developer-portfolio@0.1.0 build next build

info - Loaded env from /Users/nayeemmd/Desktop/profile/.env info - Linting and checking validity of types ..warn - The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config

./src/components/change-theme/change-theme.js 7:11 Warning: 'theme' is assigned a value but never used. no-unused-vars

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules info - Linting and checking validity of types Failed to compile.

./src/pages/blog/index.js Module not found: Can't resolve '../../data/blogData'

https://nextjs.org/docs/messages/module-not-found

./src/pages/project/index.js Module not found: Can't resolve '../../data/projectsData'

https://nextjs.org/docs/messages/module-not-found

Build failed because of webpack errors info - Creating an optimized production build .%

Armoo-81 commented 3 months ago

change the path '../../data/projects-Data' check path before build change blog path also