contentacms / contenta_angular

Contenta CMS Angular frontend
http://angular.contentacms.io
55 stars 19 forks source link

ng serve errors - webpack failed to compile #106

Open laurencefass opened 6 years ago

laurencefass commented 6 years ago

ERROR in ./src/app/shared/components/recipe-long/recipe-long.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor'

i've npm installed with no issues... hit some issue with typescript. there are so many dependencies i wouldnt know where to begin making changes without breaking something else. there are a lot of errors.

contenta@virtualmin:~/public_html/contenta_angular$ ng --version

_                      _                 ____ _     ___

/ \ | | / | | | | / △ \ | ' \ / ` | | | | |/ ` | '| | | | | | | / | | | | (| | || | | (| | | | |__| | | | // __| ||_, |_,||_,|| __|__|| |/

Angular CLI: 1.5.2 Node: 7.9.0 OS: linux x64 Angular: 5.0.2 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router, service-worker

@angular/cdk: 5.0.0-rc0 @angular/cli: 1.5.2 @angular/material: 5.0.0-rc0 @angular-devkit/build-optimizer: 0.0.33 @angular-devkit/core: 0.0.20 @angular-devkit/schematics: 0.0.36 @ngtools/json-schema: 1.1.0 @ngtools/webpack: 1.8.2 @schematics/angular: 0.1.5 typescript: 2.6.1 webpack: 3.8.1 contenta@virtualmin:~/public_html/contenta_angular$ ng serve

@angular/compiler-cli@5.0.2 requires typescript@'>=2.4.2 <2.5.0' but 2.6.1 was found instead. Using this version can result in undefined behaviour and difficult to debug problems.

Please run the following command to install a compatible version of TypeScript.

npm install typescript@'>=2.4.2 <2.5.0'

To disable this warning run "ng set warnings.typescriptMismatch=false".

NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ Date: 2018-02-15T12:25:06.129Z
Hash: 25b7e92fef4fe74c4932 Time: 62326ms chunk {home.module} home.module.chunk.js () 44.7 kB [rendered] chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered] chunk {main} main.bundle.js (main) 165 kB [initial] [rendered] chunk {polyfills} polyfills.bundle.js (polyfills) 605 kB [initial] [rendered] chunk {recipes.module} recipes.module.chunk.js () 77.1 kB [rendered] chunk {styles} styles.bundle.js (styles) 34.7 kB [initial] [rendered] chunk {vendor} vendor.bundle.js (vendor) 16.1 MB [initial] [rendered]

ERROR in ./src/app/shared/components/recipe-long/recipe-long.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/shared/components/recipe-long/recipe-long.component.ts 33:21-60 @ ./src/app/shared/shared.module.ts @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./src/styles/layout/styles.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/styles/layout/styles.scss 4:14-205 @ multi ./src/styles/layout/styles.scss ./src/styles/layout/material_theme.scss ERROR in ./src/app/app.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/app.component.ts 37:21-52 @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/components/header/header.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/components/header/header.component.ts 42:21-55 @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/components/sidenav/sidenav.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/components/sidenav/sidenav.component.ts 34:21-56 @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/components/features/features.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/components/features/features.component.ts 20:21-57 @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/shared/components/card/card.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/shared/components/card/card.component.ts 36:21-53 @ ./src/app/shared/shared.module.ts @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/shared/components/recipe/recipe.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/shared/components/recipe/recipe.component.ts 31:21-55 @ ./src/app/shared/shared.module.ts @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/shared/components/tag-cloud/tag-cloud.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/shared/components/tag-cloud/tag-cloud.component.ts 24:21-58 @ ./src/app/shared/shared.module.ts @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./src/styles/layout/material_theme.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/styles/layout/material_theme.scss 4:14-213 @ multi ./src/styles/layout/styles.scss ./src/styles/layout/material_theme.scss ERROR in ./src/app/recipes/components/filters/filters.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/recipes/components/filters/filters.component.ts 74:21-56 @ ./src/app/recipes/recipes.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/recipes/components/recipe-details/recipe-details.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/recipes/components/recipe-details/recipe-details.component.ts 28:21-63 @ ./src/app/recipes/recipes.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/recipes/components/recipes/recipes.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/recipes/components/recipes/recipes.component.ts 31:21-56 @ ./src/app/recipes/recipes.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/recipes/components/recipes-and-filters/recipes-and-filters.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/recipes/components/recipes-and-filters/recipes-and-filters.component.ts 100:21-68 @ ./src/app/recipes/recipes.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/home/components/home-banner/home-banner.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/home/components/home-banner/home-banner.component.ts 20:21-60 @ ./src/app/home/home.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/home/components/home-thumbs/home-thumbs.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/home/components/home-thumbs/home-thumbs.component.ts 50:21-60 @ ./src/app/home/home.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/home/components/home-category-recipes/home-category-recipes.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/home/components/home-category-recipes/home-category-recipes.component.ts 31:21-70 @ ./src/app/home/home.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts ERROR in ./src/app/home/components/home/home.component.scss Module build failed: Error: ENOENT: no such file or directory, scandir '/home/contenta/public_html/contenta_angular/node_modules/node-sass/vendor' at Object.fs.readdirSync (fs.js:914:18) at Object.getInstalledBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/extensions.js:128:13) at foundBinariesList (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/errors.js:45:5) at module.exports (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/binding.js:15:30) at Object. (/home/contenta/public_html/contenta_angular/node_modules/node-sass/lib/index.js:14:35) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/home/contenta/public_html/contenta_angular/node_modules/sass-loader/lib/loader.js:3:14) at Module._compile (module.js:571:32) @ ./src/app/home/components/home/home.component.ts 23:21-53 @ ./src/app/home/home.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

webpack: Failed to compile.

joaogarin commented 6 years ago

Seems like there is a problem with node-sass..can you remove the package-lock.json file and try npm install again? If that doesnt help maybe a "npm rebuild" and then trying again? Its using the angular cli so we dont really have anything at all doing any magic in terms of webpack.

hmartens commented 6 years ago

I had the same issues with typescript and nothing I did worked...but here's the strange thing, I got these errors because I "downloaded" the ip file. The moment I did a git clone of this repo, all those errors dissapeared and I got it working with no issues.

Hope this helps :)