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??? #62

Open
pullghjunkkk opened this issue Oct 21, 2024 · 0 comments
Open

error??? #62

pullghjunkkk opened this issue Oct 21, 2024 · 0 comments

Comments

@pullghjunkkk
Copy link

paulchikkkk@bb6699 telegram-nearby-map-main % npm install
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

added 329 packages, and audited 330 packages in 8m

99 packages are looking for funding
run npm fund for details

54 vulnerabilities (1 low, 5 moderate, 48 high)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
npm notice
npm notice New minor version of npm available! 10.5.0 -> 10.9.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
npm notice Run npm install -g [email protected] to update!
npm notice
paulchikkkk@bb6699 telegram-nearby-map-main % npm start

start
npm run buildParcel && npm run startServer

buildParcel
parcel build ./web-src/index.html --public-url / --dist-dir ./web-build/

⠼ Building index.html...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
⠼ Building style.css...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
⠦ Building ol.css...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
⠧ Building ol.css...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
✨ Built in 10.05s

web-build/index.html 1.55 KB 1.28s
web-build/index.88d4dfb0.css 8.63 KB 151ms
web-build/index.3c9f055f.js 701.17 KB 1.42s

startServer
node server.js

node:internal/modules/cjs/loader:1146
throw err;
^

Error: Cannot find module './config.js'
Require stack:

  • /Volumes/bt/telegram-nearby-map-main/server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object. (/Volumes/bt/telegram-nearby-map-main/server.js:6:16)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/Volumes/bt/telegram-nearby-map-main/server.js' ]
    }

Node.js v20.12.2
paulchikkkk@bb6699 telegram-nearby-map-main %

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

1 participant