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

Error: Error: Cannot find module tslib ... code: 'ERR_MODULE_NOT_FOUND' #274

Open
1 of 2 tasks
Tracked by #276
benpsnyder opened this issue Apr 24, 2024 · 0 comments
Open
1 of 2 tasks
Tracked by #276
Labels
bug Something isn't working

Comments

@benpsnyder
Copy link
Contributor

Please provide the environment you discovered this bug in.

Build process related to nitropack server

Which area/package is the issue in?

Don't know / other

Description

nitropack server

Please provide the exception or error you saw

Error: Error: Cannot find module tslib/ imported from file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/apps/app/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/nitropack/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/_index.js, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/apps/app/, file:///Volumes/SnyderDev/@benpsnyder/spartan/apps/app/node_modules/_index.js, file:///Volumes/SnyderDev/@benpsnyder/spartan/apps/app/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/nitropack/, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/nitropack/node_modules/_index.js, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/nitropack/node_modules, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/_index.js, file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules
    at resolvePath (file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/mlly@1.5.0/node_modules/mlly/dist/index.mjs:2121:10)
    at _resolve (file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/nitropack/dist/shared/nitro.4ea992bc.mjs:534:22)
    at Object.resolveId (file:///Volumes/SnyderDev/@benpsnyder/spartan/node_modules/.pnpm/nitropack@2.8.1_encoding@0.1.13/node_modules/nitropack/dist/shared/nitro.4ea992bc.mjs:592:57) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Other information

I'll be working on a fix for this and submitting a PR

I would be willing to submit a PR to fix this issue

  • Yes
  • No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant