Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

مشکل در راه اندازی لوکال سایت #157

Closed
amirmahdi-nsh opened this issue Jul 3, 2020 · 6 comments
Closed

مشکل در راه اندازی لوکال سایت #157

amirmahdi-nsh opened this issue Jul 3, 2020 · 6 comments

Comments

@amirmahdi-nsh
Copy link
Contributor

سلام، بعد از فورک کردن پروژه و دستورات زیر به ارور بر می‌خورم.

git clone https://github.com/amirmahdi-nsh/fa.reactjs.org.git
cd fa.reactjs.org
yarn
yarn dev 
 ERROR #98123  WEBPACK
Generating SSR bundle failed
Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/amir/git/fa.reactjs.org/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/preset-env/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/core/lib/config/files/plugins.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/core/lib/config/files/index.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/core/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/babel-loader/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby/dist/utils/babel-loader.js
- /home/amir/git/fa.reactjs.org/node_modules/loader-runner/lib/loadLoader.js
- /home/amir/git/fa.reactjs.org/node_modules/loader-runner/lib/LoaderRunner.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/NormalModule.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/NormalModuleFactory.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/Compiler.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/webpack.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby/dist/commands/develop.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby-cli/lib/create-cli.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby-cli/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby/dist/bin/gatsby.js

File: .cache/develop-static-entry.js

not finished Generating image thumbnails - 27.319s


———————————————————————————————————————————————————————————————————————————————————————
320 pages                           In Progress                           react-website

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

که با npm update --depth 5 @babel/compat-data درست شد
گفتم در جریان باشید :)

@Mrezagolbaba
Copy link

I have same error in local
image

@sorousht
Copy link
Collaborator

sorousht commented Aug 9, 2020

@Mrezagolbaba مشکل برطرف شد؟

@Mrezagolbaba
Copy link

No, its have error , when I run yarn dev @sorousht

@sorousht
Copy link
Collaborator

sorousht commented Aug 9, 2020

لطفا دوباره این موارد رو بررسی کنید: ۱. آخرین تغییرات رو روی نسخه لوکال دارید ۲. ورژن node باید ۱۲ به بالا باشه

روی سیستم من که لینوکس هست مشکلی نیست و من متاسفانه ویندوز ندارم برای تست. اگر باز هم مساله برطرف نشد، به من اطلاع بدید که یه راهی پیدا کنم.

@Mrezagolbaba
Copy link

من با مستر هم آپدیت کردم اما همچنان مشکل دارم
@sorousht

@sJJdGG
Copy link
Member

sJJdGG commented Jul 17, 2021

Closing due to inactivity

@sJJdGG sJJdGG closed this as completed Jul 17, 2021
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

No branches or pull requests

4 participants