question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error: Cannot resolve module typeorm

See original GitHub issue

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

TypeORM version:

[x] latest (0.2.23-rc3) [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

When copying install instruction from the readme:

$ deno install --allow-read --allow-write --allow-net --allow-env -f typeorm https://denolib.com/denolib/typeorm@v0.2.23-rc3/cli.ts
error: Cannot resolve module "file:///home/dev/typeorm"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
zhmushancommented, May 19, 2020

try deno install --unstable --allow-read --allow-write --allow-net --allow-env -f -n typeorm https://denolib.com/denolib/typeorm/cli.ts

In deno1.0, we need to use -n to specify the script name

0reactions
tezinecommented, May 22, 2020

Thank you @lapwat . It’s not working yet. Sometimes I receive a message indicating broken pipe and sometimes http2 error: protocol error: not a result of an error. My connection is stable. I think this is not related to TypeOrm, but how Deno is handling the connection. Thank you anyway!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot find module (typeorm entity) · Issue #81 - GitHub
Hi xcymax, i've had this problem in the past. This happens because you're using absolute paths. You should use relative paths in all...
Read more >
TypeOrm migration - Error: Cannot find module - Stack Overflow
Save this question. Show activity on this post. I'm trying npm run typeorm migration:run in my project and it is showing the error...
Read more >
typeorm - npm
TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and ...
Read more >
cannot find module 'typeorm' or its corresponding type ...
To solve the "Cannot find module `path` or its corresponding type declarations" error, install the types for node by running the command `npm...
Read more >
Common errors - FAQ - A progressive Node.js framework
Common errors. During your development with NestJS, you may encounter various errors as you learn the framework. "Cannot resolve dependency" error#.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found