Open BojanKogoj opened 5 years ago
Below is is what I got after trying to build. All I did was clone this repo, use npm i and run it. I'm assuming this should run as an example, but doesn't?
npm i
➜ angular-esri-components git:(master) ng serve --port 4202 ** Angular Live Development Server is listening on localhost: 4202, open your browser on http://localhost:4202/ ** Date: 2019-02-06T12:50:52.927Z Hash: 3ca42da5d468f443aba8 Time: 4668ms chunk {main} main.js, main.js.map (main) 1.97 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 702 bytes [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 16.1 kB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered] ERROR in src/app/app.component.ts(2,36): error TS2307: Cannot find module 'angular-esri-components'. src/app/app.component.ts(12,18): error TS2503: Cannot find namespace '__esri'. src/app/app.component.ts(15,22): error TS2503: Cannot find namespace '__esri'. src/app/app.component.ts(19,8): error TS2503: Cannot find namespace '__esri'. src/app/app.component.ts(20,12): error TS2503: Cannot find namespace '__esri'. src/app/app.component.ts(24,28): error TS2503: Cannot find namespace '__esri'. src/app/app.component.ts(24,49): error TS2503: Cannot find namespace '__esri'. src/app/app.module.ts(3,35): error TS2307: Cannot find module 'angular-esri-components'. ℹ 「wdm」: Failed to compile.
Below is is what I got after trying to build. All I did was clone this repo, use
npm i
and run it. I'm assuming this should run as an example, but doesn't?