admin管理员组文章数量:1312782
I have just switched from Windows 10 to Mac OS running on the latest Apple M1 Silicon.
This is my first project on the Mac, I installed homebrew and used it to install both node & yarn:
brew install node
brew install yarn
yarn global add @vue/cli
My Vue project was working fine on both Windows and Linux, cloned it onto my Macbook then ran yarn
to install dependencies (business as usual) then tried running the app in development mode:
yarn serve
But I kept getting random "Assertion failed" errors each time I run yarn serve
, each time it's a different file but the same error message and context:
/node_modules/axios/lib/helpers/buildURL.jsAssertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file ../src/coroutine, line 134.
error Command failed with signal "SIGABRT".
What's causing this? Tried Googling but as I thought, found literally nothing!
I have just switched from Windows 10 to Mac OS running on the latest Apple M1 Silicon.
This is my first project on the Mac, I installed homebrew and used it to install both node & yarn:
brew install node
brew install yarn
yarn global add @vue/cli
My Vue project was working fine on both Windows and Linux, cloned it onto my Macbook then ran yarn
to install dependencies (business as usual) then tried running the app in development mode:
yarn serve
But I kept getting random "Assertion failed" errors each time I run yarn serve
, each time it's a different file but the same error message and context:
/node_modules/axios/lib/helpers/buildURL.jsAssertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file ../src/coroutine, line 134.
error Command failed with signal "SIGABRT".
What's causing this? Tried Googling but as I thought, found literally nothing!
Share Improve this question edited May 25, 2021 at 11:17 RobC 25k21 gold badges84 silver badges85 bronze badges asked May 24, 2021 at 23:11 Alaa SalahAlaa Salah 1,0674 gold badges13 silver badges28 bronze badges 2- 1 Are you low on memory? – spender Commented May 25, 2021 at 11:20
- @spender Not actually, I am peaking at 2GB of memory usage. – Alaa Salah Commented Jun 1, 2021 at 23:15
1 Answer
Reset to default 9I have managed to fix the issue.
The problem was that one of the dependencies (node-fibers) isn't patible with nodejs v16.0.0 or later.
So the solution was to uninstall node and install NVM to use Node v15.
First had to uninstall Yarn & Node:
brew uninstall yarn
brew uninstall node
Then installed NVM:
curl -o- https://raw.githubusercontent./nvm-sh/nvm/master/install.sh | bash
After that I installed Node v15 (or whatever version you'd prefer):
nvm install v15
本文标签: javascriptRandom quotAssertion failedquot errors on Apple M1 chipStack Overflow
版权声明:本文标题:javascript - Random "Assertion failed" errors on Apple M1 chip - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741885060a2402973.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论