We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to configure storybook-react-native with Haul because I want to use Typescript loader. On my Windows machine I end up with this error.
storybook-react-native
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") ^^^^^^^ SyntaxError: missing ) after argument list at createScript (vm.js:80:10)
Run following on the Windows machine storybook start -p 7007 --haul webpack.haul.storybook.js
storybook start -p 7007 --haul webpack.haul.storybook.js
Windows 10
webpack.haul.storybook.js
module.exports = ({ platform }, { module, resolve }) => ({ entry: `./storybook/index.js`, module: { ...module, rules: [ { test: /\.tsx?$/, loader: 'ts-loader', }, ...module.rules, ], }, resolve: { ...resolve, extensions: [ '.ts', '.tsx', `.${platform}.ts`, '.native.ts', `.${platform}.tsx`, '.native.tsx', ...resolve.extensions, ], }, })
The text was updated successfully, but these errors were encountered:
Fix released as 3.3.4
3.3.4
Sorry, something went wrong.
No branches or pull requests
Issue details
I am trying to configure
storybook-react-native
with Haul because I want to use Typescript loader. On my Windows machine I end up with this error.basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") ^^^^^^^ SyntaxError: missing ) after argument list at createScript (vm.js:80:10)
Steps to reproduce
Run following on the Windows machine
storybook start -p 7007 --haul webpack.haul.storybook.js
Please specify which version of Storybook and optionally any affected addons that you're running
Affected platforms
Windows 10
Screenshots / Screencast / Code Snippets (Optional)
webpack.haul.storybook.js
The text was updated successfully, but these errors were encountered: