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.

get-installed-path is failing to find html-sketchapp

See original GitHub issue

Error message I get upon html-sketchapp install

(node:6987) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: get-installed-path: module not found "html-sketchapp" in path /Users/jayfallon/.nvm/versions/node/v8.1.4/lib/node_modules/html-sketchapp
(node:6987) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
markdalgleishcommented, Dec 21, 2017

Unfortunately, I can’t reproduce this issue, but I have a feeling this will fix it.

@jayfallon @bradbarrow Could one of you try making the following change to these lines in cli.js on your local machine and see if the problem persists?

-const { getInstalledPath } = require('get-installed-path');
-const htmlSketchappPath = await getInstalledPath('html-sketchapp');
+const htmlSketchappPath = path.dirname(require.resolve('html-sketchapp/package.json'));
0reactions
markdalgleishcommented, Dec 21, 2017

I’ll get a proper fix in soon, just reopening until then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

seek-oss/html-sketchapp-cli - GitHub
Once this command has successfully run, the following files will be generated in the output directory. These need to be imported into Sketch...
Read more >
HTML Sketchapp - how to use it properly after intall
I installed the npm package already. I'm just confused if I'm suppose to run the following command lines (below) while I'm in my...
Read more >
Introduction – Sketch Developer — API Reference
A method to get all Symbol Sources defined in the document. Returns. Return an array of the SymbolMaster objects defined in the document....
Read more >
What is the file location of the new Snip & Sketch
I have found it. Thanks for making it so difficult, Microsoft. C:\Program Files\WindowsApps\Microsoft.ScreenSketch_10.1901.10521.0_x64__ ...
Read more >
Snip & Sketch Windows 10 2004 Issue - Microsoft Q&A
Currently just an issue launching Snip & Sketch App installed by windows store with below version: Microsoft.
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