dfinity / cancan

A scalable video sharing service.
http://sdk.dfinity.org
Apache License 2.0
334 stars 65 forks source link

Cannot find module: 'dfx-generated/CanCan' #37

Open Federico2014 opened 3 years ago

Federico2014 commented 3 years ago

I get errors when running the script: $: ./bootstrap.sh Running bootstrap script... dfx build

cancan@0.0.1 deploy /Users/icp/cancan/cancan npm run start:dfx; dfx deploy

cancan@0.0.1 start:dfx /Users/icp/cancan/cancan dfx start --background || exit 0

dfx is already running. Deploying all canisters. All canisters have already been created. Building canisters... Building frontend... The post-build step failed for canister 'ryjl3-tyaaa-aaaaa-aaaba-cai' with an embedded error: The command '"npm" "run" "build"' failed with exit status 'exit code: 1'. Stdout:

cancan@0.0.1 build /Users/icp/cancan/cancan craco build

Creating an optimized production build... Failed to compile.

./src/utils/canister/actor.ts Cannot find module: 'dfx-generated/CanCan'. Make sure this package is installed.

You can install this package by running: npm install dfx-generated/CanCan.

when run: npm install dfx-generated/CanCan, I get the errors: $ npm install dfx-generated/CanCan npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/dfx-generated/CanCan.git npm ERR! npm ERR! ERROR: Repository not found. npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! npm ERR! exited with error code: 128

ashleyrudland commented 3 years ago

Same here, any update on this?

israel-lpz commented 3 years ago

Same here