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.

Install without yarn?

See original GitHub issue

Is it possible to install without yarn? (trying to keep the size of my Ubuntu image as small as possible)

git clone https://github.com/krishnasrinivas/wetty
cd wetty
npm install

it appears to finish, but when I try to start it:

internal/modules/cjs/loader.js:605
    throw err;
    ^

Error: Cannot find module './dist'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)
    at Module.require (internal/modules/cjs/loader.js:657:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/srv/samba/share/www/wetty/index.js:5:15)
    at Module._compile (internal/modules/cjs/loader.js:721:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
root@localhost:/srv/samba/share/www/wetty#

OS is Ubuntu 16.04 running on Arm7.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
butlerxcommented, Oct 21, 2019

there is a issue on current version of node with node-pty can you try running yarn add node-pty@0.9.0-beta28 or npm install node-pty@0.9.0-beta28 before running the rest of the setup and build and see if this fixes it

0reactions
github-actions[bot]commented, Aug 25, 2021

Stale issue message

Read more comments on GitHub >

github_iconTop Results From Across the Web

yarn install
yarn install is used to install all dependencies for a project. This is most commonly used when you have just checked out code...
Read more >
How To Install and Use the Yarn Package Manager for Node.js
Yarn has a unique way of installing and running itself in your JavaScript projects. First you install the yarn command globally, then you...
Read more >
How to use yarn in a project, without installing yarn
Create a folder “.yarn” in your working directory, where it will download yarn itself (It can be a good idea to gitignore this...
Read more >
How to use yarn in a project, without installing yarn - Medium
It's nice to be able to use yarn instead of npm on a CI server, but often you need root access to npm...
Read more >
Yarn install - w3resource
The yarn install command is a command that is used to install all dependencies for a project. It is commonly used when you...
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