Discussion:
[nodejs] Working Paths
GlanPlon
2018-04-17 13:27:37 UTC
Permalink
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 nodejs+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/fb0f8b4e-7777-4ef3-8291-05bd495f0749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rashik Ansar Shaik
2018-04-17 14:03:05 UTC
Permalink
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
Post by GlanPlon
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/
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
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
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 nodejs+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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.
GlanPlon
2018-04-18 17:31:21 UTC
Permalink
Thanks , it works now
--
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 nodejs+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/2011e9d2-9a89-4e28-ad39-e50950d1fff1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...