SalamLang / Salam-Website

Salam Programming Language Website
https://www.salamlang.ir
4 stars 2 forks source link

Module not found: Can't resolve 'framer-motion' #232

Closed BaseMax closed 3 hours ago

BaseMax commented 5 hours ago

C:\Users\MAX\Salam-Website>bun install
bun install v1.1.29 (6d43b366)

1 package installed [1.60s]

C:\Users\MAX\Salam-Website>bun run build
$ next build
  ▲ Next.js 14.2.13

   Creating an optimized production build ...
   Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
 ✓ (pwa) Compiling for server...
 ✓ (pwa) Compiling for server...
 ✓ (pwa) Compiling for client (static)...
 ○ (pwa) Service worker: C:\Users\MAX\Salam-Website\public\sw.js
 ○ (pwa)   URL: /sw.js
 ○ (pwa)   Scope: /
   Using external babel configuration from C:\Users\MAX\Salam-Website\.babelrc
Failed to compile.

./src/components/atoms/Avatar.jsx
Module not found: Can't resolve 'framer-motion'

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

./src/components/common/Modal.tsx
Module not found: Can't resolve 'framer-motion'

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

Import trace for requested module:
./src/components/molecules/ProblemToDownloadModal.jsx
./src/components/molecules/DownloadItem.jsx

./src/components/molecules/Accordion.jsx
Module not found: Can't resolve 'framer-motion'

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

Import trace for requested module:
./src/components/organisms/AccordionContainer.jsx

./src/components/molecules/BoxSelectFont.jsx
Module not found: Can't resolve 'framer-motion'

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

Import trace for requested module:
./src/components/molecules/SelectFont.jsx
./src/components/molecules/DisplaySetting.jsx
./src/components/molecules/SettingModal.jsx
./src/components/molecules/Editor.jsx
./src/components/templates/PlaygroundOnline.jsx

./src/components/molecules/BoxSentCode.jsx
Module not found: Can't resolve 'framer-motion'

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

> Build failed because of webpack errors
error: script "build" exited with code 1
ali-josheghani commented 3 hours ago

بیلد گرفته شد ولی اروری مشاهده نشد