You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After changing the build scripts and the submodule paths the build script is not syncing up the submodules before updating the submodules, which will lead to unexpected behavior.
The script will work on new clone but anyone who has cloned the repo before will not be able to build
We should run the git submodule sync before
Please provide the exception or error you saw
npm run build
> @atala/[email protected] build
> npm run externals:update && rm -rf build && npm run build:browser && npm run build:node && npm run types
> @atala/[email protected] externals:update
> ./externals/run.sh -x update
Updating submodules
fatal: Unable to find refs/remotes/origin/feature/wasm revision in submodule path 'externals/anoncreds'
Build AnonCreds
Error: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
Caused by: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
mv: rename pkg to /Users/io/iog/repos/atala-prism-wallet-sdk-ts/externals/generated/anoncreds-wasm-browser: No such file or directory
Error: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
Caused by: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
mv: rename pkg to /Users/io/iog/repos/atala-prism-wallet-sdk-ts/externals/generated/anoncreds-wasm-node: No such file or directory
./externals/run.sh: line 66: cd: /Users/io/iog/repos/atala-prism-wallet-sdk-ts/externals/generated/anoncreds-wasm-browser: No such file or directory
sed: 1: "./anoncreds.js": invalid command code .
Build DIDComm
./externals/run.sh: line 34: cd: /Users/io/iog/repos/atala-prism-wallet-sdk-ts/externals/didcomm/wasm: No such file or directory
Error: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
Caused by: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
Error: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
Caused by: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
./externals/run.sh: line 41: cd: /Users/io/iog/repos/atala-prism-wallet-sdk-ts/externals/generated/didcomm-wasm-browser: No such file or directory
sed: 1: "didcomm_js.js": extra characters at the end of d command
> @atala/[email protected] build:browser
> rollup -c rollup/rollup.browser.mjs
### Please provide the environment you discovered this bug in
_No response_
### Anything else?
_No response_
The text was updated successfully, but these errors were encountered:
Is this a regression?
No
Description
After changing the build scripts and the submodule paths the build script is not syncing up the submodules before updating the submodules, which will lead to unexpected behavior.
The script will work on new clone but anyone who has cloned the repo before will not be able to build
We should run the
git submodule sync
beforePlease provide the exception or error you saw
The text was updated successfully, but these errors were encountered: