Skip to content

Info about adding surge as a dependency or devDependecy #4

@code4cake

Description

@code4cake

Hey there, I see that surge is already added as dependecy on the package.json , but I was trying to use the gulp-surge package, but kept getting the following error:

[09:52:37] Error: spawn /my_path/node_modules/.bin/surge ENOENT
    at exports._errnoException (util.js:1026:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:189:19)
    at onErrorNT (internal/child_process.js:366:16)
    at _combinedTickCallback (internal/process/next_tick.js:102:11)
    at process._tickCallback (internal/process/next_tick.js:161:9)
    at Function.Module.runMain (module.js:607:11)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3

until I installed surge yarn add -D surge to my project. I had already installed surge globally before doing this. Don't know if this is an issue on my side only.

Thanks

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