Results 1 to 2 of 2

Thread: I get the error "port is not defined" when updating webpack config

  1. #1
    Sencha User
    Join Date
    Oct 2018
    Posts
    2
    Vote Rating
    0
      0  

    Default I get the error "port is not defined" when updating webpack config

    I have an existing app, created via `npm create-react-app`. I then followed the directions found here:
    https://docs.sencha.com/extreact/6.6...k_config_files

    The directions have me update plugins with this entry:

    Code:
    new HtmlWebpackPlugin({
        template: 'index.html',   
        hash: true
      }), 
      new ExtReactWebpackPlugin({
        port:port,
      })
    But there is no variable "port" defined above, and the app fails to build.

    Where and how should "port" be defined?

    Thanks!

  2. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    556
    Answers
    3
    Vote Rating
    -260
      0  

    Default

    Hello! I have sent this over to support to look into. They will reach out to you shortly. I appreciate your patience!

    Thanks,
    Michele

Similar Threads

  1. Replies: 4
    Last Post: 19 Jul 2016, 10:38 AM
  2. Sencha packaging generate error "document is not defined"
    By JessyL in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 30 Dec 2012, 9:10 AM
  3. Replies: 2
    Last Post: 8 Dec 2009, 8:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •