Skip to content
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

Errors on npm run dev #4202

Open
vporton opened this issue Feb 14, 2023 · 0 comments
Open

Errors on npm run dev #4202

vporton opened this issue Feb 14, 2023 · 0 comments
Labels

Comments

@vporton
Copy link

vporton commented Feb 14, 2023

Steps to reproduce

master branch (commit commit 8f79ef4294d3e8623bd1ebbdab7fbeb766b29957).

$ nvm use
...
$ npm install
...
nvm run dev
...
Starting db...

> [email protected] db:start
> ts-node scripts/db-start.ts


/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:423
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
scripts/db-start.ts(1,35): error TS2307: Cannot find module 'mongodb-memory-server'.

    at createTSError (/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:423:12)
    at reportTSError (/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:427:19)
    at getOutput (/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:554:36)
    at Object.compile (/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:760:32)
    at Module.m._compile (/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:839:43)
    at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Object.require.extensions.<computed> [as .ts] (/home/porton/Projects/colonyDapp/node_modules/ts-node/src/index.ts:842:12)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)

Expected behaviour

Start.

Actual behaviour

Error message.

@vporton vporton added the bug label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant