Giter VIP home page Giter VIP logo

Comments (7)

fbessou avatar fbessou commented on June 2, 2024

Case 1: Installed through npm
If you installed this package as a node module through npm, you can't run the start script. The npm version of this package is meant to be required by an application.
If you want to test this take a look at https://github.com/fbessou/angular2-schema-form-demo

Case 2: Cloned from github
Your screenshot does not include the informative part of the message. A guess would be that you have to set the environment variable ENV_NODE to production manually before calling npm start(or try to use a unix shell):

set NODE_ENV=production

Note that currently this module's API (and angular 2) is currently unstable and should not be used in production code

from ngx-schema-form.

Freest10 avatar Freest10 commented on June 2, 2024

Sorrry. I tried to install "https://github.com/fbessou/angular2-schema-form-demo" on windows 10 and it failed. On ubuntu 16.04 it works.
angular2-schema-form-demo-windows10

from ngx-schema-form.

fbessou avatar fbessou commented on June 2, 2024

Seems like the port 3002 is already taken on your system. You can change it in webpack.config.js in the devServer section.

from ngx-schema-form.

Freest10 avatar Freest10 commented on June 2, 2024

3002 is free. I tried on 3000.....it doesnt help. .Seems like the webpark-dev-server not compatible with windows.

from ngx-schema-form.

Freest10 avatar Freest10 commented on June 2, 2024

Sorry, it was a problem with the port.

from ngx-schema-form.

fbessou avatar fbessou commented on June 2, 2024

Ok, I'm closing this issue then.

from ngx-schema-form.

Freest10 avatar Freest10 commented on June 2, 2024

Ok, thx)

from ngx-schema-form.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.