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.

Installing 2.0.0-beta.4 fails with 'cannot find module [...]/node_modules/@shoelace-style/shoelace/make-icons.js'

See original GitHub issue

npm install @shoelace-style/shoelace fails with the following error:

> @shoelace-style/shoelace@2.0.0-beta.4 postinstall /home/hjh/test/node_modules/@shoelace-style/shoelace
> npm run make-icons


> @shoelace-style/shoelace@2.0.0-beta.4 make-icons /home/hjh/test/node_modules/@shoelace-style/shoelace
> node make-icons.js

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

Error: Cannot find module '/home/hjh/test/node_modules/@shoelace-style/shoelace/make-icons.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @shoelace-style/shoelace@2.0.0-beta.4 make-icons: `node make-icons.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @shoelace-style/shoelace@2.0.0-beta.4 make-icons script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
claviskacommented, Jul 18, 2020

Just installed v2.0.0-beta.5 successfully using:

npm install @shoelace-style/shoelace

Thanks for reporting this!

0reactions
jegbjergcommented, Jul 18, 2020

Thanks a lot! Looking forward to use it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
Error: Cannot find module · Issue #3798 · blitz-js/blitz - GitHub
changing into the directory and trying to run "blitz install tailwind" I get "Error: Cannot find module 'install'" For example the command ...
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
This error occurs because of the following reasons: you're trying to import an item from a module you don't have installed in your...
Read more >
Getting Started in Node.js - AWS SDK for JavaScript
You can find information about this package by searching for "aws-sdk" on the npm website . Next, install the uuid module to the...
Read more >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
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