Closed muescha closed 4 years ago
Looks like you installed the unreleased 0.8 from git (and not npm). In which case, you need to run npm run build
.
thx a lot :)
i need to clone it and then npm run build
instead of direct npm install
?
you'll have to cd
into teh dir and run the build script. The previous install
should be fine.
thx - i have done so far:
git clone https://github.com/stevenvachon/broken-link-checker.git
cd broken-link-checker
npm install
npm run build
blc --version
internal/modules/cjs/loader.js:983
throw err;
^
but this works:
./bin/blc --version
0.8.0
now i have to find out how to put it in the "global npm"
or how i can use it globaly
npm install -g github:stevenvachon/broken-link-checker
cd /path/to/global-npm-packages/broken-link-checker
npm run build
ah - this is also possible. thx a lot :)
PS: as workaround i will use the absolute path to the blc
executable on my local path ...
Describe the bug
Error:
Cannot find module '../lib-cjs/cli'
To Reproduce
installed via:
check version:
Expected behavior
no error
Environment: