Giter Site home page Giter Site logo

npm i 报错 about x-template HOT 2 CLOSED

xavierchn avatar xavierchn commented on August 25, 2024
npm i 报错

from x-template.

Comments (2)

Akameea avatar Akameea commented on August 25, 2024

C:\Users\Birch\Desktop\work\couse>npm i
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>= 0.4.x < 0.9.0' },
npm WARN EBADENGINE current: { node: 'v14.19.0', npm: '8.5.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>= 0.6.x < 0.9.0' },
npm WARN EBADENGINE current: { node: 'v14.19.0', npm: '8.5.4' }
npm WARN EBADENGINE }

postinstall
node scripts/install.js

internal/modules/cjs/loader.js:905
throw err;
^

Error: Cannot find module '../../build/Release/registry.node'
Require stack:

  • C:\Users\Birch\Desktop\work\couse\node_modules\registry-js\dist\lib\registry.js
  • C:\Users\Birch\Desktop\work\couse\node_modules\registry-js\dist\lib\index.js
  • C:\Users\Birch\Desktop\work\couse\node_modules\steam-game-path\lib\cjs\index.js
  • C:\Users\Birch\Desktop\work\couse\scripts\utils.js
  • C:\Users\Birch\Desktop\work\couse\scripts\install.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object. (C:\Users\Birch\Desktop\work\couse\node_modules\registry-js\dist\lib\registry.js:5:7)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\Birch\Desktop\work\couse\node_modules\registry-js\dist\lib\registry.js',
    'C:\Users\Birch\Desktop\work\couse\node_modules\registry-js\dist\lib\index.js',
    'C:\Users\Birch\Desktop\work\couse\node_modules\steam-game-path\lib\cjs\index.js',
    'C:\Users\Birch\Desktop\work\couse\scripts\utils.js',
    'C:\Users\Birch\Desktop\work\couse\scripts\install.js'
    ]
    }
    npm ERR! code 1
    npm ERR! path C:\Users\Birch\Desktop\work\couse
    npm ERR! command failed
    npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/install.js

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Birch\AppData\Local\npm-cache_logs\2022-03-16T17_53_49_894Z-debug-0.log

from x-template.

XavierCHN avatar XavierCHN commented on August 25, 2024

这个一般是npm环境配置的问题,建议移除node_modules文件夹后重新npm i

from x-template.

Related Issues (20)

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.