tomphttp / bare-server-node

TompHTTP Bare server in the Node runtime
GNU General Public License v3.0
71 stars 125 forks source link

When running index.js #33

Open Xoui opened 3 months ago

Xoui commented 3 months ago

node:internal/modules/esm/resolve:215 const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified); ^

Error: Cannot find package '/workspaces/omega/node_modules/@tomphttp/bare-server-node/package.json' imported from /workspaces/omega/index.js at legacyMainResolve (node:internal/modules/esm/resolve:215:26) at packageResolve (node:internal/modules/esm/resolve:841:14) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1169:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38) at ModuleWrap. (node:internal/modules/esm/module_job:87:39) at link (node:internal/modules/esm/module_job:86:36) { code: 'ERR_MODULE_NOT_FOUND' } this happens

chuckling-all-day commented 2 months ago

same thing happening to me

3kh0 commented 2 months ago

Downgrade to 2.0.3 until a fix is out

chuckling-all-day commented 2 months ago

There isn't a 2.0.3 in releases?

3kh0 commented 2 months ago

A release for it was not made for some reason, but you can just use the repo tag for now

image

chuckling-all-day commented 2 months ago

Thanks

Xoui commented 2 months ago

ima js use wisp server also 3kh0 why wont u talk to me on discord