How to build Botframework-WebChat v4 - botframework

Sorry for asking this, but how can i build the botframework-webchat v4.5.2? I ran 'npm run bootstrap' and 'npm run build'. Both commands exited successfully, but i can't find the webchat.js file.

You need to run npm run build:sample when you are first getting started. Then the normal build and watch commands should build the webchat.js files from then on. Not sure if this is documented anywhere.
npm install
npm run bootstrap
npm run build:sample
npm run build
To run the test harness run npm run start:docker and wait for the command to finish - it should take awhile for docker container to build. Then in another terminal run npm test.
Hope this helps!

Related

Laravel runs dev assets nonmatter what on production server after I ran npm run dev accidentally

I ran npm run dev on the server with Laravel 9 using Vite and Tailwind. Now when I run npm run build it is still trying to load the css and javascript files from a domain 127.0.0.1. I can not get it back to reading the manifest.json in the build folder and loading those files.
npm run build runs without any errors,
however the npm run dev was throwing errors and I killed the process and double cheked using ps aux, and pkill commands.
I am lost.
nvm, for some reason the command
pkill npm
does not work I had to use
kill -9 [process-id]
and it worked.

why 'npm run watch' not working correctly?

I have weird problem :
I am working on Laravel/Vue project and when I run npm run watch it run correctly and it do compile stuff when i save. the problem is after ~3min when i save it do run as it did compile stuff but nothing changed on the browser.
The solution found is that i have to run npm run watch or npm run dev every time.
does anybody have a solution for that ?
hope you can help.

Percy - Cypress - Error: Could not find browser revision 756035. Run "npm install" or "yarn install" to download a browser binary

Im trying to set up a simple visual test with cypress and Percy.
Following the tutorial I installed percy as part of my cypress package, however when I attempt to run.
npx percy exec -- cypress run. I am met with the message:
Error: Could not find browser revision 756035. Run "npm install" or "yarn install" to download a browser binary.
Anyone else had this issue?
May be worth noting, when I run npx cypress run, the tests run as expected.
Something went wrong with npm install process, most likely the decompress failed which does not return a error.
Easiest way is to remove node_modules and install again.

It's possible auto load or livereload npm run dev

I want to know if exist some way to live reload or autorun the npm run dev command without type in the shell npm run dev
When i use VueComponents in Laravel with Webpack Mix, for every change in code i need run npm run dev and that proccess is delayed a lot
In the past, i did use ionic, and when i had saved a change the pack is live reload and had build without type nothing in the shell
Thanks!
Try running this command:
npm run watch
or
npm run watch-poll
When you create new component/js file and attach it to Webpack
Mix then you need to run
npm run dev
Real-time monitor the changes and compile them
npm run watch
For production mode run
npm run production
To go back to development mode
npm run development

Trouble Installing IPFS

I am using the instructions given on their site for MacOS- https://ipfs.io/docs/install/#installing-with-ipfs-update
[tutorial][1]
To build demo, clone this repo and run the following command:
$ cd contracts
$ npm install
Running the demo
To run demo, first run testrpc by running:
$ testrpc
Then compile and deploy the solidity contracts:
$ truffle compile
$ truffle migrate
Run an instance of IPFS to enable uploads:
$ ipfs daemon
Finally to build website, run:
$ npm run dev
I reached this last step (npm run dev) and I got an error message saying "npm missing scripts dev"
I am in the contracts directory specified, and installed everything there properly I believe. However, I don't see any dev script in the json package(s) which I believe could be being referenced using the npm run dev command. May this be the problem?
Here are the files wihin the folder contracts-master
app
index.html
javascripts
stylesheets
contracts
**ethpm.json** This one?
img
LICENSE
Lockup.sol
migrations
**package.json** Or this one?
Readme.md
scripts
coverage.sh
coveralls.sh
install.sh
test.sh
truffle.js
Any help / suggestions / learning resources would be appreciated.
Thanks for your time,
Elias
Your error is not because of ipfs. You are running dev mode but error saying that you don't have any scripts dev.If you are deploying smart contracts then you don't need ipfs demon. check package.json
"scripts": {
"dev": "command to run service"
}
Your package.json don't have dev scripts recheck package.json

Resources