I think you have installed the package so you cannot access it from another
directories.

If you want to access from any directory then install it globally using
follinf command
*npm i -g packageName*

Replace packageName with necessary package name

On Tue, Apr 17, 2018, 7:25 PM GlanPlon <[email protected]> wrote:

> Hi
> I installed Nodejs on Windows 10 along with a netcdf file reader package.
> The Nodejs is installed in c:\windows\system32 .
> Everything works well if I open the nodejs session in this directory.
> However if I change the directory the netcdf package is inaccessible by
> the require command.
>
> Any help
> Glan
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/fb0f8b4e-7777-4ef3-8291-05bd495f0749%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/fb0f8b4e-7777-4ef3-8291-05bd495f0749%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAJ4JZz%2BNFLoNeZvsACFkD%3DaJk0HtDmz_xkCQiB4nh50M%2BqBBgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to