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

npm install 报错 cnpm install通过,但无论cnpm还是npm,run dev时都出错 #76

Open
pxchai opened this issue Mar 27, 2019 · 0 comments

Comments

@pxchai
Copy link

pxchai commented Mar 27, 2019

D:\000l\vue-framework-wz>npm install
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t ssh://[email protected]/lpreterite/vue-tinymce.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\developtools\nodejs\node_cache_logs\2019-03-27T14_32_02_302Z-debug.log

D:\000l\vue-framework-wz>cnpm install

  • [vue-tinymce@github:lpreterite/vue-tinymce] install vue-tinymce from git github:lpreterite/vue-tinymce, may be very sl
    ow, please keep patience
  • [19/65] Installing vue-tinymce@github:lpreterite/vue-tinymce[vue-tinymce@github:lpreterite/vue-tinymce] Package name u
    nmatched: expected vue-tinymce but found @packy-tang/vue-tinymce
    √ Installed 65 packages
    √ Linked 0 latest versions
    √ Run 0 scripts
    √ All packages installed (1 packages installed from git, used 2s(network 2s), speed 0B/s, json 0(0B), tarball 0B)

D:\000l\vue-framework-wz>cnpm run dev

[email protected] dev D:\000l\vue-framework-wz
node build/dev-server.js

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

Error: Cannot find module 'json5'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (D:\000l\vue-framework-wz\node_modules_loader-utils@1.2.3@loader-utils\lib\parseQuery.js:3:15
)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev 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\Administrator\AppData\Roaming\npm-cache_logs\2019-03-27T14_33_01_555Z-debug.log

D:\000l\vue-framework-wz>

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