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 i提示缺少文件 #2

Open
catnfish opened this issue Sep 18, 2018 · 1 comment
Open

npm i提示缺少文件 #2

catnfish opened this issue Sep 18, 2018 · 1 comment

Comments

@catnfish
Copy link

win7,clone到wc目录后提示缺少如下文件
c:\wc>npm i
npm WARN tar ENOENT: no such file or directory, open 'c:\wc\node_modules.stagin
g\qs-foobar\lib\formats.js'
npm WARN tar ENOENT: no such file or directory, open 'c:\wc\node_modules.stagin
g\qs-foobar\lib\index.js'
npm WARN tar ENOENT: no such file or directory, open 'c:\wc\node_modules.stagin
g\qs-foobar\lib\parse.js'
npm WARN tar ENOENT: no such file or directory, open 'c:\wc\node_modules.stagin
g\qs-foobar\lib\stringify.js'
npm WARN tar ENOENT: no such file or directory, open 'c:\wc\node_modules.stagin
g\qs-foobar\lib\utils.js'
npm WARN wc No repository field.
npm WARN wc No license field.

@catnfish
Copy link
Author

尝试更换到linux系统,
npm i提示:
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4
npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4
npm WARN rollup-plugin-json@2.3.1 requires a peer of rollup@< 0.59.0 but none was installed.
npm WARN wordcard@1.0.0 No repository field.

node server提示:
module.js:549
throw err;
^
Error: Cannot find module '/home/mint/wordcard/server'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

Error: Cannot find module '/home/mint/wordcard/server'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

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