[v3.0-beta.7] Cannot create project or update meteor to v3 error: Command failed:
pmogollons opened this issue · comments
Paulo Mogollón commented
Im using a new black project but whenever I try to update or create a new project with v3-beta I get the following error:
Im using ubuntu 23.10
=> Errors while initializing project:
While loading package webapp@2.0.0-beta300.7:
error: Command failed:
/home/wanchope/.meteor/packages/meteor-tool/.3.0.0-beta.7.1zv8ma.ln5jq++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --update-binary
npm ERR! code 1
npm ERR! path
/home/wanchope/.meteor/packages/webapp/.2.0.0-beta300.7.1dgsr1d.gyl0i++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-72xx8j.rvl0k/node_modules/posix
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory
'/home/wanchope/.meteor/packages/webapp/.2.0.0-beta300.7.1dgsr1d.gyl0i++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-72xx8j.rvl0k/node_modules/posix/build'
npm ERR! CXX(target) Release/obj.target/posix/src/posix.o
npm ERR! make: Leaving directory
'/home/wanchope/.meteor/packages/webapp/.2.0.0-beta300.7.1dgsr1d.gyl0i++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-72xx8j.rvl0k/node_modules/posix/build'
npm ERR! In file included from
/home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-local-handle.h:12:0,
npm ERR! from /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-array-buffer.h:12,
npm ERR! from /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8.h:24,
npm ERR! from /home/wanchope/.cache/node-gyp/20.11.1/include/node/node.h:73,
npm ERR! from ../../../../nan/nan.h:62,
npm ERR! from ../src/posix.cc:1:
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:461:49: error: expected ','
before ')' token
npm ERR! static_assert(IsSharedExternalPointerType(Tag));
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:397:3: note: in expansion of
macro 'CHECK_SHARED_EXTERNAL_POINTER_TAGS'
npm ERR! V(kFirstSharedTag, TAG(0)) \
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:465:1: note: in expansion of
macro 'SHARED_EXTERNAL_POINTER_TAGS'
npm ERR! SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS)
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:461:49: error: expected
string-literal before ')' token
npm ERR! static_assert(IsSharedExternalPointerType(Tag));
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:397:3: note: in expansion of
macro 'CHECK_SHARED_EXTERNAL_POINTER_TAGS'
npm ERR! V(kFirstSharedTag, TAG(0)) \
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:465:1: note: in expansion of
macro 'SHARED_EXTERNAL_POINTER_TAGS'
npm ERR! SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS)
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:461:49: error: expected ','
before ')' token
npm ERR! static_assert(IsSharedExternalPointerType(Tag));
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:398:3: note: in expansion of
macro 'CHECK_SHARED_EXTERNAL_POINTER_TAGS'
npm ERR! V(kWaiterQueueNodeTag, TAG(0)) \
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:465:1: note: in expansion of
macro 'SHARED_EXTERNAL_POINTER_TAGS'
npm ERR! SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS)
npm ERR! ^
npm ERR! /home/wanchope/.cache/node-gyp/20.11.1/include/node/v8-internal.h:461:49: error: expected
string-literal before ')' token
npm ERR! static_assert(IsSharedExternalPointerType(Tag));
npm ERR! ^
...
Jan Dvorak commented
I've noticed that POSIX was mentioned in the stack trace. I'm wondering if that is not related to #12940
Denilson commented
It seems to be the same @StorytellerCZ teller mentioned above...
@pmogollons I'm using webapp in a project I'm working on, but currently, it's on version webapp@2.0.0-rc300.0.
Can you update your app with:
meteor update --release 3.0-rc.0
meteor reset
And tell us what happens?