Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not packaged properly for npm #275

Open
KTibow opened this issue Feb 19, 2023 · 2 comments
Open

Not packaged properly for npm #275

KTibow opened this issue Feb 19, 2023 · 2 comments

Comments

@KTibow
Copy link

KTibow commented Feb 19, 2023

Description

No matter what I try I get an error when importing this package.

Screenshots

> require('@liquid-carrot/carrot').architect
Uncaught Error: Cannot find module './architecture/network'
Require stack:
- /home/kendell/Documents/Projects/evolution/node_modules/@liquid-carrot/carrot/dist/index.min.js
- <repl>
    at Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
    at Module._load (node:internal/modules/cjs/loader:872:27)
    at Module.require (node:internal/modules/cjs/loader:1092:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at /home/kendell/Documents/Projects/evolution/node_modules/@liquid-carrot/carrot/dist/index.min.js:1:166451 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/kendell/Documents/Projects/evolution/node_modules/@liquid-carrot/carrot/dist/index.min.js',
    '<repl>'
  ]
}

Files

n/a

To Reproduce

install the package then import the package

Tasks

change how this is packaged probably

@Bobingstern
Copy link

I had a similar error. Try installing the version right before the one causing the error. This sort of fixed the issue but I just ended up using Neataptic instead

@KTibow
Copy link
Author

KTibow commented Mar 3, 2023

i also ended up using neataptic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants