Skip to content

error TS5056: Cannot write file '/home/tony/blockchainbean2/web-app/dist/src/datasources/db.datasource.d.ts' because it would be overwritten by multiple input files. #16

@MogicTony

Description

@MogicTony

hey, this is happende after
Add Members to the network
Let's bring up a new terminal window, and in that terminal, go to the blockchainbean2 directory that we cloned earlier, and start the app in that window with the following command.

blockchainbean2$ cd web-app
web-app$ npm start

~/blockchainbean2/web-app$ npm start

beanclient@1.0.0 prestart /home/tony/blockchainbean2/web-app
npm run build

beanclient@1.0.0 build /home/tony/blockchainbean2/web-app
lb-tsc es2017 --outDir dist

error TS5056: Cannot write file '/home/tony/blockchainbean2/web-app/dist/src/datasources/db.datasource.d.ts' because it would be overwritten by multiple input files.

Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! beanclient@1.0.0 build: lb-tsc es2017 --outDir dist
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the beanclient@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/tony/.npm/_logs/2019-12-05T17_54_25_976Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! beanclient@1.0.0 prestart: npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the beanclient@1.0.0 prestart script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/tony/.npm/_logs/2019-12-05T17_54_25_983Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions