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

使用cnpm安装时发生错误 #23

Open
hj24 opened this issue Dec 24, 2019 · 1 comment
Open

使用cnpm安装时发生错误 #23

hj24 opened this issue Dec 24, 2019 · 1 comment

Comments

@hj24
Copy link

hj24 commented Dec 24, 2019

在项目目录下运行cnpm install

[npminstall:runscript:error] @tarojs/[email protected][email protected] scripts.postinstall run "node scripts/build.js" error: Error [RunScriptError]: Run "sh -c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cnpm/node_modules/[email protected]@runscript/index.js:96:21)
    at ChildProcess.emit (events.js:196:13)
    at maybeClose (internal/child_process.js:1000:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5) {
  name: 'RunScriptError',
  stdio: [Object]
}
✖ Install fail! RunScriptError: post install error, please remove node_modules before retry!
Run "sh -c node scripts/build.js" error, exit code 1
RunScriptError: Run "sh -c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cnpm/node_modules/[email protected]@runscript/index.js:96:21)
    at ChildProcess.emit (events.js:196:13)
    at maybeClose (internal/child_process.js:1000:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)

taro版本:1.2.15
cnpm版本:6.1.1

@hj24
Copy link
Author

hj24 commented Dec 24, 2019

@Chen-jj

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