-
Notifications
You must be signed in to change notification settings - Fork 143
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
./build.sh all 报错 #22
Comments
哪位大佬知道怎么解决 ? |
俺也一样! |
有人能看一下吗?这个问题困扰好多天了@! |
@linewei @wistingcn @alzee 您好,是否麻烦看下什么问题导致的? npm版本更换过也不行报相同的错误,谢谢 |
看看操作系统及版本 @h77626592 |
Ubuntu 18.04 LTS |
问题解决了吗? |
修改app下的package.json文件,锁定@types/node版本 |
|
您好,在执行 ./build.sh all 操作时遇到以下错误,请求帮助,谢谢
#node -v
v16.13.1
#npm -v
8.1.2
`WARNING in ./node_modules/_@[email protected]@@angular/core/ivy_ngcc/fesm2015/core.js 42527:19-40
System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
@ ./src/main.ts 15:0-47 20:4-18
@ multi ./src/main.ts
WARNING in ./node_modules/_@[email protected]@@angular/core/ivy_ngcc/fesm2015/core.js 42554:19-106
System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
@ ./src/main.ts 15:0-47 20:4-18
@ multi ./src/main.ts
ERROR in node_modules/@types/node/assert.d.ts:2:68 - error TS1144: '{' or ';' expected.
2 function assert(value: any, message?: string | Error): asserts value;
~~~~~
node_modules/@types/node/assert.d.ts:53:68 - error TS1144: '{' or ';' expected.
53 function ok(value: any, message?: string | Error): asserts value;
~~~~~
node_modules/@types/node/assert.d.ts:62:94 - error TS1144: '{' or ';' expected.
62 function strictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~~~~~
node_modules/@types/node/assert.d.ts:62:101 - error TS1005: ';' expected.
62 function strictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~
node_modules/@types/node/assert.d.ts:62:104 - error TS1005: ';' expected.
62 function strictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T;
~
node_modules/@types/node/assert.d.ts:64:98 - error TS1144: '{' or ';' expected.
64 function deepStrictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~~~~~
node_modules/@types/node/assert.d.ts:64:105 - error TS1005: ';' expected.
64 function deepStrictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T;
~~
node_modules/@types/node/assert.d.ts:64:108 - error TS1005: ';' expected.
64 function deepStrictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T;
~
node_modules/@types/node/assert.d.ts:72:47 - error TS1144: '{' or ';' expected.
72 function ifError(value: any): asserts value is null | undefined;
~~~~~
node_modules/@types/node/assert.d.ts:72:53 - error TS1005: ';' expected.
72 function ifError(value: any): asserts value is null | undefined;
~~
node_modules/@types/node/assert.d.ts:72:56 - error TS1005: ';' expected.
72 function ifError(value: any): asserts value is null | undefined;
~~~~
node_modules/@types/node/assert.d.ts:99:61 - error TS1005: ';' expected.
99 (value: any, message?: string | Error): asserts value;
`
The text was updated successfully, but these errors were encountered: