facebook

Npm Serve Configuration

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #617491 Reply

    edwarzhang
    Participant

    Hi,

    I have a create-react-app bootstrapped project that I was working on in visual studio code and would now like to move to eclipse with codemix. Following the react tutorial it seems that the tutorial has a web server using the Npm Serve configuration but creating a similar configuration with my project does not seem to work. The error produces is that bash -c has no arguments.

    #617509 Reply

    Wojciech Galanciak
    Participant

    edwarzhang,

    I am really happy to hear that you would like to use CodeMix for your React development. Instead of following the tutorial, I have tried the following simple steps:
    1. Create a new application by executing npx create-react-app my-app.
    2. Import my-app into CodeMix.
    3. Open any file, e.g. App.js.
    4. Click on a green start icon in the top right corner inside the editor (see the attachment).

    That should be enough to start serving the app. After that, you should see a Preview panel on the right of the code editor. If you change something and save, it should automatically detect the change and reload.

    If you have any comments or you still observe some issues, do not hesitate and let us know.

    Kind regards,
    Wojciech Galanciak
    Application Development Manager

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Npm Serve Configuration

You must be logged in to post in the forum log in