tensorspace icon indicating copy to clipboard operation
tensorspace copied to clipboard

This is probably not a problem with npm. There is likely additional logging output above.

Open jiapei100 opened this issue 5 years ago • 1 comments

➜  helloworld-angular git:(master) ✗ npm run start

> [email protected] start ....../tensorspace/examples/helloworld-angular
> ng serve

Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
    at MergeMapSubscriber.project (....../tensorspace/examples/helloworld-angular/node_modules/@angular-devkit/core/src/workspace/workspace.js:215:42)
    at MergeMapSubscriber._tryNext (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
    at MergeMapSubscriber._next (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/Subscriber.js:67:18)
    at MergeMapSubscriber.notifyNext (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/operators/mergeMap.js:92:26)
    at InnerSubscriber._next (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
    at InnerSubscriber.Subscriber.next (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/Subscriber.js:67:18)
    at MapSubscriber._next (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/operators/map.js:55:26)
    at MapSubscriber.Subscriber.next (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/Subscriber.js:67:18)
    at SwitchMapSubscriber.notifyNext (....../tensorspace/examples/helloworld-angular/node_modules/rxjs/internal/operators/switchMap.js:86:26)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `ng serve`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [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!     ~/.npm/_logs/2020-04-14T08_44_32_072Z-debug.log

And I tried sudo npm run start, but

➜  helloworld-angular git:(master) ✗ sudo npm run start
sudo: npm: command not found

Can anybody give me a hand please?

Cheers Pei

jiapei100 avatar Apr 14 '20 08:04 jiapei100

我遇到了类似的问题,请问你解决了吗

Yun-Tianming avatar Apr 06 '23 18:04 Yun-Tianming