koopjs / FeatureServer

An open source Geoservices Implementation (deprecated)
https://geoservices.github.io
Other
104 stars 32 forks source link

Cannot run koop now #105

Closed jkerr5 closed 6 years ago

jkerr5 commented 6 years ago

When I install from scratch and try to run a koop provider, I now get the following stack trace

module.js:557
    throw err;
    ^

Error: Cannot find module 'featureserver'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/projects/koop-sample-app/node_modules/koop-output-geoservices/index.js:1:83)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)

This happens for both the MarkLogic provider I am working on as well as the koop-sample-app. The featureserver directory is there but there is no dist folder after running npm install.

jkerr5 commented 6 years ago

I can get things to run again by setting an explicit dependency on featureserver 2.11.1.

rgwozdz commented 6 years ago

Patch on the way. Sorry, it got npm published without a compile.

rgwozdz commented 6 years ago

Just published a patch (v2.12.1). This time, compiled, with the result dist directory. You can upgrade with yarn upgrade.

jkerr5 commented 6 years ago

Thanks. I'll give it a try.

On Thu, May 3, 2018 at 9:52 PM Rich Gwozdz notifications@github.com wrote:

Just published a patch (v2.12.1). This time, compiled, with the result dist directory. You can upgrade with yarn upgrade.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/koopjs/FeatureServer/issues/105#issuecomment-386487220, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP8AmFFbkCtJK0wtd2NwGxhkSl5AABBks5tu7RhgaJpZM4Tx_SN .

jkerr5 commented 6 years ago

Looks good