Skip to content

build-storybook (v3) doesn't work anymore #1203

Closed

Description

In my configuration i inject some loaders into module.rules, it perfectly works with start-storybook. build-storybook v2 also works perfectly: it compile and copy all assets into build dir.
With v3: it doesn't copy assets anymore.

Also in browser i have this issue (node-sass? wtf??):

Uncaught Error: Module build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.5.2
    at module.exports (/Users/dangreen/github/leadcooker2/new-frontend/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/Users/dangreen/github/leadcooker2/new-frontend/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (module.js:569:30)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/dangreen/github/leadcooker2/new-frontend/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at module.exports (/Users/dangreen/github/leadcooker2/new-frontend/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/Users/dangreen/github/leadcooker2/new-frontend/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (module.js:569:30)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/dangreen/github/leadcooker2/new-frontend/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.freeExports (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:73155:7)
    at __webpack_require__ (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:20:30)
    at Object.<anonymous> (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:80504:15)
    at __webpack_require__ (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:20:30)
    at Object.<anonymous> (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:64909:73)
    at Object.defineProperty.value (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:64938:30)
    at __webpack_require__ (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:20:30)
    at Object.<anonymous> (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:80939:18)
    at __webpack_require__ (http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:20:30)
    at http://develop.trigen.pro/leadcooker-ui/static/preview.1a904cf1fa11c8c72bc5.bundle.js:66:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions