2018-03-01から1日間の記事一覧
はじめに ERROR in src/app/app.component.ts(17,6): error TS2339: Property 'map' does not exist on type 'Observable<{}>'. AngularでRxJSを書いていて、上のエラーみたく"〇〇オペレータがないよ!!"と怒られることが多々あるので、RxJSのインポート方…
エラーに遭遇した状況 Angular CLIを使って、Angularプロジェクトを作成した後ng serveを実行してアプリを起動しようとしたら発生した。 $ ng new new-app $ cd new-app $ ng serve # エラー発生!! module.js:538 throw err; ^ Error: Cannot find module '@…