You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to run all node programs by setting in my path ./node_modules/.bin like this in any node project, I have access to installed locally sub commands, all are documented in package.json and we have the same version, the project could be runed without globally and unknown utilities.
Doesn't work for parcel@1 because of setting cwd of spawn to the elm entry file that is in a subdirrectory src/elm and it is obvious that from this subdirectory the elm command could not be found.
By running yarn run parcel src/elm/OneOfTheMain.elm seems good.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just if other one felt in the same trick
I used to run all node programs by setting in my path
./node_modules/.bin
like this in any node project, I have access to installed locally sub commands, all are documented in package.json and we have the same version, the project could be runed without globally and unknown utilities.Doesn't work for parcel@1 because of setting
cwd
ofspawn
to the elm entry file that is in a subdirrectorysrc/elm
and it is obvious that from this subdirectory the elm command could not be found.By running
yarn run parcel src/elm/OneOfTheMain.elm
seems good.Beta Was this translation helpful? Give feedback.
All reactions