GithubHelp home page GithubHelp logo

Comments (7)

jonathan-casarrubias avatar jonathan-casarrubias commented on August 16, 2024

@ittechsathish thanks for reaching out,

Hey so I think this build script is incomplete, it won't be creating the source since the tsc part is not there

https://github.com/onixjs/starter/blob/master/package.json#L7

it should be something like

{
  "scripts": {
    "build": "npm run clean && npm run lint:fix && ./node_modules/.bin/tsc"
  }
}

./node_modules/.bin/tsc is the part that will create the dist directory

from starter.

jonathan-casarrubias avatar jonathan-casarrubias commented on August 16, 2024

@ittechsathish try version 1.0.2 of this starter by pulling the latest change and verify if @kattsushi's fix works.

Cheers
Jon

from starter.

ittechsathish avatar ittechsathish commented on August 16, 2024

New version also not working.
Please verify.

dist folder also not created.

npm start
@onixjs/[email protected] start C:\Users\sveerakumar\Documents\onix-study
npm run build && node dist/index.js

@onixjs/[email protected] build C:\Users\sveerakumar\Documents\onix-study
npm run lint:fix && node_modules/.bin/tsc

@onixjs/[email protected] lint:fix C:\Users\sveerakumar\Documents\onix-study
npm run prettier:fix

@onixjs/[email protected] prettier:fix C:\Users\sveerakumar\Documents\onix-study
npm run prettier:cli -- --write

@onixjs/[email protected] prettier:cli C:\Users\sveerakumar\Documents\onix-study
prettier "/*.ts" "/*.js" "--write"

src\example.app\example.component.ts 496ms
src\example.app\example.model.ts 13ms
src\example.app\example.module.ts 10ms
src\example.app\index.ts 11ms
src\example.app\mongo.datasource.ts 19ms
src\index.ts 20ms
'node_modules' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @onixjs/[email protected] build: npm run lint:fix && node_modules/.bin/tsc
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @onixjs/[email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sveerakumar\AppData\Roaming\npm-cache_logs\2018-05-10T10_08_16_448Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @onixjs/[email protected] start: npm run build && node dist/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @onixjs/[email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sveerakumar\AppData\Roaming\npm-cache_logs\2018-05-10T10_08_16_548Z-debug.log

from starter.

jonathan-casarrubias avatar jonathan-casarrubias commented on August 16, 2024

Would you mind to try the latest I published, that should work if still is not, just install typescript globally

Npm install -g typescript

Cheers
Jon

from starter.

ittechsathish avatar ittechsathish commented on August 16, 2024

It is working Thanks

from starter.

jonathan-casarrubias avatar jonathan-casarrubias commented on August 16, 2024

@ittechsathish awesome, I was blindly trying to fix that but I was pretty sure the latest publish should work...

I really appreciate you early testing the framework, don't hesitate to report any other issue you might find or even any improvement.

We are very close to beta, I'm just trying to fix a couple of performance issues related to disconnections and unsubscriptions, hopefully, when I fix those I will be publishing the beta version, so having people like you trying out and providing feedback will be much appreciated

For now I'm closing this 2 issues...

Cheers
Jon

from starter.

Related Issues (4)

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.