4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
10.82k stars 848 forks source link

Problem launching newIDE : Can't resolve '@lingui/core' #1047

Closed nicolassargos closed 5 years ago

nicolassargos commented 5 years ago

Describe the bug

Hi there,

I'am actually trying to create an extension for a personal project. I followed the instructions and ran the windows batch linked in the "Quick Install" here: https://github.com/4ian/GDevelop/blob/master/newIDE/README.md#development-of-the-standalone-app

Unfortunately, when I run 'npm start', here is the code I have in the console: 'Failed to compile. ./src/Utils/i18n/GDI18nProvider.js Module not found: Can't resolve '@lingui/core' in 'C:\Users...\Documents\GDevelop\newIDE\app\src\Utils\i18n'

For info, I installed node.js 8.15.0 (because I had some other problems with latest version) and GDevelop 5.0.0-bea68.

After checking, the file GDI18nProvider.js is in folder 'C:\Users...\Documents\GDevelop\newIDE\app\src\Utils\i18n'

Lingui_Bug

Here is the screenshot of the console. Can anyone help me ?

nicolassargos commented 5 years ago

Ok, Strangely, deleting then reinstalling node_modules made it work. I guess you can close this issue.

nicolassargos commented 5 years ago

Ok, Strangely, deleting then reinstalling node_modules made it work. I guess you can close this issue.

4ian commented 5 years ago

Strange, if you can reproduce the problem again let me know!