GithubHelp home page GithubHelp logo

Comments (13)

joshstevens19 avatar joshstevens19 commented on August 22, 2024 1

Will deploy in morning and you can retest @NelsonGaldeman

Thanks @desfero

from momoka.

joshstevens19 avatar joshstevens19 commented on August 22, 2024 1

Yeah sorry been a crazy weekend il deploy this next time I go back on PC! πŸ‘ will put it on here once done

from momoka.

joshstevens19 avatar joshstevens19 commented on August 22, 2024 1

release 1.1.1 let us know it works for you

from momoka.

joshstevens19 avatar joshstevens19 commented on August 22, 2024

Running it using npx works for you?

from momoka.

NelsonGaldeman avatar NelsonGaldeman commented on August 22, 2024

You mean running only-allow with npx? I didn't even have the repo cloned at that time. I actually added only-allow manually but then I got other errors, didn't have time to dig into what the new ones were.

Just cloned the repo and did pnpm install but got more errors:

β”‚ error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-cl
β”‚ gyp info ok 
β”‚ gyp info it worked if it ends with ok
β”‚ gyp info using [email protected]
β”‚ gyp info using [email protected] | darwin | x64
β”‚ gyp info spawn make
β”‚ gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
β”‚   CXX(target) Release/obj.target/node_libcurl/src/node_libcurl.o
β”‚ clang: error: no such file or directory: '/usr/include'
β”‚ make: *** [Release/obj.target/node_libcurl/src/node_libcurl.o] Error 1
β”‚ gyp ERR! build error 
β”‚ gyp ERR! stack Error: `make` failed with exit code: 2
β”‚ gyp ERR! stack     at ChildProcess.onExit (/usr/local/Cellar/pnpm/7.29.1/libexec/dist/node_modules/nod
β”‚ gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
β”‚ gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
β”‚ gyp ERR! System Darwin 22.4.0
β”‚ gyp ERR! command "/usr/local/Cellar/node/19.8.1/bin/node" "/usr/local/Cellar/pnpm/7.29.1/libexec/dist/
β”‚ gyp ERR! cwd /Users/nelson/lens-protocol/momoka/node_modules/.pnpm/[email protected][email protected]/n
β”‚ gyp ERR! node -v v19.8.1
β”‚ gyp ERR! node-gyp -v v9.3.1
β”‚ gyp ERR! not ok 
β”‚ node-pre-gyp ERR! build error 
β”‚ node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/19.8.1/bin/node /usr/local/Ce
β”‚ node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/nelson/lens-protocol/momoka/node_modul
β”‚ node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
β”‚ node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
β”‚ node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
β”‚ node-pre-gyp ERR! System Darwin 22.4.0
β”‚ node-pre-gyp ERR! command "/usr/local/Cellar/node/19.8.1/bin/node" "/Users/nelson/lens-protocol/momoka
β”‚ node-pre-gyp ERR! cwd /Users/nelson/lens-protocol/momoka/node_modules/.pnpm/[email protected]_bluebir
β”‚ node-pre-gyp ERR! node -v v19.8.1
β”‚ node-pre-gyp ERR! node-pre-gyp -v v1.0.10
β”‚ node-pre-gyp ERR! not ok 
β”‚ Failed to execute '/usr/local/Cellar/node/19.8.1/bin/node /usr/local/Cellar/pnpm/7.29.1/libexec/dist/n
└─ Failed in 4.3s at /Users/nelson/lens-protocol/momoka/node_modules/.pnpm/[email protected][email protected]/node_modules/node-libcurl
 ELIFECYCLE  Command failed with exit code 1.

from momoka.

joshstevens19 avatar joshstevens19 commented on August 22, 2024

Not I mean using npx, if you run the commands using npx does it all work or same error?

from momoka.

NelsonGaldeman avatar NelsonGaldeman commented on August 22, 2024

Using npx I get the same error sh: only-allow: command not found.

If I install only-allow manually, I also get the same errors:

➜  /Users/nelson  npx npm  i @lens-protocol/momoka -g
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! CXX(target) Release/obj.target/node_libcurl/src/node_libcurl.o
npm ERR! Failed to execute '/usr/local/Cellar/node/19.8.1/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using [email protected]
npm ERR! node-pre-gyp info using [email protected] | darwin | x64
npm ERR! node-pre-gyp info check checked for "/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding/node_libcurl.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/JCMais/node-libcurl/releases/download/v3.0.0/node_libcurl-v3.0.0-node-v111-darwin-x64-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v3.0.0/node_libcurl-v3.0.0-node-v111-darwin-x64-unknown.tar.gz 
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v111 ABI, unknown) (falling back to source compile with node-gyp) 
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v3.0.0/node_libcurl-v3.0.0-node-v111-darwin-x64-unknown.tar.gz 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.7.9 found at "/usr/local/bin/python3"
npm ERR! gyp info spawn /usr/local/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/nelson/Library/Caches/node-gyp/19.8.1/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/nelson/Library/Caches/node-gyp/19.8.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/nelson/Library/Caches/node-gyp/19.8.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/libcurl.dylib (No such file or directory)
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! clang: error: no such file or directory: '/usr/include'
npm ERR! make: *** [Release/obj.target/node_libcurl/src/node_libcurl.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Darwin 22.4.0
npm ERR! gyp ERR! command "/usr/local/Cellar/node/19.8.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v111"
npm ERR! gyp ERR! cwd /usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl
npm ERR! gyp ERR! node -v v19.8.1
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok 
npm ERR! node-pre-gyp ERR! build error 
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/19.8.1/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl/lib/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm ERR! node-pre-gyp ERR! System Darwin 22.4.0
npm ERR! node-pre-gyp ERR! command "/usr/local/Cellar/node/19.8.1/bin/node" "/usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /usr/local/lib/node_modules/@lens-protocol/momoka/node_modules/node-libcurl
npm ERR! node-pre-gyp ERR! node -v v19.8.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
npm ERR! node-pre-gyp ERR! not ok

from momoka.

desfero avatar desfero commented on August 22, 2024

@joshstevens19 should we remove preinstall script from a published package, as it seems to be causing the problems?
https://github.com/lens-protocol/momoka/blob/master/package.json#LL35C39-L35C39

from momoka.

joshstevens19 avatar joshstevens19 commented on August 22, 2024

@desfero for sure do a PR we merge and deploy

from momoka.

NelsonGaldeman avatar NelsonGaldeman commented on August 22, 2024

Will deploy in morning and you can retest @NelsonGaldeman

Thanks @desfero

It wasn't deployed yet, was it? Checking here: https://www.npmjs.com/package/@lens-protocol/momoka

from momoka.

NelsonGaldeman avatar NelsonGaldeman commented on August 22, 2024

@joshstevens19 it's not failing for only-allow package now so that's good. Still failing though. I will create an error-specific issue to follow up. Thanks

from momoka.

desfero avatar desfero commented on August 22, 2024

Gm @NelsonGaldeman, i can't see any new issue reported so can i assume the problem with running Momoka is now fixed?
If not, would be very happy to help with finding and fixing the issue.

from momoka.

NelsonGaldeman avatar NelsonGaldeman commented on August 22, 2024

Hi @desfero, haven't had time to open an issue. I will do now.

from momoka.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.