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
Add a ment  | 

1 Answer 1

Reset to default 9

I 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