-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cnpm i 安装后没有报错, npm start的时候报错了,是不是不支持Angular: 6.0.2 ? #448
Comments
目前受限于 angular/angular-cli#10430 ,需要降级less。或者直接使用 ng-alain 提供的 package-lock.json |
我用的yarn安装的也报这个错了 是直接clone下来的 |
使用yarn 安装报错 +1 |
默认git clone过来后,如果用yarn,需要执行 |
在 node_modules@angular-devkit\build-angular\src\angular-cli-files\models\webpack-configs\styles.js line 136和142行
|
确保以下版本: "@angular-devkit/build-angular": "~0.8.0",
"@angular/cli": "~6.2.3", 可以无须再降级 less |
ERROR in ./src/styles.less (./node_modules/.0.5.1@raw-loader!./node_modules/.2.1
.5@postcss-loader/lib??embedded!./node_modules/.4.1.0@less-loader/dist/cjs.js??r
ef--15-3!./src/styles.less)
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/passport/login/login.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/passport/register/register.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/dashboard/workplace/workplace.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/dashboard/monitor/monitor.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/dashboard/analysis/analysis.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/layout/passport/passport.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/widgets/widgets/widgets.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/pro/profile/advanced/advanced.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
ERROR in ./src/app/routes/pro/list/applications/applications.component.less
Module build failed:
// ant-design/ant-motion#44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in node_modules\ng-zorro-antd\src\style\color\bezierEasing.less (line 110,
column 0)
The text was updated successfully, but these errors were encountered: