Replies: 3 comments 5 replies
-
Please provide a minimal reproduction, not much to go on otherwise
…On Wed, 12 Jan 2022, 03:38 sendsnow, ***@***.***> wrote:
hi,everybody,Here's a question for help
In the react native project,run the 'npm i' command with such an error
message:
error node_modules/mobx/lib/mobx.module.js: Export statement may only
appear at top level in file node_modules/mobx/lib/mobx.module.js at 4420:2.
Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ***@***.*** postinstall: npm run b2
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ***@***.*** 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! /Users/sx/.tnpm/_logs/2022-01-12T03_36_33_238Z-debug.log
[tnpm]
subprocess:/usr/local/lib/node_modules/tnpm/lib/npm_child_process.js exit
code: 1, signal: null
[tnpm] mainprocess exit code: 1
What can I do to solve this problem?
—
Reply to this email directly, view it on GitHub
<#3265>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN4NBCGT2W7A6273IQC7ITUVTZUNANCNFSM5LX5MLGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
-
使用火狐浏览器
发自我的iPhone
…------------------ Original ------------------
From: yrjwcharm ***@***.***>
Date: Sat,May 21,2022 9:14 PM
To: mobxjs/mobx ***@***.***>
Cc: 遥远的梦、 ***@***.***>, Mention ***@***.***>
Subject: Re: [mobxjs/mobx] Export statement may only appear at top level infile (Discussion #3265)
@HELLOYYT 请问你解决了么
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Same problem for me |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,everybody,Here's a question for help
In the react native project,run the 'npm i' command with such an error message:
error node_modules/mobx/lib/mobx.module.js: Export statement may only appear at top level in file node_modules/mobx/lib/mobx.module.js at 4420:2. Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:
npm run b2
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! /Users/sx/.tnpm/_logs/2022-01-12T03_36_33_238Z-debug.log
[tnpm] subprocess:/usr/local/lib/node_modules/tnpm/lib/npm_child_process.js exit code: 1, signal: null
[tnpm] mainprocess exit code: 1
What can I do to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions