react-simple-icons icon indicating copy to clipboard operation
react-simple-icons copied to clipboard

missing mjs file

Open 8de2fdb0 opened this issue 8 months ago • 2 comments

missing something i think

Module not found: Can't resolve './icons/SiHandm.mjs'

ls -l node_modules/\@icons-pack/react-simple-icons/icons/SiHandm.*
 node_modules/@icons-pack/react-simple-icons/icons/SiHandm.cjs
 node_modules/@icons-pack/react-simple-icons/icons/SiHandm.d.ts


grep version node_modules/\@icons-pack/react-simple-icons/package.json
  "version": "12.6.0",
    "version": "changeset version",

8de2fdb0 avatar Apr 15 '25 06:04 8de2fdb0

@8de2fdb0 Can you check if it was fixed in 12.7.0?

LitoMore avatar Apr 20 '25 08:04 LitoMore

I also checked the registry, and the file is available on npm. Can you check your local configurations?

https://cdn.jsdelivr.net/npm/@icons-pack/[email protected]/icons/SiHandm.mjs

LitoMore avatar Apr 20 '25 08:04 LitoMore

error during build:
Could not resolve "./icons/SiBilibili.mjs" from "./node_modules/@icons-pack/react-simple-icons/index.mjs"
file: ./node_modules/@icons-pack/react-simple-icons/index.mjs
    at getRollupError (file://./node_modules/rollup/dist/es/shared/parseAst.js:401:41)
    at error (file://./node_modules/rollup/dist/es/shared/parseAst.js:397:42)
    at ModuleLoader.handleInvalidResolvedId (file://./node_modules/rollup/dist/es/shared/node-entry.js:21427:24)
    at file://./node_modules/rollup/dist/es/shared/node-entry.js:21387:26
        "@icons-pack/react-simple-icons": "^13.7.0",

jyxjjj avatar Sep 24 '25 04:09 jyxjjj

@jyxjjj See https://cdn.jsdelivr.net/npm/@icons-pack/[email protected]/icons/SiBilibili.mjs. The file exists. Please check your local configuration.

In the meantime, please consider using the latest package instead.

LitoMore avatar Sep 24 '25 12:09 LitoMore

Closing due to lack of response.

LitoMore avatar Oct 12 '25 12:10 LitoMore