Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node/NPM update implications #208

Open
francisrupert opened this issue Jan 31, 2018 · 11 comments
Open

Node/NPM update implications #208

francisrupert opened this issue Jan 31, 2018 · 11 comments

Comments

@francisrupert
Copy link
Contributor

Background

We've managed to update FSA workstations' Node version, and thus can update most dependencies - most especially USWDS (#170).

@francisrupert
Copy link
Contributor Author

@bignamehere,

Let me know what branch you've committed the peer dependencies you were playing around with @arosenblum, as well as what was accomplished.

I'll start to tackle this issue right away.

@bignamehere
Copy link
Contributor

bignamehere commented Jan 31, 2018

@francisrupert

still working on what is breaking the build... we have narrowed down one issue related to an "@" within a URL, and specifically @browserify /acorn5-object-spread.

I will continue to look into it.

@bignamehere
Copy link
Contributor

@francisrupert & @arosenblum

I was able to npm install all dependencies (minus grunt-browserify) and it all went thru without issue.

Trying to downgrade browserify to 4.0.1 to see if that fixes and will continue to investigate.

@bignamehere
Copy link
Contributor

@francisrupert & @arosenblum

I tried working my way thru the package.json file for FSA-Style and trying to find what was attempting to load @browserify/acorn5-object-spread, which is different than acorn5-object-spread that some dependencies reference as well.

I am not having any luck with finding what is trying to pull down this dependency, but believe it is either node-sass, browserify, or detect. But having gone in circles all day long, I could be completely wrong.

My vote is to scuttle the ship and build out a new version of the project with Webpack, eliminating the need for most of these dependencies.

thoughts?

@arosenblum
Copy link
Contributor

Do you have the latest package.json changes in a branch somewhere I can check out and fiddle with?

@francisrupert
Copy link
Contributor Author

@arosenblum,

He hasn't committed a branch for it. I suspect these dependency problems are specific to @bignamehere and his unique station's setup (and the whole downgrading Node he had to do). I don't have any problems installing and building from mine - and I'd guess nor would you.

Go ahead and test it out yourself: clone the repo, npm i from master, and validate my assumption.

-F

@francisrupert
Copy link
Contributor Author

@arosenblum,

Actually, I should amend that: on Thursday I had to bump node-sass from 3.10.1 to 4.7.2 (latest), as 3.10.1 gave me an error along lines of "Your current environment doesn't support Node Sass..."

That error was new after updating my Node/NPM per spa-dev-tools-2.0.0.

@bignamehere
Copy link
Contributor

bignamehere commented Feb 5, 2018

@arosenblum I have it checked in here: hotfix/dep-fail

here is a screenshot of the error I get with this setup:

image

But I indeed have Visual Studio 2008 installed and it runs. ???

@bignamehere
Copy link
Contributor

@francisrupert & @arosenblum

I found this... https://github.com/browserify/detective/blob/v5.0.2/package.json

It references the @ --> (at)browserify/acorn5-object-spread in the package.json file.

There is also a reference to it in this code... "var acorn = require('@browserify/acorn5-object-spread/inject')(require('acorn'));" that is located in the index.js file of detective.

@francisrupert francisrupert added P2 and removed P1 labels Apr 9, 2018
@francisrupert
Copy link
Contributor Author

I'm assuming the point of this issue may be eliminated once the Webpack-oriented issues are complete.

Moving to the Webpack Milestone, though not quite yet closing.

@francisrupert francisrupert modified the milestones: The Fridge, Webpackery Jun 13, 2018
@francisrupert francisrupert removed their assignment Mar 10, 2022
@whatnextjamie
Copy link
Contributor

@bignamehere close this one too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants