Skip to content

Resolve 1.13.0 fails to find bootstrap's package.json #204

@orthur

Description

@orthur

We have faced issues with new version of resolve.

ERROR in ./node_modules/bootstrap-loader/lib/bootstrap.loader.js?extractStyles!./node_modules/bootstrap-loader/no-op.js
Module build failed: Error: Cannot find module '/builds/node_modules/bootstrap/package.json/package.json'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at exports.default (/builds/node_modules/bootstrap-loader/lib/utils/checkBootstrapVersion.js:8:20)
    at Object.module.exports.pitch (/builds/node_modules/bootstrap-loader/lib/bootstrap.loader.js:159:65)
 @ ./node_modules/bootstrap-loader/extractStyles.js 2:0-58
 @ multi whatwg-fetch babel-polyfill ./app.js bootstrap-loader/extractStyles

Note node_modules/bootstrap/package.json/package.json instead of node_modules/bootstrap/package.json
same error as in #157

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions