I got a new MacBook Air. The tools [that depend on npm, so, um, in a modern environment, everything] are not ready for you.

You're not going to find prebuilt binaries.

node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v88-darwin-arm64.tar.gz 

node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.4 and node@15.2.1 (node-v88 ABI, unknown) (falling back to source compile with node-gyp) 

And you're not going to be able to build from source.

In file included from ../fsevents.cc:82:

../src/constants.cc:93:11: error: no matching member function for call to 'Set'

  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapped").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagEventIdsWrapped));

  ~~~~~~~~^~~

/Users/SomeDev/Library/Caches/node-gyp/15.2.1/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided

  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,

                                    ^

/Users/SomeDev/Library/Caches/node-gyp/15.2.1/include/node/v8.h:3719:37: note: candidate function not viable: requires 3 arguments, but 2 were provided

  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,

                                    ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

2 warnings and 20 errors generated.


The issues with nvm (you can only install the latest version of node) should have been a good heads up. This is not going to be pretty.

/sigh

So hack away at iOS, but don't expect to do your normal macOS web work any time soon.

Labels: , , ,