-
Notifications
You must be signed in to change notification settings - Fork 111
Postinstall error prevents use of edition-node-gulp (v1.3.1) as a dependency #77
Comments
same error |
I am also getting the same error. `~/courseraAlgorithms $ node courseraTestCode.js Error: Cannot find module '/Users/Hyacinth/courseraAlgorithms/courseraTestCode.js' I have uninstalled node. Reinstalled it. |
@Karla-Isabel-Sandoval what does your output have to do with Pattern Lab Node or this edition? I am not understanding. |
@bmuenzenmeyer i'm getting a very similar error message to @teehemkay's and I figured this would be a good thread to watch in case there's a solution and or possible feedback . |
ok @Karla-Isabel-Sandoval I was just confused because nowhere does your stack trace mention patternlab. is it part of coursera work? (cool!) |
Just to clarify - this isn't supposed to be working right now. For the time being, the only way to use Pattern Lab Node Editions is as standalone projects. You can still download the package or clone the repo and run |
@teehemkay @mremergo @Karla-Isabel-Sandoval feel free to re-try. Don't know if it will work perfectly without changing your package.json's patternlab-node entry to |
Thanks for the update and sorry for the late response... I tried a fresh install per the instructions on the README
I still get a failure (no throw though) with the following message.
Looking at the code in var node_modules_path = path.join(process.cwd(), 'node_modules');
var npm_modules = fs.readdirSync(node_modules_path)... there seem to be an incorrect assumption that there will be a OTHO, I don't know if it's related but I'm not sure I understand what you mean by
I don't have |
I am using Pattern Lab Node- Gulp Edition
v1.3.0
and 'v1.3.1' onMac|Linux
.Expected Behavior
Running
cd install/location/ npm install eedition-node-gulp
should install
eedition-node-gulp
as a dependencyActual Behavior
Instead I get the following error message:
Steps to Reproduce
cd install/location/ npm install eedition-node-gulp
The error seems to be that node is looking for the patternlab-node package in the node_modules subdirectory under edition-node-gulp instead of looking in the my project node_modules subdirectory (which contains both the patternlab-node and edition-node-gulp packages)
The text was updated successfully, but these errors were encountered: