Skip to content

Error: Cannot Find Module Cross-Spawn #429

Closed
@jonasms

Description

@jonasms

Generally what I've done:

What I've done:
*add some .js and .css files in the 'src' directory
*run 'npm start', develop a little bit, things are working
*kill server, go to sleep. Wake up, start server --> error: 'cannot find module cross-spawn'

Activity

gaearon

gaearon commented on Aug 12, 2016

@gaearon
Contributor

This looks like something weird with your npm setup.
Try running npm install in the project directory.

gaearon

gaearon commented on Aug 14, 2016

@gaearon
Contributor

I'm closing because this appears to be an issue with your npm setup, and we can't really fix it. Please try deleting node_modules and re-running npm install.

jonasms

jonasms commented on Aug 17, 2016

@jonasms
Author

Sorry for the slow response!

Running 'npm install' again seems to have fixed it. . .

dnecklesportfolio

dnecklesportfolio commented on Oct 7, 2016

@dnecklesportfolio

Hi Jonas, its weird I have this same issue to but I'm going to look into reinstalling it. thx

jonasms

jonasms commented on Oct 7, 2016

@jonasms
Author

Running "npm i" didn't fix the issue? Make sure you're in the project directory.

dnecklesportfolio

dnecklesportfolio commented on Oct 7, 2016

@dnecklesportfolio

No. I had to delete my node module directory each time i stop the server as
well. which i dont mind
Dwayne Neckles
\Interactive Ad Designer, Front End Developer
Portfolio:dnecklesportfolio.comLinkedIn:
https://www.linkedin.com/in/dnecklesfrontend
Mobile:917 607 5509

On Thu, Oct 6, 2016 9:50 PM, JonasMS notifications@github.com
wrote:
Running "npm i" didn't fix the issue? Make sure you're in the project directory.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

jonasms

jonasms commented on Oct 7, 2016

@jonasms
Author

Odd. Post what fixes it on your end, even if just reinstalling does the trick.

themre

themre commented on Oct 7, 2016

@themre
Contributor
locked and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @gaearon@dnecklesportfolio@jonasms@themre

        Issue actions

          Error: Cannot Find Module Cross-Spawn · Issue #429 · facebook/create-react-app