Skip to content

multiple errors after a fresh install with 5.0.0-rc1 #2711

@daton89

Description

@daton89
~/Workspace/pk-share-link is 📦 v0.0.0 via ⬢ v8.9.4 took 5s ➜ gulp serve [19:11:46] Failed to load external module @babel/register [19:11:46] Requiring external module babel-register [19:11:49] Using gulpfile ~/Workspace/pk-share-link/gulpfile.babel.js [19:11:49] Starting 'serve'... [19:11:49] Starting 'clean:tmp'... [19:11:49] Starting 'lint:scripts'... [19:11:49] Starting 'lint:scripts:client'... [19:11:49] Starting 'lint:scripts:server'... [19:11:49] Starting 'inject'... [19:11:49] Starting 'inject:scss'... [19:11:49] Starting 'copy:fonts:dev'... [19:11:49] Starting 'env:all'... [19:11:49] Finished 'env:all' after 30 ms [19:11:49] Finished 'clean:tmp' after 83 ms [19:11:49] gulp-inject Nothing to inject into app.scss. Could not find implementations for the following rules specified in the configuration: label-undefined no-duplicate-key Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed. If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up. Warning: The 'no-unused-variable' rule requires type information. Warning: The 'no-use-before-declare' rule requires type information. [19:11:49] Finished 'inject:scss' after 542 ms [19:11:49] Finished 'inject' after 542 ms [19:11:50] Finished 'copy:fonts:dev' after 921 ms [19:11:50] Finished 'lint:scripts:client' after 982 ms [19:11:50] Finished 'lint:scripts:server' after 1.13 s [19:11:50] Finished 'lint:scripts' after 1.14 s [19:11:50] Starting 'start:server'... [19:11:50] Finished 'start:server' after 8.18 ms [19:11:50] Starting 'start:client'... [nodemon] 1.17.3 [nodemon] to restart at any time, enter `rs` [nodemon] watching: /Users/daton/Workspace/pk-share-link/server/**/* [nodemon] starting `node server` [at-loader] Using typescript@2.6.2 from typescript and "tsconfig.json" from /Users/daton/Workspace/pk-share-link/tsconfig.json. (node:17607) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-client finished populating things Express server listening on 9000, in development mode  [at-loader] Checking started in a separate process...  [at-loader] Ok, 0.025 sec. Hash: b92e6ebcfc3894dbddd3 Version: webpack 3.11.0 Time: 10825ms  Asset Size Chunks Chunk Names  app.bundle.js 4.08 MB 0, 1 [emitted] [big] app  polyfills.bundle.js 333 kB 1 [emitted] [big] polyfills  vendor.bundle.js 571 kB 2 [emitted] [big] vendor  app.bundle.js.map 5.07 MB 0, 1 [emitted] app polyfills.bundle.js.map 426 kB 1 [emitted] polyfills  vendor.bundle.js.map 698 kB 2 [emitted] vendor  ../client/app.html 1.34 kB [emitted]  WARNING in ./node_modules/@angular/core/esm5/core.js 6570:15-36 Critical dependency: the request of a dependency is an expression  @ ./node_modules/@angular/core/esm5/core.js  @ ./client/app/app.ts  @ multi webpack-dev-server/client?http://localhost:3000/ webpack/hot/dev-server ./client/app/app.ts  WARNING in ./node_modules/@angular/core/esm5/core.js 6590:15-102 Critical dependency: the request of a dependency is an expression  @ ./node_modules/@angular/core/esm5/core.js  @ ./client/app/app.ts  @ multi webpack-dev-server/client?http://localhost:3000/ webpack/hot/dev-server ./client/app/app.ts  ERROR in ./node_modules/raw-loader!./node_modules/sass-loader/lib/loader.js!./client/app/app.scss Module build failed: @import 'admin/admin.scss'; ^  File to import not found or unreadable: admin/admin.scss.  in /Users/daton/Workspace/pk-share-link/client/app/app.scss (line 36, column 1)  @ ./node_modules/style-loader!./client/app/app.scss 4:14-121 18:2-22:4 19:20-127  @ ./client/app/app.ts  @ multi webpack-dev-server/client?http://localhost:3000/ webpack/hot/dev-server ./client/app/app.ts Child html-webpack-plugin for "../client/app.html":  Asset Size Chunks Chunk Names  ../client/app.html 27.3 kB 0 webpack: Failed to compile. webpack: Compiling...  [at-loader] Checking started in a separate process...  [at-loader] Ok, 0.002 sec. Hash: 60081c00f12ffd5abfa1 Version: webpack 3.11.0 Time: 1938ms  Asset Size Chunks Chunk Names fbf47511146008634f37.hot-update.json 44 bytes [emitted]  app.bundle.js 4.08 MB 0, 1 [big] app  polyfills.bundle.js 333 kB 1 [big] polyfills  vendor.bundle.js 571 kB 2 [emitted] [big] vendor b92e6ebcfc3894dbddd3.hot-update.json 35 bytes [emitted]  app.bundle.js.map 5.07 MB 0, 1 app  polyfills.bundle.js.map 426 kB 1 polyfills  vendor.bundle.js.map 698 kB 2 [emitted] vendor  ../client/app.html 1.34 kB [emitted]  WARNING in ./node_modules/@angular/core/esm5/core.js 6570:15-36 Critical dependency: the request of a dependency is an expression  @ ./node_modules/@angular/core/esm5/core.js  @ ./client/app/app.ts  @ multi webpack-dev-server/client?http://localhost:3000/ webpack/hot/dev-server ./client/app/app.ts  WARNING in ./node_modules/@angular/core/esm5/core.js 6590:15-102 Critical dependency: the request of a dependency is an expression  @ ./node_modules/@angular/core/esm5/core.js  @ ./client/app/app.ts  @ multi webpack-dev-server/client?http://localhost:3000/ webpack/hot/dev-server ./client/app/app.ts  ERROR in ./node_modules/raw-loader!./node_modules/sass-loader/lib/loader.js!./client/app/app.scss Module build failed: @import 'admin/admin.scss'; ^  File to import not found or unreadable: admin/admin.scss.  in /Users/daton/Workspace/pk-share-link/client/app/app.scss (line 36, column 1)  @ ./node_modules/style-loader!./client/app/app.scss 4:14-121 18:2-22:4 19:20-127  @ ./client/app/app.ts  @ multi webpack-dev-server/client?http://localhost:3000/ webpack/hot/dev-server ./client/app/app.ts Child html-webpack-plugin for "../client/app.html":  Asset Size Chunks Chunk Names  ../client/app.html 27.3 kB 1  fbf47511146008634f37.hot-update.json 44 bytes [emitted] webpack: Failed to compile. 

----- | -----
generator-angular-fullstack | 5.0.0-rc1
Node | 8.9.4
npm | 5.6.0
Operating System | OS X 10.11.6

----- | -----
Transpiler | TypeScript
Markup | HTML
CSS | SCSS
Router | ngRoute
Client Tests | Jasmine
DB | MongoDB
Auth | N
Bootstrap | N

this is my output after run gulp serve in a fresh app generation

after i deleted the import of admin.scss (that doesn't exist) my webpack compile with warnings and the project doesn't work because when i open the app in the browser it it throws Uncaught SyntaxError: Unexpected token < in vendor app and polyfill

how can i fix these errors to make the app working?

do you think is possible to update angular to version 6 and how can i do it?

regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions