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.

Broken Leon Package

See original GitHub issue

Specs

  • Leon version: 1.0.0.beta -1
  • OS (or browser) version: Ubuntu 18.10
  • Node.js version: 11.10.0
  • Complete “npm run check” output:

> leon@1.0.0-beta.1 check /home/emperoreby/sideprojects/leon
> babel-node scripts/run-check.js

sh: 1: babel-node: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! leon@1.0.0-beta.1 check: `babel-node scripts/run-check.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the leon@1.0.0-beta.1 check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/emperoreby/.npm/_logs/2019-02-24T12_39_09_469Z-debug.log

Expected Behavior:

Leon should give a proper reply when we ask questions.

Actual Behavior

It is throwing an error like “Sorry, I have an issue with the Greeting module of my Leon package!”

Extra (like a sample repo to reproduce the issue, etc.)

I have updated the .env.sample file as per this.

I got this below error when docker 7th step.


Step 7/10 : RUN npm install
 ---> Running in 145bed53e9ab
npm WARN lifecycle leon@1.0.0-beta.1~preinstall: cannot run in wd leon@1.0.0-beta.1 node scripts/setup/preinstall.js (wd=/app)

But installed successfully with some warnings.

Please let me know if you need any extra info. issue

I have attached the Gif regarding the issue. Feel free to take a look.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
louistiticommented, Feb 25, 2019

Somehow, some systems have en_US.UTF8, some have en_US.UTF-8, please note the different between those two.

According to the output of your locale -a, it seems yours should be en_US.UTF8. Also, be careful with your whitespace for your LC_ALL.

Once you finished to edit your .env.sample, then build again with Docker as the .env.sample is duplicated to create the .env file, and that is the one that Leon will read.

Let me know if it works or not.

0reactions
menporulporiayalancommented, Feb 25, 2019

@louistiti Thanks! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Leon Scott Kennedy - Official Dead by Daylight Wiki - Fandom
Leon Scott Kennedy is one of 34 Survivors currently featured in Dead by Daylight. He was introduced as one of two Survivors of...
Read more >
The Best Leon Vacation Packages 2022 - Tripadvisor
Find the perfect vacation package for Leon on Tripadvisor by comparing Leon hotel and flight prices. Travelers like you have written 9,691 reviews...
Read more >
Broken Loyalty: Jacky Leon, Book 3 - Amazon.com
Enjoy a free trial on us. $0.00$0.00 · Click above for unlimited listening to select audiobooks, Audible Originals, and podcasts. · One credit...
Read more >
Returns & Exchanges – Potted Plants, Shipped, Léon & George
DAMAGED GOODS. Despite our best efforts to carefully protect plants and package your order, they are placed in the temporary care of logistics...
Read more >
Mix & Match Outfit for $120 - Zumiez
Mix & Match Outfit for $120 · A Lost Cause Wishful Black Tank Top · Mix and match tops for package deals including...
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