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

Cannot find Package. #27

Closed
7DatsonBack opened this issue Feb 10, 2023 · 3 comments
Closed

Cannot find Package. #27

7DatsonBack opened this issue Feb 10, 2023 · 3 comments

Comments

@7DatsonBack
Copy link

When launched onto replit, cyclic, etc, it gives me a warning**:**

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ultraviolet-static' imported from /var/task/src/index.js.
It seems it's not able to fetch it and is then stopping.
How can I fix this?

@12944qwerty
Copy link

No idea why this suddenly happened... but just replace the package.json dependencies with and then npm i.

"dependencies": {
    "@titaniumnetwork-dev/ultraviolet": "^1.0.8-beta",
    "@tomphttp/bare-server-node": "^1.2.3",
    "express": "^4.18.2",
    "ultraviolet-static": "titaniumnetwork-dev/Ultraviolet-Static"
},

@e9x
Copy link
Contributor

e9x commented Feb 10, 2023

I'm surprised an issue wasn't made sooner... This is due to the package.json referencing a local repo.

e9x added a commit that referenced this issue Feb 10, 2023
@e9x
Copy link
Contributor

e9x commented Feb 10, 2023

Fixed.

@e9x e9x closed this as completed Feb 10, 2023
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

3 participants