Skip to content

Only works when installed globally #194

@tleunen

Description

@tleunen

gatsby only works when installed globally.. tried both gatsby develop and ../node_modules/.bin/gatsby develop after installing the documentation starter kit in a new directory.

The first command works as expected, the second fails.

Failed to require /Users/tleunen/testgatsby/docs/html.jsx
../~/webpack-require/lib/webpackRequireEntrypoint.js
Module not found: Error: Cannot resolve module 'babel' in /Users/tleunen/testgatsby/node_modules/webpack-require/lib

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