Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapped path not found #25

Open
ghost opened this issue Apr 18, 2017 · 3 comments
Open

Mapped path not found #25

ghost opened this issue Apr 18, 2017 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 18, 2017

Hi Louise,

I'm running nodebb v1.4.5, when I build this plugin I get the following warning:-

Mapped path 's3 => /home/bhavya/forum/nodebb/node_modules/nodebb-plugin-s3-uploads-updated/public' not found

If I change the dir path in the plugin.json file to

"s3": "../../public"

The plugin compiles successfully and I get no warning messages. Can you let me know what version of nodebb is s3-uploads designed to run on?

Thanks,
Akshat

@LouiseMcMahon
Copy link
Owner

it should run on the latest version but ive not had much chance to really work on it. Ill add that to my list though.

@ghost
Copy link
Author

ghost commented Apr 22, 2017

Just to clarify my previous point the plugin does run -- in that it compiles and is loaded successfully on the admin panel, just that the mapping of the paths is a bit off. Maybe the plugin location has changed sometime between nodebb versions 1.0.0 and 1.4.5

Is there any way we can determine on what version of nodebb a plugin is supposed to work best by looking at the plugin.json file. Something like package version in package.json

Thanks,
Akshat

@LouiseMcMahon
Copy link
Owner

in package.json there is

"nbbpm": {
    "compatibility": "^1.5.0"
  },

This was pushed to 1.5.0 by some changes made by the node bb devs it should still work on earlier versions aswell though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant