Wayne Wang
Wayne Wang

Reputation: 3

after I upgraded my angular application from angular 5.2 to the latest. ng build produces this ERROR

ERROR in ./src/styles.css (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./src/styles.css) Module build failed (from ./node_modules/postcss-loader/src/index.js): SyntaxError

(60:29) Unknown word

58 | .quiet {

59 | text-decoration: underline;

60 | display: inline-block; // to force underline on form button

61 | color: #0066cc;

62 | cursor: pointer;

Upvotes: 0

Views: 90

Answers (1)

John Velasquez
John Velasquez

Reputation: 3451

its due to this line

60 | display: inline-block; // to force underline on form button

the // is not acceptable as a comment in css use /* */ instead.

Upvotes: 2

Related Questions