Skip to content

Error start #101

Open
Open
@lp85d

Description

`Microsoft Windows [Version 10.0.22631.3737]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

C:\Windows\System32>cd C:\Users\lp85d\Desktop\TriggerRally-gh-pages\server

C:\Users\lp85d\Desktop\TriggerRally-gh-pages\server>npm i -g babel-cli
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 219 packages in 10s

6 packages are looking for funding
run npm fund for details

C:\Users\lp85d\Desktop\TriggerRally-gh-pages\server>npm i
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'quiver-file-stream@1.4.7',
npm warn EBADENGINE required: { node: '^6.3.0' },
npm warn EBADENGINE current: { node: 'v20.15.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'quiver-stream-channel@1.4.3',
npm warn EBADENGINE required: { node: '^6.2.2' },
npm warn EBADENGINE current: { node: 'v20.15.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'quiver-stream-util@1.4.6',
npm warn EBADENGINE required: { node: '^6.2.2' },
npm warn EBADENGINE current: { node: 'v20.15.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'quiver-util@1.2.6',
npm warn EBADENGINE required: { node: '^6.2.2' },
npm warn EBADENGINE current: { node: 'v20.15.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn deprecated transformers@2.1.0: Deprecated, use jstransformer
npm warn deprecated scmp@0.0.3: scmp v2 uses improved core crypto comparison since Node v6.6.0
npm warn deprecated xmldom@0.1.27: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm warn deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm warn deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1
npm warn deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm warn deprecated glob@7.0.6: Glob versions prior to v9 are no longer supported
npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm warn deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
npm warn deprecated bson@1.1.0: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details
npm warn deprecated bson@1.1.3: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details
npm warn deprecated connect@2.30.2: connect 2.x series is deprecated
npm warn deprecated connect@2.19.5: connect 2.x series is deprecated
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated core-js@2.6.5: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm warn deprecated core-js@2.6.5: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 447 packages, and audited 448 packages in 11s

1 package is looking for funding
run npm fund for details

81 vulnerabilities (1 low, 10 moderate, 32 high, 38 critical)

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

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

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.

C:\Users\lp85d\Desktop\TriggerRally-gh-pages\server>npm start

trigger-server@0.0.1 start
babel-node app.js

C:\Users\lp85d\Desktop\TriggerRally-gh-pages\server\public\scripts\models\index.js:210
var basePath = window.BASE_PATH + '/v1/';
^

ReferenceError: window is not defined
at C:/Users/lp85d/Desktop/TriggerRally-gh-pages/server/public/scripts/models/index.js:145:20
at C:/Users/lp85d/Desktop/TriggerRally-gh-pages/server/public/scripts/models/index.js:16:12
at Object. (C:/Users/lp85d/Desktop/TriggerRally-gh-pages/server/public/scripts/models/index.js:10:1)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at loader (C:\Users\lp85d\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:144:5)
at Object.require.extensions. [as .js] (C:\Users\lp85d\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:154:7)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (C:/Users/lp85d/Desktop/TriggerRally-gh-pages/server/api.js:9:12)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at loader (C:\Users\lp85d\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:144:5)
at Object.require.extensions. [as .js] (C:\Users\lp85d\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:154:7)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)

Node.js v20.15.1

C:\Users\lp85d\Desktop\TriggerRally-gh-pages\server>
`

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions