Scratch-gui: npm start error !! [React Intl] `undefined()` must be called with an object expression with values that are React Intl Message Descriptors, also defined as object expressions.

Created on 28 May 2019  ·  10Comments  ·  Source: LLK/scratch-gui

image
image

what should i do?

my nodejs(v12.3.1) and source code are all newest.

Most helpful comment

@wenxy @wwfnba45 @lucky2009 @chenmonster @chaojimct
I managed to solve this issue by downgrading version under package.json and details are listed as following:-
@@"react-intl": "2.8.0",
"scratch-l10n": "3.1.20181220222259"

All 10 comments

Me too, no one knows how to solve it?

I met the same problem since I tried to get the newest version.

image

me2!!!

me 2

I brought the folder node_modules from my colleague, then it work well.
image
image

I brought the folder node_modules from my colleague, then it work well.
image
image

I guess that some of the npm dependence should be the old version

@wenxy @wwfnba45 @lucky2009 @chenmonster @chaojimct
I managed to solve this issue by downgrading version under package.json and details are listed as following:-
@@"react-intl": "2.8.0",
"scratch-l10n": "3.1.20181220222259"

@wenxy @wwfnba45 @lucky2009 @chenmonster @chaojimct
I managed to solve this issue by downgrading version under package.json and details are listed as following:-
@@"react-intl": "2.8.0",
"scratch-l10n": "3.1.20181220222259"

I did like this and "run start" success! thx
image

@p0562153 I try and it works ok, thx!

@p0562153 thanks a lot!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thisandagain picture thisandagain  ·  3Comments

davidaylaian picture davidaylaian  ·  4Comments

ericrosenbaum picture ericrosenbaum  ·  4Comments

cyx2015s picture cyx2015s  ·  4Comments

ntlrsk picture ntlrsk  ·  3Comments