1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. throw new Error(
    
  11.   'The React Server cannot be used outside a react-server environment. ' +
    
  12.     'You must configure Node.js using the `--conditions react-server` flag.',
    
  13. );