BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Can't build the current build

Open photodesignch opened this issue 9 years ago • 3 comments

Hey guys,

The latest change currently won't make a successful build. "npm run build" command will have exceptions as following ::

tsc && webpack --config webpack.production.config.js

../../src/Chat.tsx(122,9): error TS90010: Type 'Subscription' is not assignable to type 'Subscription'. Two different types with this name exist, but they are unrelated. Property '_parent' is protected but type 'Subscription' is not a class derived from 'Subscription'. ../../src/Chat.tsx(126,9): error TS90010: Type 'Subscription' is not assignable to type 'Subscription'. Two different types with this name exist, but they are unrelated. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] prepublish: tsc && webpack --config webpack.production.config.js npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] prepublish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

photodesignch avatar Jun 21 '17 17:06 photodesignch

Can you please report OS and npm versions

billba avatar Jun 21 '17 17:06 billba

npm : 4.6.1 OS : Windows 10 ENterprise 1607 OS Build : 14393.1198 Node : 6.10.2

photodesignch avatar Jun 21 '17 17:06 photodesignch

can't repro on 3 clean installs. Thanks

danmarshall avatar Jun 21 '17 18:06 danmarshall