-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'compilation' of undefined #200
Comments
Fixed in 5.1.1 turns out awesome-typescript-loader is not so awesome.... as it drops .d.ts files for some reason |
Thanks for the updated version, i hope it works charm |
are you downloading 5.1.1 from npm or are you downloading it form git? When I clone this from git, run yarn install and then yarn run storybook, everything works fine. I think the issue is that you are using npm which is not respecting the yarn.lock file |
I did the same downloaded from npm and did npm install
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Dylan Vorster <[email protected]>
Sent: Thursday, March 22, 2018 12:56:01 AM
To: projectstorm/react-diagrams
Cc: Srikanth Thyagarajan; Author
Subject: Re: [projectstorm/react-diagrams] 'compilation' of undefined (#200)
are you downloading 5.1.1 from npm or are you downloading it form git? When I clone this from git, run yarn install and then yarn run storybook, everything works fine. I think the issue is that you are using npm which is not respecting the yarn.lock file
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#200 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AQW6ysWR4nwMJWHNQcsCl92WUlEwSVZQks5tgqlJgaJpZM4SyZ4H>.
|
I removed the yarn lock and generated npm lock file so that it doesn't impact the ipackqge download, but I guess the issue is in my end, so let me understand what's the issue is and then I'll sure comeback for your suggestion, Thanks Dylan |
Im facing issue while trying to run the application using npm run storybook.,
C:\inetpub\wwwroot\react-diagrams-master\node_modules\webpack\lib\DefinePlugin.js:42
compiler.hooks.compilation.tap(
^
TypeError: Cannot read property 'compilation' of undefined
at DefinePlugin.apply (C:\inetpub\wwwroot\react-diagrams-master\node_modules\webpack\lib\DefinePlugin.js:42:17)
at Compiler.apply (C:\inetpub\wwwroot\react-diagrams-master\node_modules\tapable\lib\Tapable.js:375:16)
at webpack (C:\inetpub\wwwroot\react-diagrams-master\node_modules@storybook\react\node_modules\webpack\lib\webpack.js:33:19)
at exports.default (C:\inetpub\wwwroot\react-diagrams-master\node_modules@storybook\react\dist\server\middleware.js:29:40)
at Object. (C:\inetpub\wwwroot\react-diagrams-master\node_modules@storybook\react\dist\server\index.js:153:34)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (C:\inetpub\wwwroot\react-diagrams-master\node_modules@storybook\react\bin\index.js:3:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
kindly can anyone assist me
The text was updated successfully, but these errors were encountered: