npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mobx12345@0.1.0 start: `react-app-rewired start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mobxXXX@0.1.0 start 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\July\AppData\Roaming\npm-cache\_logs\2022-10-16T04_23_28_566Z-debug.log
报错解决
为node版本过低问题
切换到node16以上版本就可以处理~~~嘿嘿
报错:
对修饰器的实验支持功能在将来的版本中可能更改。在 "tsconfig" 或 "jsconfig" 中设置 "experimentalDecorators" 选项以删除此警告。ts(1219)
解决:在vscode中配置项进行勾选即可