#1929·mean

BUILD ERROR following README installation instructions

Author: rafamontoyaCreated Dec 16, 2018Updated Sep 15, 2024

On Windows10 machine, following README installation instructions:

c:\code\mean>npm start

[email protected] start c:\code\mean concurrently -c "yellow.bold,green.bold" -n "SERVER,BUILD" "nodemon server" "ng build --watch"

[SERVER] [nodemon] 1.18.9 [SERVER] [nodemon] to restart at any time, enter rs [SERVER] [nodemon] watching: . [SERVER] [nodemon] starting node server [SERVER] ../../dist/ [SERVER] (node:8028) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. [SERVER] server started on port 4040 (development) [SERVER] (node:8028) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. [BUILD] [BUILD] Date: 2018-12-16T10:53:53.908Z [BUILD] Hash: 1b8a55cd0d0ed1e5b8ce [BUILD] Time: 7949ms [BUILD] chunk {main} main.js, main.js.map (main) 603 bytes [initial] [rendered] [BUILD] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 658 bytes [initial] [rendered] [BUILD] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.22 kB [entry] [rendered] [BUILD] chunk {styles} styles.js, styles.js.map (styles) 102 kB [initial] [rendered] [BUILD] [BUILD] ERROR in src/app/shared/shared.module.ts(4,34): error TS2307: Cannot find module '@angular/flex-layout'. [BUILD]

On Chrome browser, localhost:4040, you get:

{"message":"ENOENT: no such file or directory, stat 'c:\code\mean\dist\index.html'"}

Any clues? Thx in advance.