Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[I] ➜ yarn start
yarn run v1.21.1
warning package.json: No license field
$ npm run build && near deploy --wasmFile ./contract/res/status_message.wasm
npm WARN lifecycle The node binary used for scripts is /var/folders/3c/zjk2krns25s75x_z2_wdvgg80000gn/T/yarn--1580160108615-0.8711654915114355/node but npm is using /Users/vg/n/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> blank-rust-proj-vg@0.0.1 build /Users/vg/Documents/create-near-app/blank-rust-proj-vg
> cd contract && ./build.sh
Updating crates.io index
Updating git repository `https://github.com/nearprotocol/json`
Downloaded wee_alloc v0.4.5
Downloaded borsh v0.2.10
Downloaded near-bindgen v0.3.10
Downloaded near-bindgen-macros v0.3.10
Downloaded near-vm-logic v0.4.3
Downloaded near-runtime-fees v0.4.3
Downloaded borsh-derive v0.2.10
Downloaded near-bindgen-core v0.3.10
Downloaded near-bindgen-promise v0.3.10
Downloaded near-vm-errors v0.4.3
Downloaded borsh-derive-internal v0.2.10
Downloaded Inflector v0.11.4
Compiling proc-macro2 v1.0.6
Compiling unicode-xid v0.2.0
Compiling memchr v2.2.1
Compiling syn v1.0.5
Compiling lazy_static v1.4.0
Compiling serde v1.0.101
Compiling regex-syntax v0.6.12
Compiling byteorder v1.3.2
Compiling ryu v1.0.2
Compiling near-vm-errors v0.4.3
error[E0463]: can't find crate for `std`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `near-vm-errors`.
warning: build failed, waiting for other jobs to finish...
error: build failed
npm ERR! code ELIFECYCLE
npm ERR! errno 101
npm ERR! blank-rust-proj-vg@0.0.1 build: `cd contract && ./build.sh`
npm ERR! Exit status 101
npm ERR!
npm ERR! Failed at the blank-rust-proj-vg@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vg/.npm/_logs/2020-01-27T21_23_18_724Z-debug.log
error Command failed with exit code 101.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.