hygraph / reference-marketing-website

Next.js starter for creating a SaaS Marketing Website with Hygraph ⚡️

Home Page:https://marketing-websites.withheadlesscms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module not found: Can't resolve @/svgs

weisisheng opened this issue · comments

Upgraded to latest versions of dependencies in the package.json after working with this template successfully for a few months. This error now pops up and I can't seem to find a good solution googling around. Appreciate any trailheads.

error - ./components/navigation.js:16:0
Module not found: Can't resolve '@/svgs'
14 | import { Transition } from 'react-transition-group'
15 |

16 | import { LogoSVG, MarkSVG } from '@/svgs'
17 | import { MenuIcon, XIcon } from '@/icons'
18 |
19 | const defaultStyle = {

Import trace for requested module:
./components/layout/content.js
./components/layout/index.js
./pages/_app.js

Monkeying around with VScode, moved the /svgs folder out of the proper directory. Fixed now.