Giter VIP home page Giter VIP logo

es-pack-js's People

Contributors

j-devel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

es-pack-js's Issues

install error

install es-pack-js error
nodejs v16.16.0
windows 10

use npm i
PS C:\Users\ZLD> npm i [email protected] -g
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm notice
npm notice New major version of npm available! 8.11.0 -> 10.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.1.0
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code ENOENT
npm ERR! syscall spawn bash
npm ERR! path G:\nodejs\node_global\node_modules\es-pack-js\node_modules\puppeteer
npm ERR! errno -4058
npm ERR! enoent spawn bash ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! G:\nodejs\node_cache_logs\2023-09-27T15_25_40_795Z-debug-0.log

use cnpm i (cnpm is a China version npm):
PS C:\Users\ZLD> cnpm i [email protected] -g
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
Downloading es-pack-js to G:\nodejs\node_global\node_modules\es-pack-js_tmp
Copying G:\nodejs\node_global\node_modules\es-pack-js_tmp.store\[email protected]\node_modules\es-pack-js to G:\nodejs\node_global\node_modules\es-pack-js
Installing es-pack-js's dependencies to G:\nodejs\node_global\node_modules\es-pack-js/node_modules
[1/22] base64-arraybuffer@^0.2.0 installed at node_modules.store\[email protected]\node_modules\base64-arraybuffer
[2/22] babel-plugin-add-module-exports@^1.0.4 installed at node_modules.store\[email protected]\node_modules\babel-plugin-add-module-exports
[3/22] toml@^3.0.0 installed at node_modules.store\[email protected]\node_modules\toml
[4/22] fs-extra@^9.0.1 installed at node_modules.store\[email protected]\node_modules\fs-extra
[5/22] webpack-bundle-analyzer@^4.5.0 installed at node_modules.store\[email protected]\node_modules\webpack-bundle-analyzer
[6/22] yargs@^16.1.0 installed at node_modules.store\[email protected]\node_modules\yargs
[7/22] express@^4.17.1 installed at node_modules.store\[email protected]\node_modules\express
[8/22] @babel/core@^7.12.3 installed at node_modules.store@[email protected]\node_modules@babel\core
[9/22] @babel/standalone@^7.12.6 installed at node_modules.store@[email protected]\node_modules@babel\standalone
[10/22] @babel/eslint-parser@^7.17.0 installed at node_modules.store@[email protected]\node_modules@babel\eslint-parser
[11/22] eslint@^7.12.1 installed at node_modules.store\[email protected]\node_modules\eslint
[12/22] terser-webpack-plugin@^5.3.4 installed at node_modules.store\[email protected]\node_modules\terser-webpack-plugin
[13/22] babel-loader@^8.1.0 installed at node_modules.store\[email protected]\node_modules\babel-loader
[14/22] eslint-webpack-plugin@^3.1.1 installed at node_modules.store\[email protected]\node_modules\eslint-webpack-plugin
[15/22] webpack-cli@^4.9.2 installed at node_modules.store\[email protected]\node_modules\webpack-cli
[16/22] webpack@^5.70.0 installed at node_modules.store\[email protected]\node_modules\webpack
[17/22] typescript@^4.7.4 installed at node_modules.store\[email protected]\node_modules\typescript
[18/22] ts-loader@^9.3.1 installed at node_modules.store\[email protected]\node_modules\ts-loader
[19/22] @babel/preset-env@^7.12.1 installed at node_modules.store@[email protected]\node_modules@babel\preset-env
[20/22] jest@^27.2.0 installed at node_modules.store\[email protected]\node_modules\jest
[21/22] jest-puppeteer@^6.1.0 installed at node_modules.store\[email protected]\node_modules\jest-puppeteer
[22/22] puppeteer@^13.1.2 installed at node_modules.store\[email protected]\node_modules\puppeteer
[npminstall:runscript:error] [email protected] run postinstall (cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i) error: Error: Command failed with exit code 1: (cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i)
at makeError (G:\nodejs\node_global\node_modules\cnpm\node_modules\execa\lib\error.js:60:11)
at handlePromise (G:\nodejs\node_global\node_modules\cnpm\node_modules\execa\index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.exports.runScript (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\utils.js:261:12)
at async runLifecycleScripts (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\lifecycle_scripts.js:66:7)
at async _install (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\local_install.js:168:5)
at async module.exports (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\local_install.js:87:5)
at async module.exports (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\global_install.js:71:5)
at async G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js:406:5 {
shortMessage: 'Command failed with exit code 1: (cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i)',
command: '(cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i)',
escapedCommand: '"(cd" "./node-polyfill" "&&" npm run "install)" "&&" "(cd" "./rustwasm-wrapper" "&&" npm "i)"',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Install fail! Error: run postinstall error, please remove node_modules before retry!
Command failed with exit code 1: (cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i)
Error: Command failed with exit code 1: (cd ./node-polyfill && npm run install) && (cd ./rustwasm-wrapper && npm i)
at makeError (G:\nodejs\node_global\node_modules\cnpm\node_modules\execa\lib\error.js:60:11)
at handlePromise (G:\nodejs\node_global\node_modules\cnpm\node_modules\execa\index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.exports.runScript (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\utils.js:261:12)
at async runLifecycleScripts (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\lifecycle_scripts.js:66:7)
at async _install (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\local_install.js:168:5)
at async module.exports (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\local_install.js:87:5)
at async module.exports (G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\global_install.js:71:5)
at async G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js:406:5
npminstall version: 7.11.1
npminstall argv: G:\nodejs\node.exe G:\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\ZLD.cnpmrc --disturl=https://cdn.npmmirror.com/binaries/node --registry=https://registry.npmmirror.com [email protected] -g

How can i fix this error? which nodejs version should i use?

some problem when install this lib

[email protected] postinstall D:\lib\three-geo\node_modules\es-pack-js

(cd ./node-polyfill && npm run install); (cd ./rustwasm-polyfill && npm i);

ζ­€ζ—ΆδΈεΊ”ζœ‰ (cd。
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\es-pack-js\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: (cd ./node-polyfill && npm run install); (cd ./rustwasm-polyfill && npm i);
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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\G007261\AppData\Roaming\npm-cache_logs\2021-07-13T12_21_28_550Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.