8000 Cannot find module: 'dfx-generated/CanCan' · Issue #37 · dfinity/cancan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot find module: 'dfx-generated/CanCan' #37
Open
@Federico2014

Description

@Federico2014

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0