Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issues with web build #1

Open
safrant opened this issue Mar 5, 2018 · 0 comments
Open

Having issues with web build #1

safrant opened this issue Mar 5, 2018 · 0 comments

Comments

@safrant
Copy link

safrant commented Mar 5, 2018

The core and program build successfully, but the web gives the following:

Task :compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :frontend:npm_install
up to date in 4.758s

Task :frontend:build FAILED

[email protected] build:prod /Users/safrant/git/safrant-sparql-report-writer/web/frontend
ng build --prod --base-href /ncreportwriter/ && npm run copyAll

/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:226
this._children[name] = this._createChildProperty(name, value ? value[name] : undefined, forward ? forward.children[name] : null, propertySchema);
^

TypeError: Cannot read property 'glob' of null
at ObjectSchemaTreeNode._set (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:226:132)
at new ObjectSchemaTreeNode (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:211:14)
at OneOfSchemaTreeNode._createChildProperty (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:150:26)
at OneOfSchemaTreeNode._typesPrototype.schema.oneOf.map (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:163:25)
at Array.map ()
at OneOfSchemaTreeNode (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:162:48)
at ArraySchemaTreeNode._createChildProperty (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:150:26)
at ArraySchemaTreeNode._set (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:288:39)
at new ArraySchemaTreeNode (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:269:14)
at ObjectSchemaTreeNode._createChildProperty (/Users/safrant/git/safrant-sparql-report-writer/web/frontend/node_modules/@ngtools/json-schema/src/schema-tree.js:150:26)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:prod: ng build --prod --base-href /ncreportwriter/ && npm run copyAll
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:prod 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! /Users/safrant/.npm/_logs/2018-03-05T20_47_03_787Z-debug.log

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':frontend:build'.

Process 'command '/Users/safran/git/safrant-sparql-report-writer/web/frontend/.gradle/npm/npm-v5.6.0/bin/npm'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s
6 actionable tasks: 4 executed, 2 up-to-date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant