Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

typewiz-node CLI doesn't work on Ubuntu 16.04 #68

Closed
@nivertech

Description

@nivertech
$ typewiz-node index.ts 
Error: Cannot find module 'ts-node/dist/_bin'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/${USER}/local/node/lib/node_modules/typewiz-node/src/typewiz-node.ts:8:1)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

Environment:

$ ts-node -v
ts-node v6.0.0
node v8.11.1
typescript v2.8.1
cache "/tmp/ts-node-e..............."

$ node -v
v8.11.1

$ npm -v
5.8.0

$ uname -a
Linux ${HOST} 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions