WANTED: pre-release testers for Holonix

Hi there. We’re about to roll out a new version of Holonix, the Holochain developer tools. It makes the stable version of Rust available for zome compilation, and while I hear that it should work, I’d love to test out that theory.

Here’s how to help out

  1. Install Holonix, the Holochain dev tools distro, in your macOS, Linux, or Windows/WSL2 shell using this command (note: this won’t overwrite your distro installed from https://holochain.love):
    nix-shell https://github.com/holochain/holonix/archive/2020-08-28-pin-stable-rust.zip
    
  2. Navigate to your preferred Holochain dev directory and scaffold a hApp:
    cd my_holochain_dev_dir
    hc-happ-scaffold https://raw.githubusercontent.com/holochain/RAD-Tools-Phase-2/master/src/setup/type-specs/sample-type-spec.json books/
    
  3. Wait and wait and wait for it to scaffold the hApp. When it’s done, if there are no compilation errors, run the hApp
    cd books
    npm start
    
  4. Report any errors or problems on this thread!

Thanks so much, folks :heart:

@guillemcordoba @hedayat @pospi @Connoropolous @ddd-mtl I know you like advance warning of upcoming holonix releases too.

2 Likes

@pauldaoust I could run all the steps and it is working pretty nice.
That is a great job. clean and well-design from my view, can be a good starting point for even beginners to Holochain.

Covering more scenarios like validating links with some solid examples can make it even better.

Thanks a lot for this tool.

@pauldaoust it compiled and ran. It didn’t take that long to compile. :wink:

However, I did see these errors during build, pasted here. I hope you find this helpful! :heart:

edit: this is on MacOS if that’s relevant

Compile errors
`> fsevents@1.2.12 install /Users/jim/ruststuff/books/happ/ui-src/node_modules/jest-haste-map/node_modules/fsevents
> node-gyp rebuild

Traceback (most recent call last):
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    options.duplicate_basename_check)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load
    params['parallel'], params['root_targets'])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2779, in Load
    variables, includes, depth, check, True)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 417, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1270, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1149, in ProcessConditionsInDict
    variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1311, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1315, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 914, in ExpandVariables
    sys.stderr.write(p_stderr)
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/bin/node" "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jim/ruststuff/books/happ/ui-src/node_modules/jest-haste-map/node_modules/fsevents
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 

> fsevents@1.2.12 install /Users/jim/ruststuff/books/happ/ui-src/node_modules/watchpack/node_modules/fsevents
> node-gyp rebuild

Traceback (most recent call last):
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    options.duplicate_basename_check)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load
    params['parallel'], params['root_targets'])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2779, in Load
    variables, includes, depth, check, True)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 417, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1270, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1149, in ProcessConditionsInDict
    variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1311, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1315, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 914, in ExpandVariables
    sys.stderr.write(p_stderr)
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/bin/node" "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jim/ruststuff/books/happ/ui-src/node_modules/watchpack/node_modules/fsevents
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 

> fsevents@1.2.12 install /Users/jim/ruststuff/books/happ/ui-src/node_modules/webpack-dev-server/node_modules/fsevents
> node-gyp rebuild

Traceback (most recent call last):
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    options.duplicate_basename_check)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load
    params['parallel'], params['root_targets'])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2779, in Load
    variables, includes, depth, check, True)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 417, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1270, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1149, in ProcessConditionsInDict
    variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1311, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1315, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 914, in ExpandVariables
    sys.stderr.write(p_stderr)
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/bin/node" "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jim/ruststuff/books/happ/ui-src/node_modules/webpack-dev-server/node_modules/fsevents
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok `

hm, that’s ugly – did it still work anyway? This is poking something in the dark recesses of my memory, something about getting the right build toolchains in place. Maybe Holonix is not doing that for the above package.

If I hadn’t been watching right then, I wouldn’t even have noticed. By the end of the build it was just success messages about the build. I just rebuilt and captured the full console output in case more context is helpful.

No errors launching / running the hApp, and authors, books, and users all seem functional.

Console output
[nix-shell:~/ruststuff]$ hc-happ-scaffold https://raw.githubusercontent.com/holochain/RAD-Tools-Phase-2/master/src/setup/type-specs/sample-type-spec.json books/
/nix/store/ghkf4yilk46iklssm834dbpq621wp4nn-hc-happ-scaffold/bin/hc-happ-scaffold: line 2: https://raw.githubusercontent.com/holochain/RAD-Tools-Phase-2/master/src/setup/type-specs/sample-type-spec.json: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   135  100   135    0     0    463      0 --:--:-- --:--:-- --:--:--   465
100 1337k    0 1337k    0     0  1263k      0 --:--:--  0:00:01 --:--:-- 1263k
RAD-Tools-Phase-2-master/.gitignore
RAD-Tools-Phase-2-master/CHANGELOG.md
RAD-Tools-Phase-2-master/README.md
RAD-Tools-Phase-2-master/config.nix
RAD-Tools-Phase-2-master/default.nix
RAD-Tools-Phase-2-master/package-lock.json
RAD-Tools-Phase-2-master/package.json
RAD-Tools-Phase-2-master/src/
RAD-Tools-Phase-2-master/src/conductor-setup/
RAD-Tools-Phase-2-master/src/conductor-setup/generate-conductor.js
RAD-Tools-Phase-2-master/src/conductor-setup/scripts/
RAD-Tools-Phase-2-master/src/conductor-setup/scripts/generate-conductor.sh
RAD-Tools-Phase-2-master/src/dna-setup/
RAD-Tools-Phase-2-master/src/dna-setup/scripts/
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-dna-shell.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-dna-zomes.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-dna.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-entry-handlers.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-entry-module.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-entry-test.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-entry-validation.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-test-index.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-zome-entries.js
RAD-Tools-Phase-2-master/src/dna-setup/scripts/generate-zome-lib.js
RAD-Tools-Phase-2-master/src/dna-setup/test-template/
RAD-Tools-Phase-2-master/src/dna-setup/test-template/entry-test-template/
RAD-Tools-Phase-2-master/src/dna-setup/test-template/entry-test-template/index.js
RAD-Tools-Phase-2-master/src/dna-setup/test-template/index.js
RAD-Tools-Phase-2-master/src/dna-setup/variables.js
RAD-Tools-Phase-2-master/src/dna-setup/zome-template/
RAD-Tools-Phase-2-master/src/dna-setup/zome-template/entry-template/
RAD-Tools-Phase-2-master/src/dna-setup/zome-template/entry-template/handlers.rs
RAD-Tools-Phase-2-master/src/dna-setup/zome-template/entry-template/mod.rs
RAD-Tools-Phase-2-master/src/dna-setup/zome-template/entry-template/validation.rs
RAD-Tools-Phase-2-master/src/dna-setup/zome-template/lib.rs
RAD-Tools-Phase-2-master/src/happ-template/
RAD-Tools-Phase-2-master/src/happ-template/conductor-config.template.toml
RAD-Tools-Phase-2-master/src/happ-template/config.nix
RAD-Tools-Phase-2-master/src/happ-template/default.nix
RAD-Tools-Phase-2-master/src/happ-template/package.json
RAD-Tools-Phase-2-master/src/happ-template/scripts/
RAD-Tools-Phase-2-master/src/happ-template/scripts/add-agent-to-conductor.js
RAD-Tools-Phase-2-master/src/happ-template/scripts/create-new-agent.js
RAD-Tools-Phase-2-master/src/happ-template/scripts/utils.js
RAD-Tools-Phase-2-master/src/setup/
RAD-Tools-Phase-2-master/src/setup/happ-generate.sh
RAD-Tools-Phase-2-master/src/setup/type-specs/
RAD-Tools-Phase-2-master/src/setup/type-specs/input-schema-ideas.md
RAD-Tools-Phase-2-master/src/setup/type-specs/sample-type-spec-multiple-zomes.json
RAD-Tools-Phase-2-master/src/setup/type-specs/sample-type-spec.json
RAD-Tools-Phase-2-master/src/setup/type-specs/type-spec-description.md
RAD-Tools-Phase-2-master/src/setup/utils.js
RAD-Tools-Phase-2-master/src/ui-setup/
RAD-Tools-Phase-2-master/src/ui-setup/scripts/
RAD-Tools-Phase-2-master/src/ui-setup/scripts/generate-ui.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/render-utils.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderHomePage.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderIndex.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderMockData.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderResolvers.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderSchema.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderTypePage.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderTypePageIntegrationTest.js
RAD-Tools-Phase-2-master/src/ui-setup/scripts/renderTypePageTest.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/.env
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/README.md
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/config/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/config/webpack.config.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/package-lock.json
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/package.json
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/public/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/public/favicon.ico
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/public/holochain-portrait-logo.png
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/public/index.html
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/public/manifest.json
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/public/robots.txt
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/HomePage.css
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/__integration_tests__/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/__integration_tests__/.gitkeep
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/apolloClient.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/holochainClient.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/images/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/images/holochain-portrait-logo.png
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/index.css
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/mock-dnas/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/mock-dnas/mockCallZome.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/mock-dnas/mockData.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/pages/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/pages/type-page.css
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/serviceWorker.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/setupTests.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/utils/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/utils/index.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/utils/integration-testing/
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/src/utils/integration-testing/tryorama-integration.js
RAD-Tools-Phase-2-master/src/ui-setup/ui-template/wait-for-conductor-and-start-ui.js
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   598  100   598    0     0    854      0 --:--:-- --:--:-- --:--:--   853
added 50 packages from 43 contributors and audited 50 packages in 1.239s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

> holochain-rad-tools-phase-2@0.1.0 happ:generate /Users/jim/ruststuff/books
> src/setup/happ-generate.sh "./src/setup/type-specs/type-spec.json"


> holochain-rad-tools-phase-2@0.1.0 happ:remove /Users/jim/ruststuff/books
> npm run hc:clean-storage && rm -rf happ


> holochain-rad-tools-phase-2@0.1.0 hc:clean-storage /Users/jim/ruststuff/books
> rm -rf ./happ/.holochain/holo


> holochain-rad-tools-phase-2@0.1.0 ui:generate /Users/jim/ruststuff/books
> node src/ui-setup/scripts/generate-ui "./src/setup/type-specs/type-spec.json"


  UI Generation Complete 


> holochain-rad-tools-phase-2@0.1.0 hc:generate-dna /Users/jim/ruststuff/books
> node src/dna-setup/scripts/generate-dna "./src/setup/type-specs/type-spec.json"


 Finished creating DNA Shell 

 Finished creating Author Entry

 Finished creating Book Entry

 Finished creating User Entry

 Finished creating Zome Zome

 DNA Generation Complete 


> holochain-rad-tools-phase-2@0.1.0 happ:install /Users/jim/ruststuff/books
> cd ./happ/ui-src && npm i && cd .. && npm i 

npm WARN deprecated sprintf@0.1.5: The sprintf package is deprecated in favor of sprintf-js.

> fsevents@1.2.12 install /Users/jim/ruststuff/books/happ/ui-src/node_modules/jest-haste-map/node_modules/fsevents
> node-gyp rebuild

Traceback (most recent call last):
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    options.duplicate_basename_check)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load
    params['parallel'], params['root_targets'])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2779, in Load
    variables, includes, depth, check, True)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 417, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1270, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1149, in ProcessConditionsInDict
    variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1311, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1315, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 914, in ExpandVariables
    sys.stderr.write(p_stderr)
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/bin/node" "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jim/ruststuff/books/happ/ui-src/node_modules/jest-haste-map/node_modules/fsevents
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 

> fsevents@1.2.12 install /Users/jim/ruststuff/books/happ/ui-src/node_modules/watchpack/node_modules/fsevents
> node-gyp rebuild

Traceback (most recent call last):
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    options.duplicate_basename_check)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load
    params['parallel'], params['root_targets'])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2779, in Load
    variables, includes, depth, check, True)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 417, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1270, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1149, in ProcessConditionsInDict
    variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1311, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1315, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 914, in ExpandVariables
    sys.stderr.write(p_stderr)
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/bin/node" "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jim/ruststuff/books/happ/ui-src/node_modules/watchpack/node_modules/fsevents
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 

> fsevents@1.2.12 install /Users/jim/ruststuff/books/happ/ui-src/node_modules/webpack-dev-server/node_modules/fsevents
> node-gyp rebuild

Traceback (most recent call last):
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main
    return gyp_main(args)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
    options.duplicate_basename_check)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load
    params['parallel'], params['root_targets'])
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2779, in Load
    variables, includes, depth, check, True)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 417, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1270, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1149, in ProcessConditionsInDict
    variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1311, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1296, in ProcessVariablesAndConditionsInDict
    build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1315, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, phase, variables, build_file)
  File "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 914, in ExpandVariables
    sys.stderr.write(p_stderr)
TypeError: write() argument must be str, not bytes while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/bin/node" "/nix/store/cfsjfyfwnhl7msq1258xz8ljymh35nxd-nodejs-12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jim/ruststuff/books/happ/ui-src/node_modules/webpack-dev-server/node_modules/fsevents
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 

> core-js@2.6.11 postinstall /Users/jim/ruststuff/books/happ/ui-src/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js-pure@3.6.5 postinstall /Users/jim/ruststuff/books/happ/ui-src/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> core-js@3.6.5 postinstall /Users/jim/ruststuff/books/happ/ui-src/node_modules/react-app-polyfill/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/watchpack/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

added 1764 packages from 873 contributors and audited 1968 packages in 28.938s
found 3500 vulnerabilities (3495 low, 5 high)
  run `npm audit fix` to fix them, or `npm audit` for details
npm notice created a lockfile as package-lock.json. You should commit this file.
added 37 packages from 25 contributors and audited 37 packages in 1.817s
found 0 vulnerabilities


> happ@0.1.0 hc:package /Users/jim/ruststuff/books/happ
> cd dna-src && hc package

> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && echo $CARGO_TARGET_DIR 
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && echo $CARGO_TARGET_DIR "
/Users/jim/target
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && cargo build --release --target=wasm32-unknown-unknown --target-dir=$CARGO_TARGET_DIR
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && cargo build --release --target=wasm32-unknown-unknown --target-dir=$CARGO_TARGET_DIR"
    Updating crates.io index
    Updating git repository `https://github.com/holochain/holochain-anchors`
  Downloaded syn v1.0.41
   Compiling syn v1.0.41
   Compiling pin-project-internal v0.4.23
   Compiling serde_derive v1.0.104
   Compiling futures-macro v0.3.5
   Compiling pin-project v0.4.23
   Compiling futures-util v0.3.5
   Compiling holochain_json_api v0.0.23
   Compiling lib3h_crypto_api v0.0.42
   Compiling holochain_logging v0.0.7
   Compiling holochain_persistence_api v0.0.18
   Compiling futures-executor v0.3.5
   Compiling futures v0.3.5
   Compiling holochain_core_types v0.0.51-alpha1
   Compiling holochain_wasm_utils v0.0.51-alpha1
   Compiling hdk v0.0.51-alpha1
   Compiling holochain_anchors v0.2.7 (https://github.com/holochain/holochain-anchors?tag=v0.2.7#95f7e6ea)
   Compiling hdk_proc_macros v0.0.51-alpha1
   Compiling zome v0.1.0 (/Users/jim/ruststuff/books/happ/dna-src/zomes/zome/code)
    Finished release [optimized] target(s) in 2m 12s
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-gc $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-gc $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm"
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-opt -Oz --vacuum $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-opt -Oz --vacuum $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm"
(no output file specified, not emitting output)
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm2wat $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm2wat $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat"
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wat2wasm $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wat2wasm $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm"
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && echo $CARGO_TARGET_DIR 
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && echo $CARGO_TARGET_DIR "
/Users/jim/target
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && cargo build --release --target=wasm32-unknown-unknown --target-dir=$CARGO_TARGET_DIR
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && cargo build --release --target=wasm32-unknown-unknown --target-dir=$CARGO_TARGET_DIR"
    Finished release [optimized] target(s) in 0.14s
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-gc $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-gc $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm"
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-opt -Oz --vacuum $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm-opt -Oz --vacuum $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm"
(no output file specified, not emitting output)
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm2wat $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wasm2wat $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat"
> CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wat2wasm $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm
"CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-/tmp/my_first_app/target} && wat2wasm $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wat -o $CARGO_TARGET_DIR/wasm32-unknown-unknown/release/zome.wasm"
Created DNA package file at "/Users/jim/ruststuff/books/happ/dna-src/dist/dna-src.dna.json"
DNA hash: QmSvkdRqbtCzthvdL8hBgaKXh9s4Zrrm9iVSYfExhHxEJD

> holochain-rad-tools-phase-2@0.1.0 hc:generate-conductor /Users/jim/ruststuff/books
> node src/conductor-setup/generate-conductor


Generated new keypair for Agent 1
Added Agent 1 to Conductor

building DNA...
Completed DNA build with hc package
DNA Hash: QmSvkdRqbtCzthvdL8hBgaKXh9s4Zrrm9iVSYfExhHxEJD
Added DNA Instance to Conductor 

Finished generating Conductor


   ╭────────────────────────────────────────────────────────────────╮
   │                                                                │
   │      New minor version of npm available! 6.12.0 -> 6.14.8      │
   │   Changelog: https://github.com/npm/cli/releases/tag/v6.14.8   │
   │               Run npm install -g npm to update!                │
   │                                                                │
   ╰────────────────────────────────────────────────────────────────╯

audited 37 packages in 0.526s
found 0 vulnerabilities


[nix-shell:~/ruststuff]$
1 Like

Thanks for the details. Worth investigating. (Also, nice to see you around here these days!)

1 Like