ultimatecourses / angular-fundamentals-seed

Angular Fundamentals seed project
https://ultimatecourses.com/courses/angular
142 stars 842 forks source link

Cannot run the project on macOS Mojave #23

Closed iniluap closed 4 years ago

iniluap commented 4 years ago

Hi!

I was recommended that course as the best, but can't even get it started.

Here's the output from yarn install

yarn install v1.22.4
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning core-js@2.4.1: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning json-server > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning node-sass > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning node-sass > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning resolve-url-loader > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning resolve-url-loader > rework > css > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning resolve-url-loader > rework > css > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning resolve-url-loader > rework > css > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning webpack-dev-server > chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > sass-loader@7.3.1" has incorrect peer dependency "webpack@^3.0.0 || ^4.0.0".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 48.65s.

And here is the output for attempting to run it:

paulina$ yarn start
angular-fundamentals paulina$ yarn start
yarn run v1.22.4
$ webpack --config vendor/webpack.config.js
build [] 81% 3.0 seconds module order optimizatiobuild [] 91% 3.3 seconds additional asset processbuild [] 100% 5.0 seconds 

Build completed in 5.044s

[./node_modules/@angular/common/index.js] ./~/@angular/common/index.js 808 bytes {0} [built]
[./node_modules/@angular/compiler/index.js] ./~/@angular/compiler/index.js 4.8 kB {0} [built]
[./node_modules/@angular/core/index.js] ./~/@angular/core/index.js 2.5 kB {0} [built]
[./node_modules/@angular/forms/index.js] ./~/@angular/forms/index.js 1.04 kB {0} [built]
[./node_modules/@angular/http/index.js] ./~/@angular/http/index.js 734 bytes {0} [built]
[./node_modules/@angular/platform-browser-dynamic/index.js] ./~/@angular/platform-browser-dynamic/index.js 395 bytes {0} [built]
[./node_modules/@angular/platform-browser/index.js] ./~/@angular/platform-browser/index.js 641 bytes {0} [built]
[./node_modules/@angular/router/index.js] ./~/@angular/router/index.js 909 bytes {0} [built]
[./node_modules/core-js/index.js] ./~/core-js/index.js 639 bytes {0} [built]
[./node_modules/rxjs/Rx.js] ./~/rxjs/Rx.js 9.58 kB {0} [built]
[./node_modules/rxjs/add/operator/concatMap.js] ./~/rxjs/add/operator/concatMap.js 223 bytes {0} [built]
   [0] dll vendor 12 bytes {0} [built]
[./node_modules/rxjs/add/operator/publish.js] ./~/rxjs/add/operator/publish.js 211 bytes {0} [built]
[./node_modules/ts-helpers/index.js] ./~/ts-helpers/index.js 2.69 kB {0} [built]
[./node_modules/zone.js/dist/zone.js] ./~/zone.js/dist/zone.js 71.6 kB {0} [built]
    + 997 hidden modules
$ webpack-dev-server
No configuration file found and no entry configured via CLI option.
When using the CLI you need to provide at least two arguments: entry and output.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

My node version: v10.20.1

My yarn version: 1.22.4

What should I do to start it?

toddmotto commented 4 years ago

Hey Paulina! I'm just emailing you some help :D