dbaxyx opened a new issue #2153:
URL: https://github.com/apache/incubator-shenyu/issues/2153


   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
    Error: Element type is invalid: expected a string (for built-in components) 
or a class/function (for composite components) but got: undefined. You likely 
forgot to export your component from the file it's defined in, or you might 
have mixed up default and named imports.
   
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   1、npm install  --save-dev --force  --registry=https://registry.npm.taobao.org
   2、npm run start
   3、chrome redirect to index
   4、the page says some error,the error info :
   
   > Error: Element type is invalid: expected a string (for built-in 
components) or a class/function (for composite components) but got: undefined. 
You likely forgot to export your component from the file it's defined in, or 
you might have mixed up default and named imports.
   
   ### Environment
   
   ```markdown
   ShenYu version(s):2.4.1-SNAPSHOT
   Node version:v13.14.0
   
   
   React Info:
   
   
   [email protected] | MIT | deps: 2 | versions: 617
   React is a JavaScript library for building user interfaces.
   https://reactjs.org/
   
   keywords: react
   
   dist
   .tarball: https://registry.npmjs.org/react/-/react-17.0.2.tgz
   .shasum: d0b5cc516d29eb3eee383f75b62864cfb6800037
   .integrity: 
sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
   .unpackedSize: 291.1 kB
   
   dependencies:
   loose-envify: ^1.1.0  object-assign: ^4.1.1 
   
   maintainers:
   - sebmarkbage <[email protected]>
   - gaearon <[email protected]>
   - acdlite <[email protected]>
   - brianvaughn <[email protected]>
   - fb <[email protected]>
   - trueadm <[email protected]>
   - sophiebits <[email protected]>
   - lunaruan <[email protected]>
   
   dist-tags:
   alpha: 18.0.0-alpha-b1a1cb116-20210924               latest: 17.0.2          
                             
   experimental: 0.0.0-experimental-b1a1cb116-20210924  next: 
18.0.0-alpha-b1a1cb116-20210924                
   
   published 6 months ago by gaearon <[email protected]>
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to