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

[Bug?]: ERR_MODULE_NOT_FOUND on solid-start start #1135

Closed
2 tasks done
moonlitgrace opened this issue Dec 7, 2023 · 1 comment
Closed
2 tasks done

[Bug?]: ERR_MODULE_NOT_FOUND on solid-start start #1135

moonlitgrace opened this issue Dec 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@moonlitgrace
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

When trying to run pnpm start getting this error:
log:

> frontend@ start /home/sssuneeth/Desktop/Telegram-re/frontend
> solid-start start

 solid-start start 
 version  0.3.10
 adapter  node


  ➜  Page Routes:
     ┌─ http://localhost:3000/*404
     ├─ http://localhost:3000/:username
     ├─ http://localhost:3000/
     ├─ http://localhost:3000/user/sign-in
     └─ http://localhost:3000/user/sign-up

  ➜  API Routes:
     None! 👻

node:internal/modules/esm/resolve:264
    throw new ERR_MODULE_NOT_FOUND(
          ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/sssuneeth/Desktop/Telegram-re/fr
ntend/dist/server.js' imported from /home/sssuneeth/Desktop/Telegram-re/frontend/node_mo
ules/.pnpm/solid-start-node@0.3.10_solid-start@0.3.10_vite@4.5.1/node_modules/solid-star
-node/index.js
    at finalizeResolution (node:internal/modules/esm/resolve:264:11)
    at moduleResolve (node:internal/modules/esm/resolve:917:10)
    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleLoader.import (node:internal/modules/esm/loader:328:34)
    at importModuleDynamically (node:internal/modules/esm/translators:146:35)
    at importModuleDynamicallyCallback (node:internal/modules/esm/utils:186:14)
    at Object.start (file:///home/sssuneeth/Desktop/Telegram-re/frontend/node_modules/.p
pm/solid-start-node@0.3.10_solid-start@0.3.10_vite@4.5.1/node_modules/solid-start-node/i
dex.js:15:68) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///home/sssuneeth/Desktop/Telegram-re/frontend/dist/server.js'
}

Node.js v21.2.0
 ELIFECYCLE  Command failed with exit code 1.

But everything working on pnpm dev...

Expected behavior 🤔

No response

Steps to reproduce 🕹

I even tried this with creating new solid-start project so
Steps:

  1. Follow install guide and create a new project https://start.solidjs.com/getting-started/project-setup
  2. pnpm or npm anything... pnpm run start
  3. ...
  4. ...

Context 🔦

No response

Your environment 🌎

Operating System: Manjaro Linux                   
          Kernel: Linux 6.1.64-1-MANJARO
    Architecture: x86-64
 Hardware Vendor: Lenovo
  Hardware Model: Lenovo V15-IKB
Firmware Version: CSCN10WW
   Firmware Date: Sat 2019-10-12
    Firmware Age: 4y 1month 3w 5d
@moonlitgrace moonlitgrace added the bug Something isn't working label Dec 7, 2023
@ryansolid
Copy link
Member

In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See #1139 for more details.

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

2 participants