Skip to content

Running ExamplesΒ #22

@idkjs

Description

@idkjs

Thanks for sharing your project.

I am not able to run this project. After running yarn and yarn build i get the following errors:

➜  requery [master*]yarn
yarn install v1.22.0
[1/4] πŸ”  Resolving packages...
success Already up-to-date.
✨  Done in 0.68s.
➜  requery [master*]yarn build
yarn run v1.22.0
$ sh -c 'NINJA_ANSI_FORCED=1 bsb -make-world'
File "bsconfig.json", line 1
Error: package bs-sqlite not found or built 
- Did you install it?
- If you did, did you run `bsb -make-world`?
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  requery [master*]yarn build
yarn run v1.22.0
$ sh -c 'NINJA_ANSI_FORCED=1 bsb -make-world'
File "bsconfig.json", line 1
Error: package bs-sqlite not found or built 
- Did you install it?
- If you did, did you run `bsb -make-world`?
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  requery [master*]yarn add bs-sqlite
yarn add v1.22.0
[1/4] πŸ”  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] πŸ”—  Linking dependencies...
[4/4] πŸ”¨  Building fresh packages...
[1/2] ⠐ integer
error /Users/prisc_000/Downloads/requery/node_modules/integer: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments: 
Directory: /Users/prisc_000/Downloads/requery/node_modules/integer
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@5.0.5
gyp info using node@13.3.0 | darwin | x64
gyp info find Python using Python version 2.7.16 found at "/usr/local/opt/python@2/bin/python2.7"
gyp info spawn /usr/local/opt/python@2/bin/python2.7
gyp info spawn args [
gyp info spawn args   '/Users/prisc_000/.fnm/node-versions/v13.3.0/installation/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/prisc_000/Downloads/requery/node_modules/integer/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/prisc_000/.fnm/node-versions/v13.3.0/installation/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/prisc_000/Library/Caches/node-gyp/13.3.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/prisc_000/Library/Caches/node-gyp/13.3.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/prisc_000/.fnm/node-versions/v13.3.0/installation/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/prisc_000/Library/Caches/node-gyp/13.3.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/prisc_000/Downloads/requery/node_modules/integer',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/integer/src/integer.o
../src/integer.cpp:329:21: error: no matching constructor for initialization of 'v8::String::Value'
                v8::String::Value utf16(string);
                                  ^     ~~~~~~
/Users/prisc_000/Library/Caches/node-gyp/13.3.0/include/node/v8.h:3210:5: note: candidate constructor not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::String::Value' for 1st argument
    Value(const Value&) = delete;
    ^
/Users/prisc_000/Library/Caches/node-gyp/13.3.0/include/node/v8.h:3203:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    Value(Isolate* isolate, Local<v8::Value> obj);
    ^
1 error generated.
make: *** [Release/obj.target/integer/src/integer.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/prisc_000/.fnm/node-versions/v13.3.0/installation/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:219:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
gyp ERR! System Darwin 19.3.0
gyp ERR! command "/Users/prisc_000/.fnm/node-versions/v13.3.0/installation/bin/node" "/Users/prisc_000/.fnm/node-versions/v13.3.0/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/prisc_000/Downloads/requery/node_modules/integer
gyp ERR! node -v v13.3.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok

➜  requery [master*]

Thanks for any guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions