You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nodemon] 1.18.7
[nodemon] to restart at any time, enter rs
[nodemon] watching: /Applications/MAMP/htdocs/nodepress/src/**/*
[nodemon] starting ts-node -r tsconfig-paths/register src/main.ts
/Applications/MAMP/htdocs/nodepress/node_modules/ts-node/src/index.ts:261
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/modules/expansion/expansion.service.qiniu.ts(24,42): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
src/modules/expansion/expansion.service.qiniu.ts(25,47): error TS2322: Type 'unknown' is not assignable to type 'string'.
[nodemon] 1.18.7
[nodemon] to restart at any time, enter
rs
[nodemon] watching: /Applications/MAMP/htdocs/nodepress/src/**/*
[nodemon] starting
ts-node -r tsconfig-paths/register src/main.ts
/Applications/MAMP/htdocs/nodepress/node_modules/ts-node/src/index.ts:261
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/modules/expansion/expansion.service.qiniu.ts(24,42): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
src/modules/expansion/expansion.service.qiniu.ts(25,47): error TS2322: Type 'unknown' is not assignable to type 'string'.
是需要配七牛的配置app.config.ts
export const QINIU = {
accessKey: argv.qn_accessKey || 'your access key',
secretKey: argv.qn_secretKey || 'your secret key',
bucket: argv.qn_bucket || 'nodepress',
origin: argv.qn_origin || 'http://nodepress.u.qiniudn.com',
uploadURL: argv.qn_uploadURL || 'http://up.qiniu.com/',
};
The text was updated successfully, but these errors were encountered: