Getting Command "link-caa" not found when setting up local dev environment
See original GitHub issueDescribe the bug Getting this error when running npm run setup-dev-win
error Command "link-caa" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! amplify-cli@0.1.0 setup-dev-win: `yarn dev-build && yarn link-win && yarn link-caa`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the amplify-cli@0.1.0 setup-dev-win script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Amplify CLI Version amplify-cli master branch
To Reproduce yarn config set workspaces-experimental true npm run setup-dev-win
Expected behavior Should finish without errors
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10
- Node Version. v12.16.3
Additional context Modifying package.json and updating setup-dev-win with line below fixes the issue
"setup-dev-win": "lerna exec -- del /f package-lock.json && lerna bootstrap && cd packages/amplify-cli && del /f package-lock.json && npm link && cd ../.. && lerna run build",
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Set up a local development environment - Drupal
Most of the steps needed are command-line commands. Press Ctrl-Alt-T to open the terminal to use them. The advantage is that you can...
Read more >Getting started with local development - HubSpot Developers
1. Create a working directory ... Create a folder for your local project. For example, run mkdir local-cms-dev in the command line, which...
Read more >Set up a local development environment | Dynamics 365
After Visual Studio tools are installed, open a Command Prompt window, and run the command where msbuild . If msbuild.exe isn't found, run...
Read more >Setting up a Node development environment - MDN Web Docs
Know how to open a terminal / command line. Know how to install software packages on your development computer's operating system. Objective: To ......
Read more >Setting up your development environment
In this tutorial, you'll set up a local development environment for your computer. You can use the environment to: Build and test Zendesk...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nikhname link-bin seems designed to create amplify-dev.cmd only so link-aa-win will overwrite link-win.
We can make link-bin.js accept another parameter for the command name like the following:
In package.json
In link-bin.js
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.