Comments (6)
So where is npm (what folder) ?
Build doesn't care much about how binaries enter your environment as long as the path is listen in the list you get there.
from atom-build-npm-apm.
from atom-build-npm-apm.
@noseglid I use project-manager
And that project was loaded after Atom starts
If I open Atom with command atom ~/projects/project16
build works
If I open Atom with .desktop file and project was loaded automatically and if I switch projects
from atom-build-npm-apm.
So, having never used nvm
myself I'm guessing it modified the PATH
variable when you switch node version.
It works when you open it from the terminal because the PATH
is set in that case.
It does not work when you "double click an icon", because the environment there does not have the PATH
set properly to your (versioned) npm
.
from atom-build-npm-apm.
@noseglid Do you have any solutions?
from atom-build-npm-apm.
Oh I though it was obvious. You need to make sure that the folder with npm
is in your PATH
in all environments.
from atom-build-npm-apm.
Related Issues (9)
- Problems running npm scripts on Windows platform
- cannot find module npm/bin/npm/npm-cli.js HOT 5
- Install dependencies and devdependencies HOT 5
- editor windows hangs on show targets HOT 1
- Consider a user setting or a different default other than install HOT 6
- Configure path to package.json HOT 3
- Spawned child process inherits process.env.NODE_PATH from Atom HOT 2
- Specify in README that โenginesโ field is needed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-build-npm-apm.