Installing 2.0.0-beta.4 fails with 'cannot find module [...]/node_modules/@shoelace-style/shoelace/make-icons.js'
See original GitHub issuenpm 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:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just installed
v2.0.0-beta.5
successfully using:Thanks for reporting this!
Thanks a lot! Looking forward to use it!