What are the steps after runing `new`
See original GitHub issueHi, currently I’m getting error of ‘no such file or directory’ when trying to import HttpClient from ‘aurelia-fetch-client’
code:
import {HttpClient} from 'aurelia-fetch-client'
...
error:
Error: ENOENT: no such file or directory, open '...\aurelinew\src\aurelia-fetch-client.js'
Do I need to install or configure anything or what am I doing wrong here? I run au run
immediately after finished and don’t use any plugins
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
10 Tips for Building a Better Postrun Recovery Plan
Gentle movement like a casual 20 to 30 minute walk, light stretching, or yoga on the day after a hard run can help...
Read more >How to Start Running Again After a Break - Verywell Fit
Be conservative with your running schedule. Don't run two days in a row when you're first starting out. Take an active rest day...
Read more >Getting Back Into Running Is Easier Than You Think
Many physical therapists and running experts even recommend strength training a few weeks before returning to running to build up muscle ...
Read more >Follow These 6 Recovery Tips After Running. Nike.com
Evidence-Based Ways to Recover After a Run · 1.Rehydrate and Replenish · 2.Carb Up · 3.Foam Roll · 4.Stretch It Out · 5.Sleep...
Read more >6 Steps to Start Running (and Keep Running)
6 Steps to Start Running (and Keep Running) · 1. Start with Run-Walk Intervals · 2. Keep Your Effort Easy · 3. Build...
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
First you need to
npm install aurelia-fetch-client
. After that, you need to go into theaurelia_project/aurelia.json
file and add the following to the dependencies section:That should do it for you. In the future we’ll have cli commands for importing libraries into a project so you won’t need to edit the project file.
here’s an excellent post on adding the fetch client to a CLI project. If you search for “aurelia fetch client cli” in Google, it should be the first one that comes up – just in case you forget to bookmark it. Hope that helps! i did the same thing a few days ago, let me know if you run into any issues.