Has anyone seen this with Mont Blanc?
# suitecommerce
a
Has anyone seen this with Mont Blanc?
This is running nodist on 4.4.7. Totally clean download of the _Source from dev.
t
Does 0.12.x work? The docs say that should work and I wonder if you’ll get the same error https://developers.suitecommerce.com/section4183926623
k
We use node v0.12.18 with Mont Blanc
k
We use node 4.2.6 with Mont Blanc
a
Same error on 0.12.18. Same error on 4.2.6.
[111249] TypeError: ns_pkg.content[key_to_use].forEach is not a function
k
@ANHE did you create a new development folder, run npm install, etc.?
a
Yep.
I downloaded the Mont Blanc _Sources from the file cabinet. Unzipped it.
I am seeing this in the npm install --global gulp
npm WARN lifecycle The node binary used for scripts is C:\Program Files (x86)\Nodist\bin\node.exe but npm is using C:\Program Files (x86)\Nodist\v-x64\4.2.6\node.exe itself. Use the
--scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
Wondering if that's the problem.
Never seen that before.
k
I remember some issues getting node to work with mont blanc about 6 months to a year after the mont blanc version was released. It was due to the node library versions changing. But, I also recall it was due to sass compiling errors not what you are encountering. Since you are starting with a fresh install and fresh mont blanc zip file, it’s probably a node library version problem.
a
I think so too.
k
I suggest that you look through the SuiteCommerce Developers website back in the 2016 timeframe for an blog entries
There use to be a help doc in SC Developers website related to mont blanc installs but I suspect it may be gone now since they changed the site documentation
I wish I could be more help but I am not a node / npm expert. 😞
a
Thanks for your efforts, though! It is appreciated.
k
Good luck
a
So I pulled down an entirely new version of the source, starting totally clean with 4.2.6. I was able to get the invalid left hand assignment (SA id.84528) and resolve that.
Now it's You may not
@extend
(SA id.50564)... so at least now I'm getting documented errors.
k
I found the article about mont blanc development tools errors: https://developers.suitecommerce.com/section4404434060
Is the problem when you run npm install or gulp?
I see it gulp
What version of gulp are you using?
a
gulp. It was hitting ssp-libraries and having problems.
I think this build may actually work though. 4.2.6 is the winner I guess.
k
make sure your gulp version is at least 3.9.1
a
Welp that seems to have done it. Switching to 4.2.6 and starting completely fresh. Thank yoU!
k
You are welcome. I am glad you got it working. It’s so frustrating when they don’t
a
Definitely. Especially if the particular error is not documented.
@Keith Fetterman Hey, update. All my issues with gulp local were trusting the code provided in a SuiteAnswer were actually valid code samples 😄
There is an @ Mr Goldberg in the main SCA channel describing the issues. Thank you again for your assistance.
k
You are welcome. Steve Goldberg works for NetSuite and has written many of the blog articles on SuiteCommerce Developers website. He is very knowledgeable.
a
Yes sir, he is.