Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Getting errors on npm install and npm start on Windows #2040

@AnnaShalaginova

Description

@AnnaShalaginova

Please see the npm install and npm start warnings and errors below.

npm install
`> [email protected] start myfilepath\meanjs

gulp

fs.js:35
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (C:\Users\ASHALAGI\meanjs\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\ASHALAGI\meanjs\node_modules\natives\index.js:55:10)
at Object. (C:\Users\ASHALAGI\meanjs\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASHALAGI\AppData\Roaming\npm-cache_logs\2020-03-05T19_14_37_278Z-debug.log
npm start

[email protected] postinstall myfilepath\meanjs
npm run bower

[email protected] bower myfilepath\meanjs
bower install --allow-root && bower prune --allow-root

npm WARN [email protected] requires a peer of eslint-plugin-react@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 21524 packages in 9.26s

4 packages are looking for funding
run npm fund for details

found 185 vulnerabilities (79 low, 39 moderate, 65 high, 2 critical)
run npm audit fix to fix them, or npm audit for details

C:\Users\ASHALAGI\meanjs>npm start

[email protected] start C:\Users\ASHALAGI\meanjs
gulp

fs.js:35
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (C:\Users\ASHALAGI\meanjs\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\ASHALAGI\meanjs\node_modules\natives\index.js:55:10)
at Object. (C:\Users\ASHALAGI\meanjs\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASHALAGI\AppData\Roaming\npm-cache_logs\2020-03-05T19_42_02_180Z-debug.log

`

Metadata

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